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

Versioning needs to be enabled on root bucket #7

Open
siteopsio opened this issue Dec 30, 2020 · 0 comments
Open

Versioning needs to be enabled on root bucket #7

siteopsio opened this issue Dec 30, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@siteopsio
Copy link

Cloudfront needs to have s3 bucket versioning enabled so objects do not need to be invalided

versioning { enabled = true }

From the Cloudfront service:
Invalidating objects removes them from CloudFront edge caches. A faster and less expensive method is to use versioned object or directory names. For more information, see Invalidating Objects in the Amazon CloudFront Developer Guide.

Perhaps add an option to the module to enable versioning and set the cache TTL to give people options.

@cloudmaniac cloudmaniac self-assigned this Mar 29, 2021
@cloudmaniac cloudmaniac added the enhancement New feature or request label Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants