-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BadRequestException: Active stages pointing to this deployment must be moved or deleted #19805
Comments
Feel free to ask if you are looking for more details. |
I am facing same issue. "create_before_destroy = true" solution does not work |
Same here. "create_before_destroy = true" isn't working. |
same here |
same |
2 similar comments
same |
same |
+1 |
Same here |
same here |
I have also encountered this, after switching from using a |
Community Note
I have tried couple of solution but I am seeing the same general error. People have provided multiple solutions using create_before_destroy = true, use trigger etc but none of the solutions work if
aws_api_gateway_base_path_mapping
is used in same .tf file.The only solution works is to using
taint
or comment theaws_api_gateway_base_path_mapping
block and uncomment again and run theterraform apply
twice.In our use case we already have stage deployed using
aws_api_gateway_deployment
and now we want to enable API logs exported to CloudWatch. The only way is to useaws_api_gateway_stage
andaws_api_gateway_method_settings
so we are modifying stage as well.I have tried error redeploying API gateway stage when mapped to custom domain path terraform#10674 , https://stackoverflow.com/questions/42760387/terraform-aws-api-gateway-dependency-conundrum/42783769#42783769 , Error creating API Gateway Stage: ConflictException: Stage already exists #2918
and couple more I can't even remember.
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: