Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

fabfile.py: Clear cloudfront cache with boto when pushing to production #73

Open
aboutaaron opened this issue Feb 11, 2015 · 2 comments

Comments

@aboutaaron
Copy link
Contributor

Not sure how boto interacts with cloudfront, but basically we'll need cloudfront cache invalidation for the index.html file in the build when deployed.

@aboutaaron
Copy link
Contributor Author

See: http://boto.readthedocs.org/en/latest/cloudfront_tut.html#invalidating-cloudfront-distribution-paths

It looks like we basically need to create a cloudfront obj, select the project/index.html path and send an invalidation request.

@aboutaaron
Copy link
Contributor Author

Looks like boto doesn't support the latest Cloudfront API SMH: boto/boto#1845

Unfortunately the CloudFront support in boto does not support the latest CloudFront API version. The core developer team is working on service updates like this one as time permits, but I cannot give you an exact date that it will be supported.

aboutaaron added a commit that referenced this issue Apr 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant