mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Add project and credentials CLI vars to Terraform commands
This will automatically pass along the environment variables set in a previous step, and prevent users from manually needed to type in the values in the CLI.
This commit is contained in:
@@ -205,13 +205,13 @@ terraform init
|
||||
Plan infrastructure changes with Terraform:
|
||||
|
||||
```console
|
||||
terraform plan
|
||||
terraform plan -var="project=${GOOGLE_PROJECT}" -var="credentials=${GOOGLE_APPLICATION_CREDENTIALS}"
|
||||
```
|
||||
|
||||
Apply infrastructure changes with Terraform:
|
||||
|
||||
```console
|
||||
terraform apply
|
||||
terraform apply -auto-approve -var="project=${GOOGLE_PROJECT}" -var="credentials=${GOOGLE_APPLICATION_CREDENTIALS}"
|
||||
```
|
||||
|
||||
## Access the Cluster
|
||||
|
||||
Reference in New Issue
Block a user