← All writing

Cloud Formation

· 1 min read · aws

Infrastructure as Code. Ballin.

Configuration Object

yaml or JSON

Required Key: resources

Example:

{
  "resources": {
    "cat-pics": {
      "Type": "AWS::S3::Bucket"
    }
  }
}

The first key, cat-pics is considered a logical resource which creates what’s known as a stack. A stack is a physical resource, in this case an S3 Bucket, derived from a template.

Cloud Formation · Maxwell Kendall