The ACM certificate resource allows requesting and management of certificates from the Amazon Certificate Manager.
| Name | Version |
|---|---|
| terraform | >= 0.14 |
| aws | >= 3 |
| Name | Type |
|---|---|
| aws_acm_certificate.acm_certificate | resource |
| aws_acm_certificate_validation.validation | resource |
| aws_route53_record.validation | resource |
| aws_route53_zone.route53_zone | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| domain_name | A domain name for which the certificate should be issued | string |
n/a | yes |
| naked | Specifies if it is a naked domain or not. | bool |
false |
no |
| name | Certificate name | string |
n/a | yes |
| tags | Map of tags to assign to the resource. | map(string) |
null |
no |
| validate | Whether or not to validate certificate using DNS. | bool |
true |
no |
| Name | Description |
|---|---|
| arn | ARN of the certificate. |
| domain_name | Domain name for which the certificate is issued. |
export AWS_PROFILE='stage'
cd example
tfswitch
terraform init
terraform plan