Closed ossm1db closed 2 years ago
zone is a list type. As per below issues https://github.com/terraform-providers/terraform-provider-null/issues/18 https://github.com/terraform-providers/terraform-provider-spotinst/issues/62#issuecomment-506493618
We can't use output from null_resource to set to zone(list)
It may work in Terraform v0.12 by using dynamic blocks
Thanks for the quick response. I was thinking that one of two solutions might be possible:
ibmcloud ks zone add vpc-classic
closing the issue due to no recent activity. Please feel free to open new issue
Terraform Version
Terraform v0.11.14
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
No errors.
Actual Behavior
Error: ibm_container_vpc_cluster.cluster: zones: should be a list
Steps to Reproduce
terraform plan
Important Factoids
Is the
zones
field a child block and not a standard attribute? See link below.References