git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

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

Open arianvp opened this issue 10 months ago • 1 comments

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 avatar Dec 19 '24 11:12 arianvp