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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)