Skip to content

Commit

Permalink
Add sub_domains output (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh authored Apr 21, 2023
1 parent 9043680 commit a2e25b6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ Available targets:
| <a name="output_domain_association_arn"></a> [domain\_association\_arn](#output\_domain\_association\_arn) | ARN of the domain association |
| <a name="output_domain_association_certificate_verification_dns_record"></a> [domain\_association\_certificate\_verification\_dns\_record](#output\_domain\_association\_certificate\_verification\_dns\_record) | The DNS record for certificate verification |
| <a name="output_name"></a> [name](#output\_name) | Amplify App name |
| <a name="output_sub_domains"></a> [sub\_domains](#output\_sub\_domains) | DNS records and the verified status for the subdomains |
| <a name="output_webhooks"></a> [webhooks](#output\_webhooks) | Created webhooks |
<!-- markdownlint-restore -->

Expand Down
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@
| <a name="output_domain_association_arn"></a> [domain\_association\_arn](#output\_domain\_association\_arn) | ARN of the domain association |
| <a name="output_domain_association_certificate_verification_dns_record"></a> [domain\_association\_certificate\_verification\_dns\_record](#output\_domain\_association\_certificate\_verification\_dns\_record) | The DNS record for certificate verification |
| <a name="output_name"></a> [name](#output\_name) | Amplify App name |
| <a name="output_sub_domains"></a> [sub\_domains](#output\_sub\_domains) | DNS records and the verified status for the subdomains |
| <a name="output_webhooks"></a> [webhooks](#output\_webhooks) | Created webhooks |
<!-- markdownlint-restore -->
7 changes: 6 additions & 1 deletion examples/complete/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ output "name" {
}

output "arn" {
description = "Amplify App ARN "
description = "Amplify App ARN"
value = module.amplify_app.arn
}

Expand Down Expand Up @@ -37,3 +37,8 @@ output "domain_association_certificate_verification_dns_record" {
description = "The DNS record for certificate verification"
value = module.amplify_app.domain_association_certificate_verification_dns_record
}

output "sub_domains" {
description = "DNS records and the verified status for the subdomains"
value = module.amplify_app.sub_domains
}
7 changes: 6 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ output "name" {
}

output "arn" {
description = "Amplify App ARN "
description = "Amplify App ARN"
value = one(aws_amplify_app.default[*].arn)
}

Expand Down Expand Up @@ -37,3 +37,8 @@ output "domain_association_certificate_verification_dns_record" {
description = "The DNS record for certificate verification"
value = one(aws_amplify_domain_association.default[*].certificate_verification_dns_record)
}

output "sub_domains" {
description = "DNS records and the verified status for the subdomains"
value = one(aws_amplify_domain_association.default[*].sub_domain)
}

0 comments on commit a2e25b6

Please sign in to comment.