Closed dekimsey closed 2 years ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
Oh, crud, I missed the bot's ping. To my knowledge, this is still necessary.
I'm going to lock this issue because it has been closed for 30 days β³. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Tainting the
aws_apigatewayv2_stage.default
resource with a configured custom domain fails to apply cleanly.β οΈ Note
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: 2.2.0
Terraform version:
Provider version(s):
provider registry.terraform.io/hashicorp/aws v4.33.0
provider registry.terraform.io/hashicorp/null v3.1.1
provider registry.terraform.io/hashicorp/tls v4.0.3
Reproduction Code [Required]
Steps to reproduce the behavior:
Workspace? Yes Cleared local cache? Yes
Create API Gateway with a custom domain and automatic mapping, make sure the default stage is enabled.
terraform apply
terarform taint aws_apigatewayv2_stage.default
terraform apply
Expected behavior
The default stage is successfully unattached to the custom domain and deleted.
Actual behavior
Terminal Output Screenshot(s)
Additional context
I believe the
aws_apigatewayv2_api_mapping.this
resource needs areplace_triggered_by
set foraws_apigatewayv2_stage.default[0]
.