-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Unable to create a Lambda Alias to version $LATEST
#2776
Closed
igilham opened this issue
Jun 6, 2019
· 0 comments
· Fixed by #2792 or MechanicalRock/tech-radar#14 · May be fixed by MechanicalRock/cdk-constructs#5, MechanicalRock/cdk-constructs#6 or MechanicalRock/cdk-constructs#7
Closed
Unable to create a Lambda Alias to version $LATEST
#2776
igilham opened this issue
Jun 6, 2019
· 0 comments
· Fixed by #2792 or MechanicalRock/tech-radar#14 · May be fixed by MechanicalRock/cdk-constructs#5, MechanicalRock/cdk-constructs#6 or MechanicalRock/cdk-constructs#7
Comments
RomainMuller
added a commit
that referenced
this issue
Jun 7, 2019
Sometimes, one wants to create an `Alias` to the `$LATEST` version of a `Function`, but this requires access to an `IVersion` representing that. This features adds a `latestVersion` property to `IFunction` that offers simple access to `$LATEST`. Prior to this, each user needing to access this would have had to roll theiw own implementation of `IVersion`, which is rather cumbersome. Fixes #2776
4 tasks
rix0rrr
pushed a commit
that referenced
this issue
Jun 12, 2019
Sometimes, one wants to create an `Alias` to the `$LATEST` version of a `Function`, but this requires access to an `IVersion` representing that. This features adds a `latestVersion` property to `IFunction` that offers simple access to `$LATEST`. Prior to this, each user needing to access this would have had to roll theiw own implementation of `IVersion`, which is rather cumbersome. Fixes #2776
ScOut3R
pushed a commit
to ScOut3R/aws-cdk
that referenced
this issue
Jun 13, 2019
Sometimes, one wants to create an `Alias` to the `$LATEST` version of a `Function`, but this requires access to an `IVersion` representing that. This features adds a `latestVersion` property to `IFunction` that offers simple access to `$LATEST`. Prior to this, each user needing to access this would have had to roll theiw own implementation of `IVersion`, which is rather cumbersome. Fixes aws#2776
This was referenced Aug 22, 2019
This was referenced Dec 12, 2019
This was referenced Jan 20, 2020
This was referenced Sep 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CloudFormation supports an
AWS::Lambda::Alias
with aFunctionVersion
of$LATEST
.I can find no way to achieve the same using the abstractions provided by the AWS CDK using either
lambda.Alias
orlambda.CfnAlias
(which has no documentation at present).The CDK seems to assume that I need to build a
lambda.Version
, but this is not what I want for my use case.The text was updated successfully, but these errors were encountered: