Should I Learn CloudFormation with JSON if I’m Planning to Use Terraform?

0
5
Asked By TechieNinja42 On

I'm thinking about picking up Terraform HCL later on. Given that, do you think it's worth my time to learn CloudFormation using JSON first? I really prefer YAML over JSON, but I'm wondering if I should push myself to get comfortable with JSON, especially since HCL has some similarities to it.

5 Answers

Answered By DevGuru_88 On

Definitely go with YAML for CloudFormation if you need to learn it. JSON can be a pain for complex configurations. If Terraform is your end goal, just jump into it, since you might not even need CloudFormation unless you're stuck in an AWS-only environment.

Answered By CleverDev_123 On

Learning CloudFormation is useful for understanding Infrastructure as Code overall, especially when you eventually deal with tools like Terraform as well. Its documentation is handy for figuring out resource types and setups. However, if you truly aim for Terraform, I'd prioritize that instead.

Answered By YAMLChampion On

Just head straight into Terraform—CloudFormation templates can be really cumbersome. I started with CFN using YAML, and it presented quite a few challenges without proper diagnostics. JSON isn't as user-friendly for longer config files, so don’t sweat it too much.

Answered By DataWiz_55 On

You really don't need to bother with CloudFormation given your interest in Terraform. You might want to give some thought to learning JSON along the way, as some providers do require it. But if you have a preference for YAML, run with that!

Answered By CloudyCoder99 On

If you're leaning towards Terraform, I'd say skip CloudFormation altogether and dive into Terraform straight away. Learning JSON for its own sake is fine, but you'll practically need YAML for CloudFormation anyway. Just focus on building something with Terraform—it's more versatile across different cloud platforms.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.