By using AWS re:Post, you agree to the Terms of Use

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 3 years ago84 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.

profile picture
EXPERT
answered 3 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.

Guidelines for Answering Questions