From c3486dcd58aca80f057072693d39dfe014de9ca0 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 5 Jan 2024 16:22:06 -0500 Subject: [PATCH] fix --- acmpca/certificate.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acmpca/certificate.tf b/acmpca/certificate.tf index 94080d6..4c835c9 100644 --- a/acmpca/certificate.tf +++ b/acmpca/certificate.tf @@ -35,7 +35,7 @@ resource "aws_acmpca_certificate" "certificate" { type = "DAYS" value = var.validity_days } - template_arn = local.ca_settings.template_arns["SubordinateCACertificate_PathLen0/V1"] + template_arn = local.ca_settings.template_arns[local.ca_type] lifecycle { create_before_destroy = true precondition {