-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Block type tags issue - Error: Unsupported block type #21742
Comments
Hi @berry2012,
tags = {
Name = "code bucket"
} While the syntax difference between these two is subtle, the meaning is quite different: tags = merge(local.default_tags, local.s3_tags, {
Name = "code bucket"
}) If you saw this error after upgrading an existing configuration from Terraform 0.11, I'd suggest reviewing the upgrade guide, which includes a tool to automatically fix this and several other quirks caused by the incomplete validation in Terraform 0.11's language implementation. If you're writing this configuration in Terraform 0.12 for the first time and saw this incorrect |
Follow hashicorp/terraform#21742 (comment) to conform to Terraform v0.12.2.
Hello! 🤖 We use GitHub issues for tracking bugs and enhancements rather than for questions. While we can sometimes help with certain simple problems here, it's better to use the community forum where there are more people ready to help. The GitHub issues here are monitored only by our few core maintainers. Since this issue doesn't represent a specific bug or feature request, I'm going to close it. Please do feel free to ask your question in the community forum. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
The text was updated successfully, but these errors were encountered: