Created
October 5, 2021 21:31
-
-
Save pcolazurdo/ddddcbb37f9f4516a5d6252709d363da to your computer and use it in GitHub Desktop.
CloudControl for the win
This file contains 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 characters
# very basic but you can see the gist of it: | |
aws cloudformation list-types --type RESOURCE --visibility PUBLIC | \ | |
jq '.TypeSummaries[].TypeName' | \ | |
cut -d\" -f2 | \ | |
while read a | |
do | |
aws cloudcontrol list-resources --type-name $a 2>/dev/null| \ | |
jq '.ResourceDescriptions[].Identifier' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment