This commit is contained in:
2024-01-26 12:45:59 +01:00
parent bc5c15988c
commit f859b06bee
16 changed files with 292 additions and 310 deletions

View File

@@ -15,7 +15,7 @@ locals {
}
resource "kubectl_manifest" "prj_certificate" {
count = var.create-cert?1:0
count = var.create_cert?1:0
yaml_body = <<-EOF
apiVersion: "cert-manager.io/v1"
kind: "Certificate"

View File

@@ -31,7 +31,7 @@ variable "create-redirect" {
type = bool
default = false
}
variable "create-cert" {
variable "create_cert" {
type = bool
default = true
}