AWS Elastic Beanstalk - Invalidate CloudFront after each deployment

Viewed 79

I am using AWS Elastic Beanstalk to manage my PHP Laravel Application. I am also using AWS CloudFront. I need to find a way how to invalidate the CloudFront every time I deploy a new version of the application to Elastic Beanstalk? Ideally I'm looking for some script to put inside the ".ebextensions" folder.

0 Answers
Related