Published a YouTube video
Spoke about AWS
Published a podcast episode
Published a new Episode of AWS Bites Pod

31. CloudFormation or Terraform?

Should I use CloudFormation or should I use Terraform instead? If you are just starting to write Infrastructure as Code (IaaC) you probably have this question. In this episode, we will discuss in detail how these two amazing pieces of technology compare against each other and what their features, weaknesses and strengths are. We will share our opinions based on our experience with these 2 technologies and guess what, for once we have a bit of clash of opinions! Can you guess who is in the Terraform camp and who is in the CloudFormation camp instead?

00:00 Intro
00:45 What Terraform and CloudFormation are used for
01:55 Terraform overview
06:53 CloudFormation overview
13:58 Differences between Terraform and CloudFormation
16:08 Extensibility in Terraform
18:40 Extensibility in CloudFormation
21:30 Multi-account & multi-organisation deployments
24:24 When to pick CloudFormation
25:32 The case for Terraform
28:00 Other IaaC tools
29:13 Outro

In this episode, we mentioned the following resources:
- A tutorial on how to create resources conditionally with CDK (and CloudFormation):
- An article to understand in depth how to use secrets management with SSM and SecretsManager together with CloudFormation:
- Ben Kehoe’s tweet about switching from CloudFormation to Terraform:
- Terraform null resources:
- CloudFormation Macros:
- How to workaround missing CloudFormation features (by Cloudonaut):
- Org-formation:
- How to create accounts in an org with Terraform:
- Control Tower Account Factory for Terraform:
- Pulumi:
- Cloudonaut’s comparison of CloudFormation with Terraform:
- Cloudonaut’s free CloudFormation templates:

You can listen to AWS Bites wherever you get your podcasts:
- Apple Podcasts:
- Spotify:
- Google:
- Breaker:
- RSS: ​​

Do you have any AWS questions you would like us to address?
Leave a comment here or connect with us on Twitter:

#aws #terraform #cloudformation