aws-apigateway: Canary Deployment Settings Not Removed from Stage #33901
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
When using an
aws_apigateway.SpecRestApi
withdeploy: true
and deploy options configured, I set a canary deployment on the stage via:After deployment the Canary Configuration works as expected.
However, if I remove this configuration from the code, the canary settings are removed from the CloudFormation stack (as seen in cdk diff) but still persist in the API Gateway stage after cdk deploy.
cdk diff output
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Removing the canary configuration from the CDK code should also remove the canary deployment settings from the API Gateway stage.
Current Behavior
The canary settings persist on the deployed API Gateway stage despite being removed from the stack configuration.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.1004.0
Framework Version
No response
Node.js Version
v20.17.0
OS
mac-os
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: