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
Add certificate_authority_arn for private CAs (#53)
* Ensure domain names & SANs are lower-case
If you provide an upper-case domain name, this module fails with the following error:
on .terraform/modules/my_certificate/main.tf line 37, in resource "aws_route53_record" "default":
37: name = each.value.name
A reference to "each.value" has been used in a context in which it
unavailable, such as when the configuration no longer contains the value in
its "for_each" expression. Remove this reference to each.value in your
configuration to work around this error.
* Auto Format
* Update Terraform minimum version to 0.13
Variable validation requires 0.13.0.
* Auto Format
* Fix condition
* Add output to allow dependencies to run post validation.
* Add certificate_authority_arn
* Add certificate_authority_arn
* Auto Format
* Add to contributors
* Auto Format
* Auto Format
* Added back markdown missing from PR
* Auto Format
* Bump LICENSE to 2022
Co-authored-by: Alex Jurkiewicz <[email protected]>
Co-authored-by: cloudpossebot <[email protected]>
Co-authored-by: Michael Arnold <[email protected]>
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
176
176
| <aname="input_attributes"></a> [attributes](#input\_attributes)| ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. |`list(string)`|`[]`| no |
177
+
| <aname="input_certificate_authority_arn"></a> [certificate\_authority\_arn](#input\_certificate\_authority\_arn)| ARN of an ACM PCA |`string`|`null`| no |
177
178
| <aname="input_certificate_transparency_logging_preference"></a> [certificate\_transparency\_logging\_preference](#input\_certificate\_transparency\_logging\_preference)| Specifies whether certificate details should be added to a certificate transparency log |`bool`|`true`| no |
178
179
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
179
180
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between ID elements.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
@@ -207,6 +208,7 @@ Available targets:
207
208
| <aname="output_arn"></a> [arn](#output\_arn)| The ARN of the certificate |
208
209
| <aname="output_domain_validation_options"></a> [domain\_validation\_options](#output\_domain\_validation\_options)| CNAME records that are added to the DNS zone to complete certificate validation |
209
210
| <aname="output_id"></a> [id](#output\_id)| The ID of the certificate |
211
+
| <aname="output_validation_id"></a> [validation\_id](#output\_validation\_id)| The ID of the certificate validation |
210
212
<!-- markdownlint-restore -->
211
213
212
214
@@ -355,8 +357,8 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
35
35
| <aname="input_attributes"></a> [attributes](#input\_attributes)| ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. |`list(string)`|`[]`| no |
36
+
| <aname="input_certificate_authority_arn"></a> [certificate\_authority\_arn](#input\_certificate\_authority\_arn)| ARN of an ACM PCA |`string`|`null`| no |
36
37
| <aname="input_certificate_transparency_logging_preference"></a> [certificate\_transparency\_logging\_preference](#input\_certificate\_transparency\_logging\_preference)| Specifies whether certificate details should be added to a certificate transparency log |`bool`|`true`| no |
37
38
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
38
39
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between ID elements.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
@@ -66,4 +67,5 @@
66
67
| <aname="output_arn"></a> [arn](#output\_arn)| The ARN of the certificate |
67
68
| <aname="output_domain_validation_options"></a> [domain\_validation\_options](#output\_domain\_validation\_options)| CNAME records that are added to the DNS zone to complete certificate validation |
68
69
| <aname="output_id"></a> [id](#output\_id)| The ID of the certificate |
70
+
| <aname="output_validation_id"></a> [validation\_id](#output\_validation\_id)| The ID of the certificate validation |
0 commit comments