Quantcast
Channel: Active questions tagged aws-lambda - Stack Overflow
Viewing all articles
Browse latest Browse all 4008

How to update AWS Lambda configuration to the lastest version of a particular layer?

$
0
0

I am trying to achieve some automation using AWS CLI,
wherein I am able to update my AWS Lambda function using cli command -

aws lambda update-function-code --function-name --zip-file

And add a version to the layer using the command -

aws lambda publish-layer-version --layer-name wor --compatible-runtimes nodejs8.10 --zip-file

What I want to achieve is, Link the lastest version of a particular Layer to the Function,
Something like -

aws lambda get-layer-version --layer-name some_name_here --version-number $LATEST

How can I do so?


Viewing all articles
Browse latest Browse all 4008

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>