Created
April 8, 2020 03:27
-
-
Save michiel/a30f991fe70ff4689d91c0fb65ee7241 to your computer and use it in GitHub Desktop.
Revisions
-
michiel created this gist
Apr 8, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/sh AWS_PROFILE=my-profile AWS_REGION=ap-southeast-2 aws --profile=$AWS_PROFILE \ --region=$AWS_REGION \ cloudfront list-distributions \ | jq '.DistributionList.Items[].Origins.Items[] | {Id: .Id, OriginPath: .OriginPath}'