dump-scp.sh

This commit is contained in:
xpk 2021-05-05 14:40:42 +08:00
parent 5f84ba1b4d
commit 91ad80b868
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

1
aws/dump-scp.sh Normal file
View File

@ -0,0 +1 @@
aws organizations list-policies --filter SERVICE_CONTROL_POLICY | jq -cr '.Policies[] | .Id' | while read i; do aws organizations describe-policy --policy-id $i --output text | tee $i.txt; done