-
Notifications
You must be signed in to change notification settings - Fork 4k
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
aws_apigateway: cloudWatchRole update in unrelated APIs #22954
Comments
Can you clarify exactly what the behavior is you're experiencing? I think sharing some reproduction code would help. |
|
Some details on this are on the docs here: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigateway-readme.html#deployments. The cloudwatch role should be retained following the release of CDK 2.38.0. See #22020 |
Good detail behind what exactly changed is found in the PR description. This should clear everything up and let you know the direction to move to avoid this error |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
The issue no longer exists with CDK version 2.51.1 |
|
Describe the bug
The last created stack's cloudWatchRole is getting updated across all the API Gateways settings. If the last stack is deleted, it belongs cloudWatchRole also delete. Which impact all other API Gateways logs that are not being pushed to CloudWatch Log Groups.
Expected Behavior
All API Gateways should not be updated with the last stack cloudWatchRole.
Current Behavior
The last created stack's cloudWatchRole is getting updated across all the API Gateways settings.
Reproduction Steps
Create a new API Gateway (
cdk deploy
).Check the old API Gateway Settings. The new cloudWatchRole is updated.
Delete the last create API Gateway (
cdk destroy
).Other API Gateways are still having deleted cloudWatchRole.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.35.0
Framework Version
No response
Node.js Version
v18.6.0
OS
MacOS
Language
Typescript
Language Version
Typescript (3.9.7)
Other information
No response
The text was updated successfully, but these errors were encountered: