Skip to content

Commit fc878b2

Browse files
committed
add GOOGLE_APPLICATION_CREDENTIALS to .envrc.example
1 parent d4263f3 commit fc878b2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.envrc.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export AWS_ACCESS_KEY_ID=
33
export AWS_SECRET_ACCESS_KEY=
44

55
# GCP
6-
# is using `gcp.json`
6+
export GOOGLE_APPLICATION_CREDENTIALS="$(pwd)/gcp.json"
77

88
# Azure
99
# credentials are given after creating the service principal

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ You can also overwrite as follows
3535
```shell
3636
# init, plan, and apply infrastructure
3737
# use `-target=module.gcp_us_central1` to target specific modules
38-
# use `export GOOGLE_APPLICATION_CREDENTIALS="./gcp.json"` to specify GCP credentials file
3938
terraform init
4039
terraform plan
4140
terraform apply

0 commit comments

Comments
 (0)