Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting/Stopping/Restarting an environment should trigger a cloudfront invalidation #236

Open
apmorton opened this issue Jul 19, 2019 · 0 comments

Comments

@apmorton
Copy link
Member

Error pages take excessively long to propegate when turning off an environment, and when updating an environment the edge caches could hold onto stale assets.

The invalidation must be performed as the last step in all cases.
We must wait for the first instance to come online or the last instance to go offline before doing the invalidation or it may not be effective.

EX: aws cloudfront create-invalidation --distribution-id EFCZGUFIBB1UY --paths "/staging*"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant