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

Documentation: Multiple Includes example syntax I think is incorrect. #3132

Closed
DevopsMercenary opened this issue May 10, 2024 · 0 comments · Fixed by #3136
Closed

Documentation: Multiple Includes example syntax I think is incorrect. #3132

DevopsMercenary opened this issue May 10, 2024 · 0 comments · Fixed by #3136
Labels
bug Something isn't working

Comments

@DevopsMercenary
Copy link

Describe the bug

I was trying to replicate the example that is documented here...

Steps To Reproduce

There is a reference to a /region.hcl file but there is no details as to what the contents are. I tried a standard tfvars type format...

region = "production"

but I got this error...

]$ tg init
ERRO[0000] Error: Unsupported argument

ERRO[0000]   on /Users/greg/workspace/terragrunt/multiple-includes-example/region.hcl line 1:
ERRO[0000]    1: region = "production"
ERRO[0000]
ERRO[0000] An argument named "region" is not expected here.

ERRO[0000] /Users/greg/workspace/terragrunt/multiple-includes-example/region.hcl:1,1-7: Unsupported argument; An argument named "region" is not expected here.
ERRO[0000] Unable to determine underlying exit code, so Terragrunt will exit with error code 1

Shouldn't the syntax use a 'include.locals" or a "include.inputs". ?

@DevopsMercenary DevopsMercenary added the bug Something isn't working label May 10, 2024
@denis256 denis256 mentioned this issue May 14, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant