-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.

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

Your Answer

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.