Created
April 30, 2019 19:11
-
-
Save shadycuz/cec53d5a2affcfc202c45e76e65890fe to your computer and use it in GitHub Desktop.
Get rendered cfn init files
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 characters
aws cloudformation describe-stack-resource --stack-name MYSTACK --logical-resource-id MYLC | jq -Cr '.StackResourceDetail.Metadata | fromjson | ."AWS::CloudFormation::Init".MY_INITNAME.files | to_entries[] | {(.key): .value.content }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment