Open sairajputh88 opened 4 years ago
Is there any update on this feature ? What's the best approach to implement this using terraform?
Same question here. Would be good to have DeploymentPreference
as well.
Requesting this feature as well in Terraform to mimic CloudFormation's AutoPublishAlias.
Hi,
Just curious, this has been here for a long time, is this in the backlog?
Best Regards, H
Can you take care of this please.
Current Terraform Version
Use-cases
To overcome the cold start with Lambdas, trying to configure Provisioned concurrency to Lambda with version and alias.
when the Lambda code changes the version bumps up with ‘publish’ option. Have to pass the newly published Lambda version to Lambda Alias every time statically.
Looking for an option to automatically point a Lambda Alias to newly published Lambda version through TF.
Attempted Solutions
From below snippet, I am able to point to a Lambda version x.
I tried as below but it points to $LATEST.
Where as the provisioned concurrency is only compatible with version and alias.
Proposal
There is some thing in Cloud Formation which make it possible as per AWS Support. Which is 'AutoPublishAlias', which creates an alias with a name that you provided and points to the updated version of the Lambda function. Please find the below reference.
References
AutoPublishAlias reference