This commit is contained in:
ghndrx
2023-04-10 15:07:17 -07:00
parent e6802a6400
commit a3ffdff726

View File

@@ -9,7 +9,7 @@ Using the -var flag, you can pass variables directly to the terraform apply or t
Example:
terraform apply -var="project_id=variable-tf-demo" -var="region=us-central1"
```terraform apply -var="project_id=variable-tf-demo" -var="region=us-central1"```
Environment variables:
Set Terraform variables using environment variables by following the naming convention TF_VAR_variable_name. This method is useful for storing sensitive data or when using CI/CD pipelines.