Skip to content

terraform-validate doesn't work when modules are used. #540

@arianvp

Description

@arianvp

It always errors with:

+ /nix/store/jyxapkyfpi53p30x9kg4aqj66195bj43-opentofu-1.8.4/bin/tofu validate examples/nix-store-path
╷
│ Error: Module not installed
│ 
│   on examples/nix-store-path/main.tf line 36:
│   36: module "nixos_deploy_document" {
│ 
│ This module is not yet installed. Run "tofu init" to install all modules required by this configuration.
╵
+ read dir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions