hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.83k stars 9.18k forks source link

[Bug]: r/aws_cloudformation_stack_set_instance: Resource deletion ignores operation_preferences #38881

Open theipster opened 2 months ago

theipster commented 2 months ago

Terraform Core Version

1.9.4

AWS Provider Version

5.62.0

Affected Resource(s)

Expected Behavior

Actual Behavior

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "aws_cloudformation_stack_set_instance" "this" {
  stack_set_name = "MyStackSet"

  ...

  operation_preferences {
    max_concurrent_percentage = 100
  }
}

Steps to Reproduce

Alternatively, this can be reproduced using terraform test as appropriate.

Debug Output

No response

Panic Output

No response

Important Factoids

Just a thought: theoretically, there could be a scenario where separate operation_preferences configurations are required between each of the resource create/update/delete operations, e.g. have separate create_operation_preferences, update_operation_preferences and delete_operation_preferences. However, this is probably a rare scenario and the additional implementation complexity would be overkill.

References

Would you like to implement a fix?

Yes

github-actions[bot] commented 2 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue