Terraform tfvars file
When a tfvars file is in a different location, you must specify it using the “-var-file” option. However, creating a symbolic link can simplify the command operation.
- Create a symbolic link
ln -s ../common.tfvars terraform.tfvars
- Run a simple terraform command without option
terraform plan
- Screenshot of the process