We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722d6be commit 8a051bbCopy full SHA for 8a051bb
registry/melmathari/templates/hetzner-cloud/main.tf
@@ -16,12 +16,11 @@ variable "hcloud_token" {
16
description = "Hetzner Cloud API token for authentication"
17
type = string
18
sensitive = true
19
- default = ""
20
}
21
22
# Configure the Hetzner Cloud Provider
23
provider "hcloud" {
24
- token = var.hcloud_token != "" ? var.hcloud_token : null
+ token = var.hcloud_token
25
26
27
data "coder_workspace" "me" {}
@@ -209,7 +208,6 @@ variable "ssh_key_id" {
209
208
$ hcloud ssh-key list
210
EOF
211
212
- default = 0
213
214
validation {
215
condition = var.ssh_key_id >= 0
0 commit comments