Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * Getting the configuration dump in the format for re-import.
- * `aws cloudfront get-distribution-config --id E158A2GQ60271K | jq .DistributionConfig > config.json`
- * Get the ETAG for the distribution `aws cloudfront get-distribution-config --id E158A2GQ60271K | jq .ETag`.
- * Modify the distribution to remove CacheBehavior from config.json.
- * Apply the new configurationw with:
- * `aws cloudfront update-distribution --id E158A2GQ60271K --distribution-config file://config.json --if-match ETAG_IN_PREVIOUS_STEP`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement