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

Equivalent of aws cloudfront create-invalidation --distribution-id distribution_ID --paths "/*" #1358

Open
MLopez-Ibanez opened this issue Dec 5, 2023 · 1 comment

Comments

@MLopez-Ibanez
Copy link

AWS CLI offers the option to invalidate all files under a given path with a single request.

See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-access-logs

If you use the AWS Command Line Interface (AWS CLI) for invalidating files and you specify a path that includes the * wildcard, you must use quotes (") around the path.

For example: aws cloudfront create-invalidation --distribution-id distribution_ID --paths "/*"

There doesn't to be an equivalent for s3cmd? In particular s3cmd seems to send one invalidation request per file, which could end up being very expensive!

@MLopez-Ibanez
Copy link
Author

Maybe related to #848

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