You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform module to request an ACM certificate for a domain and add a CNAME record to the DNS zone to complete certificate validation
11
+
Terraform module to request an ACM certificate for a domain and add a CNAME record to the DNS zone to complete certificate validation
12
12
13
13
14
14
---
@@ -44,13 +44,18 @@ We literally have [*hundreds of terraform modules*][terraform_modules] that are
44
44
45
45
## Usage
46
46
47
+
48
+
**IMPORTANT:** The `master` branch is used in `source` just as an example. In your code, do not pin to `master` because there may be breaking changes between releases.
49
+
Instead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest releases](https://github.com/cloudposse/terraform-aws-acm-request-certificate/releases).
50
+
51
+
47
52
This example will request an SSL certificate for `example.com` domain
| Name | Description | Type | Default | Required |
88
93
|------|-------------|:----:|:-----:|:-----:|
89
94
| domain_name | A domain name for which the certificate should be issued | string | - | yes |
90
-
| process_domain_validation_options | Flag to enable/disable processing of the record to add to the DNS zone to complete certificate validation | string |`true`| no |
91
-
| subject_alternative_names | A list of domains that should be SANs in the issued certificate | list |`<list>`| no |
| enabled | Set to false to prevent the module from creating or accessing any resources | bool |`true`| no |
96
+
| process_domain_validation_options | Flag to enable/disable processing of the record to add to the DNS zone to complete certificate validation | bool |`true`| no |
97
+
| subject_alternative_names | A list of domains that should be SANs in the issued certificate | list(string) |`<list>`| no |
| ttl | The TTL of the record to add to the DNS zone to complete certificate validation | string |`300`| no |
94
-
| validation_method | Which method to use for validation, DNS or EMAIL | string |`DNS`| no |
100
+
| validation_method | Method to use for validation, DNS or EMAIL | string |`DNS`| no |
101
+
| wait_for_certificate_issued | Whether to wait for the certificate to be issued by ACM (the certificate status changed from `Pending Validation` to `Issued`) | bool |`false`| no |
95
102
| zone_name | The name of the desired Route53 Hosted Zone | string | `` | no |
96
103
97
104
## Outputs
@@ -100,7 +107,7 @@ Available targets:
100
107
|------|-------------|
101
108
| arn | The ARN of the certificate |
102
109
| domain_validation_options | CNAME records that are added to the DNS zone to complete certificate validation |
103
-
| id | The ARN of the certificate |
110
+
| id | The ID of the certificate |
104
111
105
112
106
113
@@ -238,11 +245,15 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
Copy file name to clipboardExpand all lines: docs/terraform.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,13 @@
3
3
| Name | Description | Type | Default | Required |
4
4
|------|-------------|:----:|:-----:|:-----:|
5
5
| domain_name | A domain name for which the certificate should be issued | string | - | yes |
6
-
| process_domain_validation_options | Flag to enable/disable processing of the record to add to the DNS zone to complete certificate validation | string |`true`| no |
7
-
| subject_alternative_names | A list of domains that should be SANs in the issued certificate | list |`<list>`| no |
| enabled | Set to false to prevent the module from creating or accessing any resources | bool |`true`| no |
7
+
| process_domain_validation_options | Flag to enable/disable processing of the record to add to the DNS zone to complete certificate validation | bool |`true`| no |
8
+
| subject_alternative_names | A list of domains that should be SANs in the issued certificate | list(string) |`<list>`| no |
| ttl | The TTL of the record to add to the DNS zone to complete certificate validation | string |`300`| no |
10
-
| validation_method | Which method to use for validation, DNS or EMAIL | string |`DNS`| no |
11
+
| validation_method | Method to use for validation, DNS or EMAIL | string |`DNS`| no |
12
+
| wait_for_certificate_issued | Whether to wait for the certificate to be issued by ACM (the certificate status changed from `Pending Validation` to `Issued`) | bool |`false`| no |
11
13
| zone_name | The name of the desired Route53 Hosted Zone | string | `` | no |
12
14
13
15
## Outputs
@@ -16,5 +18,5 @@
16
18
|------|-------------|
17
19
| arn | The ARN of the certificate |
18
20
| domain_validation_options | CNAME records that are added to the DNS zone to complete certificate validation |
0 commit comments