chore: update dev dependency - aws-sdk-js-codemod#34542
Conversation
9597856 to
b0ab7ab
Compare
|
Please validate whats causing the Security Guardian check to fail. |
The security guardian is failing because two tests use overly broad permissions. The snapshots of these tests have changed due to the changes in this pull request. This caused the security-guardian to run on the updated snapshots and report this issue, which is not related to this pull request but to the tests themselves. |
|
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). |
24b8194 to
afd2e30
Compare
8436b67 to
076d70d
Compare
This reverts commit 08ffaa46d93fc896e7293c964b4f7c9381f3d25a.
656c002 to
ff0e00e
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Security Guardian failure is complaining about a broad principal permission in the integ tests, specifically when creating the custom KMS key in the |
|
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
Closes #31755.
Reason for this change
The dev dependency is outdated and creates issue for users wanting to use some of the aws-sdk packages in custom resources.
Description of changes
The goal of this change is to update the outdated
aws-sdk-js-codemodpackage to the latest available version (bumping the major version from 0.x.x to 2.x.x).The following changes have been made:
aws-sdk-js-codemodlogApiResponseDataPropertyTrueDefaultto false (which is the default value) for the tests that needed a snapshot update, as there is a bug that causes the snapshots to be outdated: (integ-tests-alpha,custom-resources): snapshots are always outdated #30583--update-on-failedto update snasphotsDescription of how you validated changes
Ran the integration tests and updated the snapshots.
framework-integ/test/aws-elasticloadbalancingv2/test/integ.alb.oidc.ts: needs a valid domain so successfully deployed it on my personal account, then regenerated the snapshots with--dry-run --forcepackages/@aws-cdk-testing/framework-integ/test/aws-elasticloadbalancingv2-actions/test/integ.cognito.js.snapshot/integ-cognito.template.json: needs a valid domain so successfully deployed it on my personal account, then regenerated the snapshots with--dry-run --forceChecklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license