-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Open
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/cloudformationIssues and PRs that pertain to the cloudformation service.Issues and PRs that pertain to the cloudformation service.
Description
Terraform and AWS Provider Version
5.85
Affected Resource(s) or Data Source(s)
aws_cloudformation_stack_instances
Expected Behavior
operation_preferences and timeouts are honored
Actual Behavior
operation_preferences and timeouts are not honored
Relevant Error/Panic Output
Sample Terraform Configuration
resource "aws_cloudformation_stack_set" "my_resource" {
name = "my-resource"
description = "some description"
permission_model = "SERVICE_MANAGED"
capabilities = ["CAPABILITY_NAMED_IAM"]
auto_deployment {
enabled = true
retain_stacks_on_account_removal = false
}
lifecycle {
ignore_changes = [
administration_role_arn
]
}
template_body = file("${path.module}/template.yml")
tags = var.tags
}
resource "aws_cloudformation_stack_instances" "my_resource" {
regions = local.default_region
stack_set_name = aws_cloudformation_stack_set.my_resource.name
deployment_targets {
organizational_unit_ids = local.ous
}
operation_preferences {
concurrency_mode = "SOFT_FAILURE_TOLERANCE"
max_concurrent_percentage = 100
failure_tolerance_percentage = 0
}
timeouts {
create = "12h"
update = "12h"
delete = "12h"
}
}
Steps to Reproduce
When updating a template.yml
terraform detect changes to aws_cloudformation_stack_set
and updates that. But the operation created ignores operation_preferences and timeouts set in aws_cloudformation_stack_instances
Debug Logging
Click to expand log output
GenAI / LLM Assisted Development
n/a
Important Facts and References
No response
Would you like to implement a fix?
No
Metadata
Metadata
Assignees
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/cloudformationIssues and PRs that pertain to the cloudformation service.Issues and PRs that pertain to the cloudformation service.