From f48359749bd259c576d5cc7d4165deb7b0f8022c Mon Sep 17 00:00:00 2001 From: Shayne Clausson Date: Fri, 12 Jul 2024 20:38:55 +0200 Subject: [PATCH] fix syntax error with variable --- provider.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider.tf b/provider.tf index 5ea0011..705bef0 100644 --- a/provider.tf +++ b/provider.tf @@ -19,7 +19,7 @@ terraform { } locals { - acme_server_url = var.environment == "production" ? "https://acme-v02.api.letsencrypt.org/directory" : "https://acme-staging-v02.api.letsencrypt.org/directory" + acme_server_url = var.acme_environment == "production" ? "https://acme-v02.api.letsencrypt.org/directory" : "https://acme-staging-v02.api.letsencrypt.org/directory" } provider "acme" {