diff --git a/terraform/terraform.tfvars b/terraform/terraform.tfvars index 660a6ba..f7bb94e 100644 --- a/terraform/terraform.tfvars +++ b/terraform/terraform.tfvars @@ -4,6 +4,7 @@ hcloud_server_type = "cx23" hcloud_image = "debian-13" hcloud_location = "nbg1" +record_name = "@" cloudflare_proxied = true # Note: Use file() to easily read your local SSH public key diff --git a/terraform/variables.tf b/terraform/variables.tf index 062b660..1cf5fa0 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -45,6 +45,12 @@ variable "domain_name" { description = "Cloudflare zone (apex domain) in which to create the A record" } +variable "record_name" { + type = string + description = "DNS record name relative to the zone; use \"@\" for the apex" + default = "dokploy" +} + variable "cloudflare_proxied" { type = bool description = "Whether Cloudflare should proxy (orange-cloud) the A record"