Skip to content

Commit

Permalink
add newline removal bash command in guidelines (#9734) (#17338)
Browse files Browse the repository at this point in the history
[upstream:7369959626ffc0ecea935a3210fdf46a90517bfb]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Feb 21, 2024
1 parent 599cf2a commit 6eda3ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/9734.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
2 changes: 1 addition & 1 deletion website/docs/guides/getting_started.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ quota or billing issues which don't seem to apply to you, you may want to set
### Using Terraform Cloud as the Backend
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.
1. Create an environment variable called `GOOGLE_CREDENTIALS` in your Terraform Cloud workspace.
2. Remove the newline characters from your JSON key file and then paste the credentials into the environment variable value field.
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)
3. Mark the variable as **Sensitive** and click **Save variable**.

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

0 comments on commit 6eda3ed

Please sign in to comment.