Skip to content

Commit

Permalink
Update docs/sources/reference/components/local/local.file.md
Browse files Browse the repository at this point in the history
Co-authored-by: Clayton Cornell <[email protected]>
  • Loading branch information
bcotton and clayton-cornell authored Nov 14, 2024
1 parent bb57a1e commit 3f71a25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/sources/reference/components/local/local.file.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,8 @@ local.file "secret_key" {
filename = "/var/secrets/password.txt"
is_secret = true
}
# Then later:
grafana_cloud.stack "receivers" {
stack_name = "mystack"
token = local.file.secret_key.content # <-- The file's contents are here
token = local.file.secret_key.content
}
```

0 comments on commit 3f71a25

Please sign in to comment.