Skip to content

Commit

Permalink
Update environment variable GOOGLE_CLOUD_KEYFILE_JSON to use `GOOGL…
Browse files Browse the repository at this point in the history
…E_APPLICATION_CREDENTIALS` (GoogleCloudPlatform#3522)

Co-authored-by: Damian Myerscough <Damian.Myerscough@gmail.com>
  • Loading branch information
2 people authored and Edward Sun committed May 18, 2020
1 parent 6c61e4f commit 4420758
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ file. Name it something you can remember, and store it somewhere secure on your
machine.

You supply the key to Terraform using the environment variable
`GOOGLE_CLOUD_KEYFILE_JSON`, setting the value to the location of the file.
`GOOGLE_APPLICATION_CREDENTIALS`, setting the value to the location of the file.

```bash
export GOOGLE_CLOUD_KEYFILE_JSON={{path}}
export GOOGLE_APPLICATION_CREDENTIALS={{path}}
```

-> Remember to add this line to a startup file such as `bash_profile` or
Expand Down

0 comments on commit 4420758

Please sign in to comment.