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

[AWS::Lambda::Version] - [Enhancement] - Auto publish Lambda Versions #2068

Open
flostadler opened this issue Jun 12, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@flostadler
Copy link

Name of the resource

AWS::Lambda::Version

Resource name

No response

Description

The Lambda Version resource does not support publishing new versions (e.g. when the lambda code changes) directly. Instead, users need to add a new Lambda Version resource with a changed name.

This means that there's no native way how a user could update Lambda Functions and publish the new version without requiring some sort of template pre-processing (e.g. appending the code-hash to the resource name of the Lambda Version) or using a CustomResource.

Enhancing the AWS::Lambda::Version resource with the ability to auto-publish new versions would simplify the management of Lambdas. While CloudFormation has workarounds, those do not work for CloudControl.

Other Details

SAM added an auto-publish alias feature to support updating the lambda code and publishing a new version. This functionality would be useful CloudControl/CloudFormation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant