Can't delete specific Lambda@Edge version

0

I do understand that Lambda@Edge can't be deleted unless they are de-attached from all other services including Cloudfront and when all replicas are deleted automatically.

My problem is in my cleanup process I am disabling and deleting the cloudront distribution, removing S3 buckets, removing subdomains, removing logs, and when I check the Lambda@Edge replicas they are all gone, yet some of the functions got versions that can't be deleted so they stop the function from being deleted.

For instance, any function that got version 5 and 7 will never be deleted, but all other versions can be normally deleted. Those versions seems somehow shared in some functions but not all, if any function got those versions it will never get deleted and will be stuck.

What shall I do? It is been like that for around 5 days so far.

An error occurred when deleting this version: Lambda was unable to delete arn:aws:lambda:us-east-1:041532632972:function:app-fix-a11y-issues:5 because it is a replicated function. Please see our documentation for Deleting Lambda@Edge Functions and Replicas.

Enter image description here

asked 2 years ago453 views
1 Answer
0

Since you have deleted the associated CloudFront distribution 5 days ago, it looks like the Lambda@Edge association has not been cleared within the service. Can you open a support case indicating that your Lambda function cannot be deleted due to the lingering Lambda@Edge/CloudFront association? Also make sure to include the Lambda function ARN along with versions.

AWS
Taka_M
answered 2 years ago
  • Thanks for your reply, I am sure there is something wrong and I wanted to submit a ticket but the problem is my company's AWS account doesn't have support plan so I am not able to raise one :/

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