[api-gateway] RestApi construct does not automatically create new deployments after addGatewayResponse #10963
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
When calling the
addGatewayResponse
method on aRestApi
, anyGatewayResponse
added doesn't come into effect because it doesn't trigger a new deployment. Manually creating a new deployment through AWS UI fixes this.Similar to #8024
Related: #5354 (comment)
Reproduction Steps
First deploy:
Subsequent deploy:
What did you expect to happen?
A change in the
GatewayResponse
for an API should trigger a deployment, as that's what's required when using the UI.What actually happened?
No new deployment was created when the
GatewayResponse
resource was changed.Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: