-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bug: AutoPublishAlias won't create new versions if only layer arn is modified. #7775
Comments
Thanks for opening this @DiscreteTom . Setting |
The way SAM know to publish a new version or not is by check the hash of a function. With |
Thanks for the response. |
|
Description:
AutoPublishAlias won't create new versions if only layer arn is modified in function's properties.
This will also affect SnapStart since new versions can't be created, users must create the version and modify alias manually.
Steps to reproduce:
arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:23
sam build
thensam deploy
. The function is updated but no new versions created.arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:22
.sam build
thensam deploy
. The function is updated but no new versions created.Observed result:
Add/Modify a layer arn won't create new function versions.
Expected result:
Add/Modify a layer arn should create new function versions.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Add --debug flag to command you are running
The text was updated successfully, but these errors were encountered: