Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtackaberry/terragrunt-dep-bug
https://github.com/jtackaberry/terragrunt-dep-bug
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jtackaberry/terragrunt-dep-bug
- Owner: jtackaberry
- Created: 2024-04-04T14:34:56.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-04T16:06:26.000Z (9 months ago)
- Last Synced: 2024-04-05T16:32:29.195Z (9 months ago)
- Language: HCL
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Test case for [#3036](https://github.com/gruntwork-io/terragrunt/issues/3036).
Use Terragrunt 0.54.16 or later and run:
```
# Clone the example
git clone https://github.com/jtackaberry/terragrunt-dep-bug.git# Apply mock tfstate module -- this is fine
cd terragrunt-dep-bug/tfstate
terragrunt apply# Apply mock vpc module -- this is fine
cd ../vpc
terragrunt apply# Apply mock eks module -- error occurs here
cd ../eks
terragrunt apply
```which should result in:
```
ERRO[0000] Error: Unknown variableERRO[0000] on /.../terragrunt-dep-bug/terragrunt.hcl line 12, in remote_state:
ERRO[0000] 12: path = "${dependency.tfstate.outputs.prefix}-${path_relative_to_include()}.tfstate"
ERRO[0000]
ERRO[0000] There is no variable named "dependency".ERRO[0000] Could not convert include to the execution ctx to evaluate additional locals in file /.../terragrunt-dep-bug/vpc/terragrunt.hcl prefix=[/.../terragrunt-dep-bug/vpc]
```