terraform-aws-serverless-static-wordpress icon indicating copy to clipboard operation
terraform-aws-serverless-static-wordpress copied to clipboard

Automatically invalidate CloudFront upon WP2Static S3 Deploy

Open blimmer opened this issue 3 years ago • 0 comments

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 #69); or, b. Automatically update the configuration for the user (see #15)

blimmer avatar May 15 '22 16:05 blimmer