Skip to content

Instantly share code, notes, and snippets.

@arunjayakumar01
Last active September 25, 2020 18:06
Show Gist options
  • Save arunjayakumar01/60e9f8824587cae2b4d28c9b6ccd23ed to your computer and use it in GitHub Desktop.
Save arunjayakumar01/60e9f8824587cae2b4d28c9b6ccd23ed to your computer and use it in GitHub Desktop.
aws configure set preview.cloudfront true
export AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export AWS_DEFAULT_REGION=eu-west-1
export AWS_DEFAULT_OUTPUT=json
aws cloudfront create-invalidation --distribution-id=xxxxxxxxxxxxxxxx --paths /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment