How do I run terraform init from a different folder?
I know this is an old thread but… The command you are looking for is: terraform -chdir=environments/production apply Please see this link for help with the global option -chdir=”: Quote from the actual Terraform site: The usual way to run Terraform is to first switch to the directory containing the .tf files for your root … Read more