Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 5, 2024
1 parent 6e11efa commit 6a0f19b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acmpca/certificate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ locals {
cert_dns = lower(var.certificate_dns)
cert_san = distinct([for f in compact(concat([local.cert_dns], var.certificate_san)) : lower(f)])

ca_mode = lookup(local._defaults["mode"], var.certificate_mode, null)
ca_type = lookup(local._defaults["template"], var.cerificate_type, null)
ca_mode = lookup(local._defaults["mode"], var.certificate_authority_mode, null)
ca_type = lookup(local._defaults["template"], var.certificate_type, null)
ca_settings = var.certificate_mode == "general" ? local.ca_longterm_settings : local.ca_shortterm_settings

output_file_directory = var.output_file_directory != null ? var.output_file_directory : format("%v/%v", path.root, "certs")
Expand Down

0 comments on commit 6a0f19b

Please sign in to comment.