Cloud Formation — Basics

  1. Mapping — fixed variables within template
  2. Resources — actual allocation/definition happens

fixed set of variables — used depending on situation

<< This means… if you’re us-east-1 and using 32 bit, you will use this ami

If want to use + don’t want to search for your self
: !FindInMap [RegionMap, !Ref “AWS::Region”, 32]


  • If special occasion, can use double quote “ ”
    In general, you don’t need quotes.

Got data from stack over flow :

  • Use quotes if your value includes special characters, (e.g. :, {, }, [, ], ,, &, *, #, ?, |, -, <, >, =, !, %, @, \).
  • Single quotes let you put almost any character in your string, and won’t try to parse escape codes. '\n' would be returned as the string \n.
  • Double quotes parse escape codes. "\n" would be returned as a line feed character.
  • The exclamation mark introduces a method, e.g. !ruby/sym to return a Ruby symbol.

Seems to me that the best approach would be to not use quotes unless you have to, and then to use single quotes unless you specifically want to process escape codes.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flutter Firestore Tutorial Part 1/2

Chinese Resume Template

How to use Software Engineering to improve Data Science Code

How to get Started: Agile for Non-Techies

Important things when creating a list on a webpage / front end using HTML & CSS.

I’ve been hit!

Working damage visualizers

How to Outsource IT Services Wisely in 2022: Pros, Models, Examples, and Pricing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
June Chung

June Chung

More from Medium

Multi-Cloud Vs. Hybrid Cloud Similarities and Differences — SyncCore Cloud Blog

CS371p Spring 2022 Week 4/18–4/24: Blog #13

Five Efficient Blockchain Solutions in Logistics

PhoneNow Call Centre Trend Analysis With Power BI