Skip to content

Commit

Permalink
updated website
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk committed May 7, 2021
1 parent 1f7ac9b commit 37c4198
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
File renamed without changes.
18 changes: 17 additions & 1 deletion website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,20 @@ data "ssh_tunnel" "consul" {
port = 8500
}
}
```
provider "consul" {
address = data.ssh_tunnel.consul.local.0.address
scheme = "http"
}
data "consul_keys" "keys" {
key {
name = "revision"
path = "secrets/api/password"
}
}
data "ssh_tunnel_close" "consul" {
depends_on = [data.consul_keys.keys]
}
```

0 comments on commit 37c4198

Please sign in to comment.