Hi everyone, my name is Simone and this is my first post. I started using Terraform few months ago, so I’m quite a newbie Please forgive me if I make stupid or common questions. I’ll try to do my best to don’t waste space and your time
After some training with Terraform, I was able to deploy my infrastructure on AWS into a VPC for test environments.
My Terraform project is made of some .tf files (one for each AWS component I need, ex ECS, CloudWatch, CloudFront, etc) and a variables.tf file where I stored all the necessary variables.
So, let’s say that my test infrastructure now is fully managed in AWS with Terraform.
Now, if I would like to provision another instance of this infrastructure, for example in the production VPC, or even in the test one, what I have to do? Do I need to copy all the .tf files in another folder of my pc, than manually change all the values in the variables.tf file?
Is this the proper way of working?
Any answer, resource or even “read the manual” hint will be appreciated!
Thank you very much