The first time I had seen a glimpse of this Infrastructure as a CodeArtifact in 2018 (presented by Roopesh Ramklass at our TOUG meetup), I found it ugly as hell and swore to never touch it (probably confused it with Json ;)).
Today I am happy to admit that I was totally wrong and it was stupid of me to judge a book by its cover. Terraform is written in Go but you don’t need to know it to understand how to run it. It is purely declarative and HashiCorp made it so easy to understand by centralizing the documentation for each cloud provider in their Terraform Registry that you probably don’t need to read much to run your first demo.
Right after my Oracle Cloud operation associate exam, my interest started to spike. It was bumpy at times but worth the bother as there is so much to learn. That’s why I started the “Terraform for Dummies” series where I wanted to deploy a static website in any cloud provider there was. The dummy in question was me in case you didn’t figure :).
Although my journey has just started, it’s always good to summarize what we have achieved up till now. Which is the purpose of this article.
So if you want to learn how to provision with Terraform in all 4 cloud providers, below are simple deployments of a static website n (Including GitHub repos)!
✅ Terraform for Dummies Part 1 – Oracle Cloud Infrastructure (OCI)
GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-oci
✅ Terraform for Dummies Part 2 – Amazon Web Services (AWS)
GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-aws
✅ Terraform for Dummies Part 3 – Microsoft Azure
GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-azure
✅ Terraform for Dummies Part 4 – Google Cloud Platform (GCP)
GitHub Repo:
https://github.com/brokedba/terraform-examples/tree/master/terraform-provider-gcp
✅ Terraform for dummies Part 5: Libvirt (KVM)
Repository: https://lnkd.in/gzrJ6MP6
✅ Nested variable substitution using maps and locals
Blog: https://bit.ly/3mA0azh
Probably a Terraform associate certification as I slacked a bit lately and another deployment on ALICLOUD