Open sarasensible opened 4 months ago
I believe this bug has been introduced by #109 . We are facing the same issue where we try to initiate a new environment. My guess is the VPC and subnets aren't created yet so the values in the for_each can't be determined until apply.
Describe the bug Similar to https://github.com/grem11n/terraform-aws-vpc-peering/issues/102 , a plan using 7.0.0 of the module results in a for_each invalid argument error. I am using the single account multi-region module.
Terraform version: What Terraform version do you use? 1.7.5
Module version: What module version do you use? 7.0.0
Error message:
Terraform code that produces the error:
Additional context Workaround is to downgrade to 6.0.0