AWS Bites

31. CloudFormation or Terraform?


Listen Later

Should I use CloudFormation or should I use Terraform instead? If you are just starting to do 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?

In this episode, we mentioned the following resources:

- A tutorial on how to create resources conditionally with CDK (and CloudFormation): https://loige.co/create-resources-conditionally-with-cdk

- An article to understand in depth how to use secrets management with SSM and SecretsManager together with CloudFormation: https://dev.to/eoinsha/3-ways-to-read-ssm-parameters-4555

- Ben Kehoe’s tweet about switching from CloudFormation to Terraform: https://twitter.com/ben11kehoe/status/1158758917515763712

- Terraform null resources: https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource

- CloudFormation Macros: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/macros-example.html

- How to workaround missing CloudFormation features (by Cloudonaut): https://cloudonaut.io/three-and-a-half-ways-to-workaround-missing-cloudformation-support/

- Org-formation: https://github.com/org-formation/org-formation-cli

- How to create accounts in an org with Terraform: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/organizations_account

- Control Tower Account Factory for Terraform: https://learn.hashicorp.com/tutorials/terraform/aws-control-tower-aft

- Pulumi: https://www.pulumi.com/

- Cloudonaut’s comparison of CloudFormation with Terraform: https://cloudonaut.io/cloudformation-vs-terraform/

- Cloudonaut’s free CloudFormation templates: https://templates.cloudonaut.io/en/stable/

Do you have any AWS questions you would like us to address?


Leave a comment here or connect with us on Twitter:
- https://twitter.com/eoins
- https://twitter.com/loige
...more
View all episodesView all episodes
Download on the App Store

AWS BitesBy AWS Bites

  • 4.6
  • 4.6
  • 4.6
  • 4.6
  • 4.6

4.6

11 ratings


More shows like AWS Bites

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

383 Listeners

The a16z Show by Andreessen Horowitz

The a16z Show

1,089 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

625 Listeners

Risky Business by Patrick Gray

Risky Business

374 Listeners

The Cloudcast by Massive Studios

The Cloudcast

152 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

214 Listeners

Y Combinator Startup Podcast by Y Combinator

Y Combinator Startup Podcast

226 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

988 Listeners

Cybersecurity Today by Jim Love

Cybersecurity Today

181 Listeners

Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

Kubernetes Podcast from Google

182 Listeners

Practical AI by Practical AI LLC

Practical AI

211 Listeners

AWS Podcast by Amazon Web Services

AWS Podcast

203 Listeners

AWS Morning Brief by Corey Quinn

AWS Morning Brief

79 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

142 Listeners

The AWS Developers Podcast by Amazon Web Services

The AWS Developers Podcast

25 Listeners