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!
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
There doesn't to be an equivalent for
s3cmd
? In particulars3cmd
seems to send one invalidation request per file, which could end up being very expensive!