Open soumyadipDe opened 2 years ago
Voting for Prioritization
Volunteering to Work on This Issue
I was experiencing some issues with this as well, but after some investigation I noticed that the operation_preferences
argument can be set on both the aws_cloudformation_stack_set_instance
and aws_cloudformation_stack_set
resource types.
On the aws_cloudformation_stack_set_instance
it applies to any modifications to the deployment targets (OUs, accounts, regions)
On the aws_cloudformation_stack_set
it applies to any modifications to the stack (template, parameters, tags)
When applied to both resources types it works for me as expected. Perhaps this is not a bug but just a confusing implementation?
@JorisBoelen-TomTom : to me it is doesn't apply it on the stack set level either. It is like the whole operation_preferences
gets ignored. See my comment on: https://github.com/hashicorp/terraform-provider-aws/issues/30806#issuecomment-1535460672
I believe this is an issue with the AWS UI. After manually adjusting the tolerance count in the UI to 100, repeating the process shows a default of 1 again.
Terraform Core Version
v1.2.4
AWS Provider Version
v4.39.0
Affected Resource(s)
aws_cloudformation_stack_set
Expected Behavior
failure_tolerance_count
orfailure_tolerance_percentage
should be configured in Stackset resources once given as part ofoperation_preferences
.Actual Behavior
failure_tolerance_count
orfailure_tolerance_percentage
is showing 0 in AWS console and stack instances getting cancelled if a region is failed.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Deploying the stackset. It would not respect the failure tolerance value.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No response