Open andrejskuidins opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
I can confirm this is indeed the case with 4.65.0, although I am not convinced this is related to the AWS provider or Terraform itself. I can see the settings in the Terraform plan and turning on the debug log, I can see the settings are sent with the API request.
I have the same experience with failure_tolerance_percentage
and max_concurrent_percentage
, both are set to a non-zero number but they are both zero after terraform apply
.
My snippet:
resource "aws_cloudformation_stack_set" "resource_explorer" {
name = "xzy"
permission_model = "SERVICE_MANAGED"
call_as = "DELEGATED_ADMIN"
auto_deployment {
enabled = true
retain_stacks_on_account_removal = false
}
template_body = file("${path.module}/template.yaml")
operation_preferences {
failure_tolerance_percentage = 99
max_concurrent_percentage = 50
region_concurrency_type = "PARALLEL"
}
}
I did a lot of testing. I posted my findings here: https://github.com/hashicorp/terraform-provider-aws/issues/33170#issuecomment-1780259530
Terraform Core Version
1.3.4
AWS Provider Version
4.60.0
Affected Resource(s)
aws_cloudformation_stack_set aws_cloudformation_stack_set_instance
Expected Behavior
In AWS console CloudFormation Stack instances are being executed in parallel
Actual Behavior
In AWS console CloudFormation Stack instances are being executed sequentially
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Following code i being applied:
Steps to Reproduce
terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None