-1

I have a Lambda@Edge function which has 2 versions. Version 1 has non-functional code and version 2 has the latest operational code. What that function does is it fetches an object from an S3 bucket and attaches it to the response object. I have attached the latest version of this edge function which is version 2 to a CloudFront distribution. But in each IAC deployment, I can see both version 1 and version 2 "last_modified" timestamp has been changed.

Does anybody know why? I've gone through AWS documentation but I couldn't find any reason.

jarmod
79.8k18 gold badges132 silver badges137 bronze badges
asked Nov 5 at 14:45
1
  • Have you looked into CloudTrail and looked at the event history? The last modified happens when anything of your lambda changes, it could possibly be a tag created by the IaC. Commented Nov 6 at 15:02

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.