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!: removes fixed name from lambda function #253

Merged
merged 6 commits into from
Mar 9, 2024
Merged

feat!: removes fixed name from lambda function #253

merged 6 commits into from
Mar 9, 2024

Conversation

udondan
Copy link
Owner

@udondan udondan commented Mar 8, 2024

Giving the Lambda function, which manages the custom resources, a fixed name caused problems for some users. This change makes the name of the Lambda function configurable.

By default, the Lambda function now does not have a fixed name, letting CDK generate a unique name.

Fixes #53
Closes #54

Migration guide

If you migrate from v3 to v4, you need to set the property legacyLambdaName to true as CloudFormation does not allow to change the name of the Lambda function used by custom resource.

@udondan udondan enabled auto-merge (squash) March 9, 2024 06:53
@udondan udondan merged commit 56e17ef into main Mar 9, 2024
4 checks passed
@udondan udondan deleted the lambda-name branch March 9, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

names function but doesn't constrain name length
1 participant