An open API service indexing awesome lists of open source software.

https://github.com/ibrahimcsae/invalidate-cloudfront-cache-on-s3-change

Python Lambda function to invalidate CloudFront cache whenever the S3 bucket gets updated via code pipeline.
https://github.com/ibrahimcsae/invalidate-cloudfront-cache-on-s3-change

aws cloudfront-invalidation lambda-functions python

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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!