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
Nested blocks are broken with terraform-provider-aws v2.7.0 #9
Comments
It may be related to hashicorp/terraform-provider-aws#8187 |
Fixes #9 Terraform v0.12 introduced a new `SchemaConfigModeAttr` feature. Most attributes have simple types, but if `SchemaConfigModeAttr` is set for an attribute, it is syntactically NestedBlock but semantically interpreted as an Attribute. In this case, Attribute has a complex data type. It is reasonable to use the same notation as the type annotation in HCL2 to represent the correct data type. However, it seems that HCL2 has a type annotation parser but no writer, so we implement it by ourselves. See also: - #9 - hashicorp/terraform-provider-aws#8187 - hashicorp/terraform#20626 - https://www.terraform.io/docs/configuration/types.html This is a breaking change caused by the upstream, so I think it is impossible to maintain tfschema backward compatibility. I tried to be as consistent as possible.
I confirmed that this is caused by a breaking change of Terraform v0.12. If |
This may be caused by a change for Terraform v0.12 support in the provider.
The text was updated successfully, but these errors were encountered: