Skip to content

Commit

Permalink
tf check error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kverma committed Oct 4, 2023
1 parent 6d7d59b commit 6077e2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _example/generate-certificate-dns/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ provider "aws" {
region = "eu-west-1"
}

locals {
domain = "clouddrove.com"
}

##-----------------------------------------------------------------------------
## acm Module call with DNS.
##-----------------------------------------------------------------------------
Expand All @@ -12,5 +16,5 @@ module "acm" {
environment = "test"

domain_name = "clouddrove.com"
subject_alternative_names = ["*.${var.domain}", "www.${var.domain}"]
subject_alternative_names = ["*.${local.domain}", "www.${local.domain}"]
}

0 comments on commit 6077e2d

Please sign in to comment.