Every time I read an example of a file with this syntax I couldn’t understand anything and I didn't know why.

And nothing else”, so I tried to understand the Terraform config file with this mindset and I complicated my understanding of a simple configuration language (HCL), So I wrote this story to share with you Tips & Tricks for a better understanding and deploying Terraform by implementing S3M Pattern that I wrote before.

AWS CLI configured in your laptop (if you want to run your infra from you laptop (~/.aws/config )

In this section, I’ll give you some tips & tricks to save your time when coding the infra of a Complex Architecture.

Once the workspace is created, terraform will generate for you this code to use in your main config file (main.tf) that exists in your repository.

Related Articles