-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Change to aws_api_gateway_integration destroys all aws_api_gateway_integration_response resources #9877
Comments
We just ran into this behavior while deploying to production. Fortunately it can be worked around by running |
Terraform v0.8.5
Right after that command I don't see the integration response in AWS web-interface; related endpoints start to fail. Rerunning
|
same problem here :( |
Terraform v8.7 The other issue which got me into the above bug is a bit odd and relates to using MOCK endpoint. The URI parameter used for api_gateway_integration even though the value is same in every plan/apply, terraform sees it as a change. The tfstate file is getting updated with the same value everytime. |
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. |
Terraform Version
v0.7.8
Affected Resource(s)
Expected Behavior
Change to
aws_api_gateway_integration
request_templates
does not destroyaws_api_gateway_integration_response
resources on the same method.Actual Behavior
Change to
aws_api_gateway_integration
request_templates
destroys allaws_api_gateway_integration_response
resources on the same method.Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: