Skip to content

Commit d64d26e

Browse files
tbpoetkeTommycloudpossebotaknyshTommy
authored
adding validation certificate_arn output (cloudposse#59)
* adding output for certification status * adding output of the validated arn * remove obsolete certstatus output * remove newline * Auto Format * Update outputs.tf Co-authored-by: Andriy Knysh <[email protected]> * Auto Format * Update outputs.tf Co-authored-by: Andriy Knysh <[email protected]> * Auto Format * add versions.tf to examples * adding output to the examples Co-authored-by: Tommy <[email protected]> Co-authored-by: cloudpossebot <[email protected]> Co-authored-by: Andriy Knysh <[email protected]> Co-authored-by: Tommy <[email protected]>
1 parent 8eae0d8 commit d64d26e

File tree

7 files changed

+26
-3
lines changed

7 files changed

+26
-3
lines changed

.github/auto-release.yml

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ version-resolver:
1717
- 'bugfix'
1818
- 'bug'
1919
- 'hotfix'
20-
- 'no-release'
2120
default: 'minor'
2221

2322
categories:

.github/renovate.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
":preserveSemverRanges"
55
],
66
"labels": ["auto-update"],
7+
"dependencyDashboardAutoclose": true,
78
"enabledManagers": ["terraform"],
89
"terraform": {
910
"ignorePaths": ["**/context.tf", "examples/**"]
1011
}
1112
}
12-

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ Available targets:
208208
| <a name="output_arn"></a> [arn](#output\_arn) | The ARN of the certificate |
209209
| <a name="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 |
210210
| <a name="output_id"></a> [id](#output\_id) | The ID of the certificate |
211+
| <a name="output_validation_certificate_arn"></a> [validation\_certificate\_arn](#output\_validation\_certificate\_arn) | Certificate ARN from the `aws_acm_certificate_validation` resource |
211212
| <a name="output_validation_id"></a> [validation\_id](#output\_validation\_id) | The ID of the certificate validation |
212213
<!-- markdownlint-restore -->
213214

@@ -374,7 +375,7 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
374375

375376
[![README Footer][readme_footer_img]][readme_footer_link]
376377
[![Beacon][beacon]][website]
377-
378+
<!-- markdownlint-disable -->
378379
[logo]: https://cloudposse.com/logo-300x69.svg
379380
[docs]: https://cpco.io/docs?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-acm-request-certificate&utm_content=docs
380381
[website]: https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-acm-request-certificate&utm_content=website
@@ -405,3 +406,4 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
405406
[share_googleplus]: https://plus.google.com/share?url=https://github.com/cloudposse/terraform-aws-acm-request-certificate
406407
[share_email]: mailto:?subject=terraform-aws-acm-request-certificate&body=https://github.com/cloudposse/terraform-aws-acm-request-certificate
407408
[beacon]: https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse/terraform-aws-acm-request-certificate?pixel&cs=github&cm=readme&an=terraform-aws-acm-request-certificate
409+
<!-- markdownlint-restore -->

docs/terraform.md

+1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@
6767
| <a name="output_arn"></a> [arn](#output\_arn) | The ARN of the certificate |
6868
| <a name="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 |
6969
| <a name="output_id"></a> [id](#output\_id) | The ID of the certificate |
70+
| <a name="output_validation_certificate_arn"></a> [validation\_certificate\_arn](#output\_validation\_certificate\_arn) | Certificate ARN from the `aws_acm_certificate_validation` resource |
7071
| <a name="output_validation_id"></a> [validation\_id](#output\_validation\_id) | The ID of the certificate validation |
7172
<!-- markdownlint-restore -->

examples/complete/outputs.tf

+5
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ output "certificate_domain_validation_options" {
3232
value = module.acm_request_certificate.domain_validation_options
3333
description = "CNAME records that are added to the DNS zone to complete certificate validation"
3434
}
35+
36+
output "validation_certificate_arn" {
37+
value = module.acm_request_certificate.validation_certificate_arn
38+
description = "Certificate ARN from the `aws_acm_certificate_validation` resource"
39+
}

examples/complete/versions.tf

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
terraform {
2+
required_version = ">= 0.13"
3+
4+
required_providers {
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 3.0"
8+
}
9+
}
10+
}

outputs.tf

+6
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ output "validation_id" {
1717
value = join("", aws_acm_certificate_validation.default.*.id)
1818
description = "The ID of the certificate validation"
1919
}
20+
21+
output "validation_certificate_arn" {
22+
value = join("", aws_acm_certificate_validation.default.*.certificate_arn)
23+
description = "Certificate ARN from the `aws_acm_certificate_validation` resource"
24+
}
25+

0 commit comments

Comments
 (0)