Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arianvp opened this issue Dec 19, 2024 · 0 comments · May be fixed by #541
Open

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

arianvp opened this issue Dec 19, 2024 · 0 comments · May be fixed by #541

Comments

@arianvp
Copy link

arianvp commented Dec 19, 2024

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
@arianvp arianvp linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant