Difference between revisions of "Terraform resource: aws acm certificate"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
== Example == | == Example == | ||
+ | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/acm_certificate#create-certificate | ||
resource "aws_acm_certificate" "cert" { | resource "aws_acm_certificate" "cert" { | ||
domain_name = "example.com" | domain_name = "example.com" | ||
validation_method = "DNS" | validation_method = "DNS" | ||
− | + | ||
tags = { | tags = { | ||
Environment = "test" | Environment = "test" | ||
} | } | ||
− | + | ||
lifecycle { | lifecycle { | ||
create_before_destroy = true | create_before_destroy = true |
Revision as of 15:16, 12 January 2023
Contents
Example
resource "aws_acm_certificate" "cert" { domain_name = "example.com" validation_method = "DNS" tags = { Environment = "test" } lifecycle { create_before_destroy = true } }
Arguments
id
- The ARN of the certificatearn
- The ARN of the certificate
Related
See also
- Amazon Certificate Manager,
aws acm
[list-certificates
|request-certificate | delete-certificate | describe-certificate | import-certificate]
- Amazon Certificate Manager (ACM),
aws acm
, Terraform resource: aws acm certificate,UnsupportedCertificate
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: