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

Automatically invalidate CloudFront upon WP2Static S3 Deploy #70

Open
blimmer opened this issue May 15, 2022 · 0 comments · May be fixed by #71
Open

Automatically invalidate CloudFront upon WP2Static S3 Deploy #70

blimmer opened this issue May 15, 2022 · 0 comments · May be fixed by #71

Comments

@blimmer
Copy link

blimmer commented May 15, 2022

The WP2Static S3 addon allows invaliding CloudFront distributions when deploying. An invalidation would make index.html (and other likely cached paths) immediately update when new content is posted.

I think it would take the following:

  1. Update the ECS task execution role to allow invalidating the CloudFront distribution created by the cloudfront module.
  2. Either:
    a. Document manual configuration changes for the S3 Deployment add-on (see also docs: add additional setup instructions #69); or,
    b. Automatically update the configuration for the user (see Additional pre-configuration of S3 Add-on: Activate and ACL #15)
blimmer added a commit to blimmer/terraform-aws-serverless-static-wordpress that referenced this issue May 15, 2022
@blimmer blimmer linked a pull request May 15, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant