Blog post

Terraform - Zero to Hero | Episode 1 | Yoda by Arkoprabho Chakraborti

Arko Chakraborti

-
September 16, 2021
Terraform
Cloud Infrastructure

Episode 1In the last episode we created an S3 Bucket and a DynamoDB Table. While it fulfilled our purpose, the code wasn’t really pretty to look at or work with. Let’s fix that. In this episode we introduce variables in terraform. We replace the hardcoded things in the resource and move the values to variables allowing us to modularise code and avoid code-duplication to some extent.We briefly look at data sources and how they can work along with the resources in terraform.

About the "Terraform - Zero to Hero" seriesCode lets us automate a lot of mundane and sometimes tricky tasks. How about we use this power of code to spin up infrastructure. What if a few lines of code can provision virtual machines for you on the cloud? Well, that’s infrastructure as code or IaC for you.If the premise interests you, and you have some working experience with any cloud provider, this series will build on those fundamentals and explore the features of Terraform. Terraform is one of the most popular tools when it comes to IaC. We will start with the basics of Terraform, and head towards a direction of expertise.

Related Blog Posts