Terraform resource: aws acm certificate

From wikieduonline
Revision as of 12:12, 12 August 2024 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

aws_acm_certificate [1] resource

Arguments[edit]

Examples[edit]

resource "aws_acm_certificate" "cert" {
 domain_name       = "example.com"
 validation_method = "DNS"

 tags = {
   Environment = "test"
 }

 lifecycle {
   create_before_destroy = true
 }
}
resource "aws_acm_certificate" "cert" {
 domain_name       = "example.com"
 subject_alternative_names = ["*.example.com"]
 validation_method = "DNS"

 tags = {
   Name = "your cert name"
   Environment = var.env
 }

 lifecycle {
   create_before_destroy = true
 }
}

Related[edit]

See also[edit]

Advertising: