-
Notifications
You must be signed in to change notification settings - Fork 3.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
chore(core): enable deletion of more than 10 ssm parameters at a time #27391
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request
. Additionally, if clarification is needed add Clarification Request
to a comment.
My change fixes some issues only seen during a stack update or delete operation. I cannot tell how to integration test these operations. Currently the pull request linter is asking me to make a change to the integration test file. I cannot see any meaningful change I can make to test the behavior that I modified. I have already updated the resulting snapshot, so all that remains is to either integration test an update or delete operation, or accept the pull request with the unit tests as sufficient verification of the update / delete operation enhancements |
As an initial comment, please note that the title of a fix should specify the error being addressed. These titles are used in the changelog so please keep them brief and clear. |
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
I also think this is probably more of a chore than a fix because the API call is behaving as intended but we can improve the experience here by taking your change. So, I've updated the title to be a chore and to add a little clarity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Cross-region-ssm-writer-handler fails when trying to delete more than 10 ssm parameters
This feature is used when exporting resources from a stack in one region to a stack in another region.
It uses the
crossRegionReferences: true
flag in the stack.The reason for this change is the following error I received on a stack update (slightly modified to hide some names)
Design for the fix is simple: Break the list of names to delete into chunks of at most 10. Invoke delete as many times as needed to delete all. Throttling is not handled here. This may come into play when there are 50 or more parameters to delete, which may not be a concern worth addressing at this point.
Closes No issue created for this
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license