Skip to content

How can I lock my Lambda function to prevent accidental changes?

0

Is there an easy way to lock a specific AWS Lambda function to prevent accidental changes? [Some functions] [1] that are used in the production environments for maintenance purposes are not a part of the development cycle. I'm looking for a way (similar to termination protection) to lock these functions to prevent changes. [1]: https://aws.amazon.com/blogs/security/how-to-automatically-update-your-security-groups-for-amazon-cloudfront-and-aws-waf-by-using-aws-lambda/

asked 7 years ago1.4K views
1 Answer
0
Accepted Answer

You can create aliases or versions for your Lambda function's production version. If you make changes to the created alias or version, the production version doesn't get affected.

AWS
EXPERT
answered 7 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.