Categories: AWS

How to Clear Cloudfront Cache Using Aws Cli

Jan 9, 2019 1 min.

aws cloudfront create-invalidation --distribution-id $DISTRIBUTION_ID --paths '/*' Replace $DISTRIBUTION_ID with the cloudfront distributions ID Referece: https://docs.aws.amazon.com/cli/latest/reference/cloudfront/create-invalidation.html