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 6a0f19b commit 211a043
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 @@ -17,10 +17,10 @@ resource "tls_private_key" "certificate" {

resource "tls_cert_request" "certificate" {
private_key_pem = tls_private_key.certificate.private_key_pem
dns_names = local.ca_cert_san
dns_names = local.cert_san

subject {
common_name = local.ca_dns_name
common_name = local.cert_dns
country = lookup(var.certificate_subject_overrides, "c", local._defaults.certificate["c"])
organization = lookup(var.certificate_subject_overrides, "o", local._defaults.certificate["o"])
organizational_unit = lookup(var.certificate_subject_overrides, "ou", local._defaults.certificate["ou"])
Expand Down

0 comments on commit 211a043

Please sign in to comment.