{"id":2411,"date":"2017-04-12T14:43:52","date_gmt":"2017-04-12T20:43:52","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=2411"},"modified":"2017-04-12T14:43:52","modified_gmt":"2017-04-12T20:43:52","slug":"aws-questions-cloudformation","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/2411","title":{"rendered":"AWS Questions: Cloudformation"},"content":{"rendered":"<p>So, more questions from students. \u00a0This time about <a href=\"https:\/\/aws.amazon.com\/cloudformation\/\">Cloudformation<\/a>, the very cool way to built AWS infrastructure declaratively. \u00a0I would hate to have to pick a favorite AWS service, but if I had to, Cloudformation would be it.<\/p>\n<ul>\n<li>By default a stack rolls back on failure. \u00a0You can also keep any successful stack elements by setting <a href=\"http:\/\/docs.aws.amazon.com\/AWSCloudFormation\/latest\/APIReference\/API_CreateStack.html\">disable rollback<\/a> to true. \u00a0Can you have some elements of a stack that must have successful creation, and others that may fail without rollback?\n<ul>\n<li>Nope. \u00a0I&#8217;d break this up into two stacks and chain them.<\/li>\n<\/ul>\n<\/li>\n<li>Why is YAML now supported for Cloudformation templates?\n<ul>\n<li>YAML is <a href=\"https:\/\/aws.amazon.com\/blogs\/aws\/aws-cloudformation-update-yaml-cross-stack-references-simplified-substitution\/\">more readable for humans than JSON<\/a>.<\/li>\n<\/ul>\n<\/li>\n<li>Can you a dry run of a cloudformation template?\n<ul>\n<li>There is limited support (for <a href=\"http:\/\/docs.aws.amazon.com\/AWSCloudFormation\/latest\/UserGuide\/using-cfn-updating-stacks-changesets.html\">change sets<\/a>). \u00a0This has been a <a href=\"https:\/\/forums.aws.amazon.com\/thread.jspa?threadID=122514\">feature request for a long time<\/a> (since 2013).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>So, more questions from students. \u00a0This time about Cloudformation, the very cool way to built AWS infrastructure declaratively. \u00a0I would hate to have to pick a favorite AWS service, but [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-2411","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2411"}],"version-history":[{"count":1,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2411\/revisions"}],"predecessor-version":[{"id":2412,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2411\/revisions\/2412"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}