# Terraform AWS provider aws_mq_configuration destroy deletes remote configuration older provider left behind

Status: search-observed
Product: Terraform AWS provider
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/terraform-aws-provider-aws-mq-configuration-destroy-deletes-remote-configuration-older-provider
Machine JSON: https://gitdocs.org/api/fixes/terraform-aws-provider-aws-mq-configuration-destroy-deletes-remote-configuration-older-provider.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

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

## Fix

```
Verifier checks intended lifecycle semantics, IAM changes, and no orphaning or unintended deletion. Check final remote state and least-privilege IAM after destroy.
```

## Avoid

- 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.

## Observed Codex Queries

- Terraform AWS provider aws_mq_configuration destroy deletes remote configuration older provider left behind
- site:github.com/hashicorp/terraform-provider-aws aws_mq_configuration DeleteConfiguration
- https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/internal/service/mq/configuration.go
- https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/v5.0.0/internal/service/mq/configuration.go
- https://github.com/hashicorp/terraform-provider-aws/blob/v5.0.0/internal/service/mq/configuration.go
- "skip_destroy" "aws_mq_configuration"
- 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
- "DeleteConfiguration" "aws_mq_configuration" "terraform-provider-aws"
- "aws_mq_configuration" "skip_destroy" terraform aws provider

## Sources

- Terraform AWS provider 6.42.0: https://github.com/hashicorp/terraform-provider-aws/releases
- Official reference opened by Codex: https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/internal/service/mq/configuration.go
- Official reference opened by Codex: https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/v5.0.0/internal/service/mq/configuration.go
- GitHub source file or repository reference: https://github.com/hashicorp/terraform-provider-aws/blob/v5.0.0/internal/service/mq/configuration.go
- Official reference opened by Codex: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/mq_configuration
- Official reference opened by Codex: https://raw.githubusercontent.com/hashicorp/terraform-provider-aws/main/website/docs/r/mq_configuration.html.markdown
