Skip to content

Commit

Permalink
Docs: Mark example "hcloud_token" variable as sensitive
Browse files Browse the repository at this point in the history
Prevents the field's values from showing up in CLI output and in Terraform Cloud

Signed-off-by: Alex Andrews <alias-dev@protonmail.com>
  • Loading branch information
alias-dev authored and LKaemmerling committed Jun 19, 2021
1 parent 0cfa7c8 commit 8f1c5c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/index.html.markdown
Expand Up @@ -17,7 +17,9 @@ Use the navigation to the left to read about the available resources.
```hcl
# Set the variable value in *.tfvars file
# or using the -var="hcloud_token=..." CLI option
variable "hcloud_token" {}
variable "hcloud_token" {
sensitive = true # Requires terraform >= 0.14
}
# Configure the Hetzner Cloud Provider
provider "hcloud" {
Expand Down

0 comments on commit 8f1c5c1

Please sign in to comment.