Skip to content

Commit ea475f8

Browse files
committed
chore: hardcoded ionoscloud provider
1 parent 64cce22 commit ea475f8

2 files changed

Lines changed: 1 addition & 17 deletions

File tree

modules/buildingblocks/seaweedfs-composition/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ locals {
1212
public_ip = var.k8s_platform == "azure" ? var.aks_public_ip : var.ionos_public_ip
1313

1414
# Let's Encrypt challenge type: Azure uses HTTP (NLB with TLS passthrough), IONOS uses DNS (ALB without TLS passthrough)
15-
lets_encrypt_challenge = var.k8s_platform == "azure" ? "http" : var.lets_encrypt_challenge
15+
lets_encrypt_challenge = var.k8s_platform == "azure" ? "http" : "dns"
1616
lets_encrypt_dns_provider = var.k8s_platform == "ionos" ? "ionoscloud" : ""
1717

1818
# Domain configuration: Azure uses meshcloud.io, IONOS uses ionos.msh.host

modules/buildingblocks/seaweedfs-composition/variables.tf

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,3 @@ variable "namespace_definition_version_uuid" {
9898
description = "UUID of the namespace building block definition version."
9999
}
100100

101-
variable "lets_encrypt_challenge" {
102-
type = string
103-
default = "http"
104-
description = "Let's Encrypt challenge type: 'http' for Azure (NLB with TLS passthrough), 'dns' for IONOS (ALB without TLS passthrough)."
105-
106-
validation {
107-
condition = contains(["http", "dns"], var.lets_encrypt_challenge)
108-
error_message = "lets_encrypt_challenge must be either 'http' or 'dns'."
109-
}
110-
}
111-
112-
variable "lets_encrypt_dns_provider" {
113-
type = string
114-
default = "ionoscloud"
115-
description = "DNS provider for Let's Encrypt DNS-01 challenge. Use 'ionoscloud' for IONOS Cloud DNS."
116-
}

0 commit comments

Comments
 (0)