Skip to content
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(lambda): hide warning if skipPermissions is set #30060

Merged
merged 2 commits into from
May 6, 2024

Conversation

daschaa
Copy link
Contributor

@daschaa daschaa commented May 4, 2024

Issue #29887

Closes #29887

Reason for this change

If an user imports a lambda and wants to add permissions a warning is show. This warning should be skippable with the skipPermissions flag.

Description of how you validated changes

Unit tests for checking if the warning is shown/not shown depending on the value of skipPermissions are added.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

If an user imports a lambda and wants to add permissions a warning is show. This warning should be skippable with the skipPermissions flag.
@aws-cdk-automation aws-cdk-automation requested a review from a team May 4, 2024 13:15
@github-actions github-actions bot added star-contributor [Pilot] contributed between 25-49 PRs to the CDK bug This issue is a bug. effort/medium Medium work item – several days of effort p2 labels May 4, 2024
@daschaa
Copy link
Contributor Author

daschaa commented May 4, 2024

Exemption request - In my opinion this change neither needs an integration test nor an entry to the README.

@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label May 4, 2024
Copy link
Contributor

mergify bot commented May 6, 2024

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-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label May 6, 2024
Copy link
Contributor

mergify bot commented May 6, 2024

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-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 98e59ed
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 2c53cf9 into aws:main May 6, 2024
9 checks passed
Copy link
Contributor

mergify bot commented May 6, 2024

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).

@daschaa daschaa deleted the 29887_lambda_permission_warning branch May 7, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. effort/medium Medium work item – several days of effort p2 star-contributor [Pilot] contributed between 25-49 PRs to the CDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws-lambda: addPermission() warning should not be shown
3 participants