Difference between revisions of "Terraform resource: aws acm certificate"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 41: Line 41:
 
* [[Terraform ACM]]
 
* [[Terraform ACM]]
 
* [[AWS ALB]]
 
* [[AWS ALB]]
[[aws_acm_certificate_validation]]
+
* [[aws_acm_certificate_validation]]
 +
* [[CertificateNotFound]]
  
 
== See also ==
 
== See also ==

Revision as of 06:29, 21 March 2023

Examples

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
 }
}

Arguments

  • id - The ARN of the certificate
  • arn - The ARN of the certificate

Related

See also

Advertising: