I've recently made the transition from a service desk position to a DevOps role, and I'm finding it challenging to learn Terraform. My company requires us to provision all infrastructure using Terraform by March 2026, but I'm not familiar with how it works. So far, I've managed to write some code using a cursor, but I need to adhere to company standards. Specifically, I must create an S3 bucket and integrate CloudFront with WAF using AWS managed rules, ensuring the S3 bucket is in the ap-south-1 region. My manager insists that I shouldn't have multiple providers in the main.tf file and should call us-east-1 using a variable. I'm looking for effective ways to learn Terraform and apply it in a clean, standardized manner.
2 Answers
Why not dive into the official HashiCorp Terraform docs? They really provide solid information!
One big thing to remember is not to rely on automated tools to write your code for you just yet. Understanding the underlying principles is crucial. Check out the HashiCorp training documentation; it's a great resource for getting started with Terraform. Even though real-world scenarios can be complex, these docs will help you grasp the basics first.

I could use some fresh perspectives, so I’d love to hear more about that!