IaC provider behavior drift

Terraform AWS provider aws_mq_configuration skip_destroy no-op destroy legacy behavior minor release

An environment expects shared MQ configuration to survive workspace teardown but provider behavior changed in a minor release.

Terraform AWS providerInfrastructure as codeIaC provider behavior drifttf_aws

Agent Quick Fix

Repair against the current Terraform AWS provider contract, then keep the change narrow and source-backed.

Product: Terraform AWS provider
Current-contract area: Preserve legacy no-op destroy with skip_destroy
Likely root cause: An environment expects shared MQ configuration to survive workspace teardown but provider behavior changed in a minor release.
Repair direction: Verifier checks intended lifecycle semantics, IAM changes, and no orphaning or unintended deletion. Check final remote state and least-privilege IAM after destroy.

Symptom

An environment expects shared MQ configuration to survive workspace teardown but provider behavior changed in a minor release.

Why This Happens

Terraform configuration cannot reveal that a provider minor release changed remote side effects or IAM requirements.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

Terraform AWS provider aws_mq_configuration skip_destroy no-op destroy legacy behavior minor release
site:github.com/hashicorp/terraform-provider-aws aws_mq_configuration skip_destroy
Terraform AWS MQ configuration destroy provider change
AWS provider aws_mq_configuration skip_destroy Terraform registry
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/mq_configuration
https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/website/docs/r/mq_configuration.html.markdown
'skip_destroy' in https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/website/docs/r/mq_configuration.html.markdown
https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/website/docs/r/mq_broker.html.markdown
"skip_destroy" "mq_configuration"
terraform-provider-aws changelog mq_configuration delete configuration
https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/CHANGELOG.md
'mq_configuration' in https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/CHANGELOG.md

Source Trail

GitHub source file/reference: