Skip to content

Python Lambda function to invalidate CloudFront cache whenever the S3 bucket gets updated via code pipeline.

Notifications You must be signed in to change notification settings

IbrahimCSAE/invalidate-cloudfront-cache-on-s3-change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Invalidate CloudFront cache whenever S3 bucket gets updated

• Python Lambda function to invalidate CloudFront cache whenever you update your S3 bucket via code pipeline.

Steps

• Go to Code Pipeline, add stage, add action, select action provider as invoke AWS Lambda, select the lambda function.
• Edit the IAM role for the lambda function to allow it to interact with CloudFront and Code Pipeline
• All done!

About

Python Lambda function to invalidate CloudFront cache whenever the S3 bucket gets updated via code pipeline.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages