added missing vars
Some checks failed
Deployment / deploy-docker (push) Failing after 5s

This commit is contained in:
Melchior Reimers
2026-02-04 13:33:02 +01:00
parent ab248c4dbe
commit 8be40136e4
2 changed files with 36 additions and 30 deletions

11
main.tf
View File

@@ -10,6 +10,7 @@ locals {
username = var.username
ssh_public_key = var.ssh_public_key
distro_id = vars.distro_id
})
}
@@ -73,4 +74,14 @@ resource "hcloud_firewall" "vps" {
resource "hcloud_firewall_attachment" "vps" {
firewall_id = hcloud_firewall.vps.id
server_ids = [hcloud_server.vps.id]
}
variable "distro_id" {
type = string
default = "ubuntu"
}
variable "hcloud_token" {
description = "Hetzner Cloud API token"
type = string
sensitive = true
}