Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get rendered cfn init files
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
You can’t perform that action at this time.