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

feat: Support for lambda code signing #215

Closed
wants to merge 11 commits into from

Conversation

hazmei
Copy link

@hazmei hazmei commented Dec 30, 2023

Description

Changes:

  1. Updated lambda_handler local variable.
  2. Update source_path input for module lambda.
    Ensure that source_path is null when s3_existing_package is set and lambda_source_path is null. Previously this is set to ./functions/notify_slack.py if lambda_source_path is not set.
  3. Added attribute code_signing_config_arn in module lambda.
    Needed to attach the code signing config to the lambda.
  4. Added 3 new variables lambda_code_signing_config_arn, custom_lambda_source_name, s3_existing_package.
  5. Bump terraform-aws-modules/lambda/aws to version 6.5.0 for code_signing_config_arn.

Motivation and Context

We have a requirement to secure the lambdas provisioned in our AWS account with code signing. This introduce support for deploying this module with lambda code signing enforced.

Breaking Changes

No breaking of backwards compatibility.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@hazmei hazmei changed the title Add support for lambda code signing feat: Support for lambda code signing Dec 30, 2023
Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Jan 30, 2024
Copy link

github-actions bot commented Feb 9, 2024

This PR was automatically closed because of stale in 10 days

@github-actions github-actions bot closed this Feb 9, 2024
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant