The Complete CloudFormation Guide: Functions, Pseudo Parameters, & Conditions Part 1
Table of Contents
- Introduction
- What Are We Doing?
- The Video: Functions, Pseudo Parameters, & Conditions, Part 1
- Next Steps
- The Complete CloudFormation Guide Index
Introduction
In our last video, we launched our first CloudFormation template. Pretty neat, huh? Granted, it's kind of bare bones at this point but what you've learned so far is pretty much what you would need for most projects. So from now on in the series, we'll be focusing more on how to make our templates more dynamic. And we'll start that with the three topics of the next two posts: Functions, Pseudo Parameters, and Conditions.
We've actually discussed functions before in the Parameters and Refs post since refs are Intrinsic Functions. We'll add a new function to our tool kit here called Get Attribute (GetAtt) and see how to use it in our template.
Then, we'll move into Pseudo Parameters: what are they? How do we use them? Where are they in the documentation (because there's several of them)? And lastly we'll get into Conditions, which are just what they sound like: they're how we add conditions to how resources or their properties are made.
Next, we'll be moving onto part 2 where we'll put all three of these topics into practice in our template by adding the option of SSH access on our Security Group so you can see how these three interact in a real way.
What Are We Doing?
In this part 1 video, we will shift our focus to making our AWS CloudFormation template more dynamic by discussing functions, pseudo parameters, and conditions. We'll learn about a new intrinsic function, and all the ins and outs of working with these three topics before putting them into practice in the part 2 video next.
The Video: Functions, Pseudo Parameters, & Conditions Part 1
Next Steps
The Next Post - Functions, Pseudo Parameters, and Conditions Part 2
The Previous Post - Our First Time Launch
The Complete CloudFormation Guide Index
If you're enjoying this series and finding it useful, be sure to check out the rest of the blog posts in it! The links below will take you to the other posts in The Complete CloudFormation Guide here on Tech Guides and Thoughts so you can continue building your CloudFormation template along with me.
- The Complete CloudFormation Guide
- An Introduction to and History of CloudFormation
- The Main Concepts of CloudFormation
- How CloudFormation Does Updates and Deletes
- Our Project Setup
- Resources
- Parameters and Refs
- Our First Time Launch
- Functions, Pseudo Parameters, and Conditions Part 1
- Functions, Pseudo Parameters, and Conditions Part 2
- Mappings
- Transforms
- Outputs
- Relaunch!
- The Best Next Steps to Take from Here
Enjoy Posts Like These? Sign up to my mailing list!
J Cole Morrison
http://start.jcolemorrison.comDeveloper Advocate @HashiCorp, DevOps Enthusiast, Startup Lover, Teaching at awsdevops.io