Closed ianaya89 closed 2 months ago
Hey there @ianaya89 👋🏻, thanks for reporting the issue and sorry you're running into trouble here.
I'm going to close this issue as the error is coming from HCL (and it's underlying type system), so I believe the Terraform core issue tracker or HCL issue tracker would be a better place to discuss this behavior, as there is nothing terraform-plugin-framework
can do about this error:
An additional note, in your example, node_groups
is a set
type, where each element is identified by the value itself, rather than an index like a list
, so your expected behavior of printing a numerical index isn't something that HCL/Terraform could achieve.
@austinvalle Thanks for taking a look!
Module version
Relevant provider source code
Terraform Configuration Files
Debug Output
Expected Behavior
This validation message:
Actual Behavior
This validation message:
Steps to Reproduce
terraform init
terraform plan