Skip to content

Commit 59699d7

Browse files
add newline removal bash command in guidelines (#9734) (#6994)
[upstream:7369959626ffc0ecea935a3210fdf46a90517bfb] Signed-off-by: Modular Magician <[email protected]>
1 parent b7bd35e commit 59699d7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/9734.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

website/docs/guides/getting_started.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ quota or billing issues which don't seem to apply to you, you may want to set
182182
### Using Terraform Cloud as the Backend
183183
You need to use a different [environment variable](https://www.terraform.io/docs/cloud/workspaces/variables.html) name to store your credentials in Terraform Cloud.
184184
1. Create an environment variable called `GOOGLE_CREDENTIALS` in your Terraform Cloud workspace.
185-
2. Remove the newline characters from your JSON key file and then paste the credentials into the environment variable value field.
185+
2. Remove the newline characters from your JSON key file and then paste the credentials into the environment variable value field. (Running `cat CREDENTIALS.json | tr -s '\n' ' '` will remove newline characters from your JSON key file)
186186
3. Mark the variable as **Sensitive** and click **Save variable**.
187187

188188
All runs within the workspace will use the `GOOGLE_CREDENTIALS` variable to authenticate with Google Cloud Platform.

0 commit comments

Comments
 (0)