Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.
Terraform CLI and Terraform AWS Cloud Control Provider Version
Terraform v1.7.3
on darwin_arm64
+ provider registry.terraform.io/hashicorp/awscc v0.71.0
State and attributes are stored accordingly based on the stacksets deployed.
Actual Behavior
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to awscc_cloudformation_stack_set.stackset, provider "provider[\"registry.terraform.io/hashicorp/awscc\"]" produced an unexpected new value:
│ .stack_instances_group: was
│ cty.SetVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"deployment_targets":cty.ObjectVal(map[string]cty.Value{"account_filter_type":cty.UnknownVal(cty.String),
│ "accounts":cty.UnknownVal(cty.Set(cty.String)), "accounts_url":cty.UnknownVal(cty.String), "organizational_unit_ids":cty.SetVal([]cty.Value{cty.StringVal("ou-u7vc-ex6e8h34")})}),
│ "parameter_overrides":cty.UnknownVal(cty.Set(cty.Object(map[string]cty.Type{"parameter_key":cty.String, "parameter_value":cty.String}))),
│ "regions":cty.SetVal([]cty.Value{cty.StringVal("us-east-1")})})}), but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/ericofusco/8fc48b6da09f7e0ee5b1f146e2e015d1
Expected Behavior
State and attributes are stored accordingly based on the stacksets deployed.
Actual Behavior
Steps to Reproduce
terraform apply
References