{"id":6086,"date":"2019-06-07T02:21:03","date_gmt":"2019-06-07T02:21:03","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=6086"},"modified":"2020-03-30T02:29:35","modified_gmt":"2020-03-30T02:29:35","slug":"aws-cloudformation-list-outputs","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/aws-cloudformation-list-outputs\/","title":{"rendered":"aws cloudformation list outputs"},"content":{"rendered":"<p>You can get specific resources created by a Cloudformation stack like so:<\/p>\n<pre lang=\"bash\">STACK_NAME=video-player\naws cloudformation list-stack-resources --stack-name $STACK_NAME \\\n  | jq '.StackResourceSummaries | .[] | select(.LogicalResourceId | contains(\"WebsiteLogsBucket\"))' \\\n  | jq -cr .PhysicalResourceId \n<\/pre>\n<p>Which will return something like this:<\/p>\n<pre>video-player-websitelogsbucket-wnxaskuel\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Get real names of objects created by Cloudformation<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,8],"tags":[71,114,312],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6086"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=6086"}],"version-history":[{"count":1,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6086\/revisions"}],"predecessor-version":[{"id":6426,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/6086\/revisions\/6426"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=6086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=6086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=6086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}