Skip to content

Commit

Permalink
by label
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Nov 21, 2024
1 parent 6464582 commit e5f3432
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/ssh_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ data "hcloud_ssh_key" "by_fingerprint" {
fingerprint = "55:58:dc:bd:61:6e:7d:24:07:a7:7d:9b:be:99:83:a8"
}
data "hcloud_ssh_key" "by_selector" {
data "hcloud_ssh_key" "by_label" {
with_selector = "key=value"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/ssh_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This resource is useful if you want to use a non-terraform managed SSH Key.
```terraform
data "hcloud_ssh_keys" "all" {}
data "hcloud_ssh_keys" "filter_with_selector" {
data "hcloud_ssh_keys" "by_label" {
with_selector = "foo=bar"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/hcloud_ssh_key/data-source.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data "hcloud_ssh_key" "by_fingerprint" {
fingerprint = "55:58:dc:bd:61:6e:7d:24:07:a7:7d:9b:be:99:83:a8"
}

data "hcloud_ssh_key" "by_selector" {
data "hcloud_ssh_key" "by_label" {
with_selector = "key=value"
}

Expand Down
2 changes: 1 addition & 1 deletion examples/data-sources/hcloud_ssh_keys/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data "hcloud_ssh_keys" "all" {}

data "hcloud_ssh_keys" "filter_with_selector" {
data "hcloud_ssh_keys" "by_label" {
with_selector = "foo=bar"
}

Expand Down

0 comments on commit e5f3432

Please sign in to comment.