If I have the Version ARN of a layer, is there a CLI command that I can use to in my Jenkins that will attach the layer to my lambdas function? I am new to using AWS and Jenkins so I have no idea where to begin with this problem.
Thanks!
There is an example of associating a function with a layer in the AWS documentation :
$ aws lambda update-function-configuration --function-name my-function \
--layers arn:aws:lambda:us-east-2:123456789012:layer:my-layer:3 \
arn:aws:lambda:us-east-2:210987654321:layer:their-layer:2
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.