cloudformation.macros.j2 - the macros. cf_vars.yml - YAML dictionaly of security groups and NACLs, including some complex rules for both. test.template.j2 - a simple CloudFormation template that uses the macro file. cf_test.yml - a simple Ansible playbook that generates CloudFormation JSON from thr previous file.
Oct 16, 2019 · The AWS CloudFormation team and approved contributors provide and maintain sample templates in the aws folder. We also collect and make available templates developed by the community. These sample templates are located in the community folder and its subfolders. We encourage your contributions to these templates. Let’s first describe the different philosophies between the CLI and CloudFormation. In programming terms, the CLI is imperative/procedural, and CloudFormation is declarative.
Mar 30, 2017 · They’re all really simple macros. Types of any kind are rare to a degree that astonish me. We’ve written a handful of protocols, for example our scm protocol is there to provide a uniform interface for both GitHub and private git repos. We have records representing different kinds of CloudFormation stacks that we create and manipulate. Let's study CloudFormation with good quality information! ... AWS SAM + Cloudformation macros, a patch made in heaven ... github.com 2019/04/05 ... You can't upload files through CloudFormation, that's not supported because CFN doesn't have access to your local filesystem. What I usually do: Call cloudformation task from Ansible; CFN creates the bucket and in the Outputs exports the bucket name; Ansible uploads the files using s3_sync in the next task once the CFN one is done. Hope that helps :)
Nov 22, 2018 · November 22, 2018 in aws By Arjen Schwarz (8 minutes read) CloudFormation Macros were introduced recently, and they add a lot of power. In this article I want to take a look at how you can build and test one of these. AWS Cloudformation is an evolving managed service which facilitates infrastructure as a code in the cloud. What it means is that you can create AWS resources like EC2 instances, S3 buckets and many more just by writing code instead of using GUI console.