Skip to content

Commit

Permalink
Feature/add id output (#9)
Browse files Browse the repository at this point in the history
* added amplify id as output

* space back

* docs
  • Loading branch information
Dvelezs94 authored May 24, 2023
1 parent ea6b1af commit fa90481
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ Available targets:
| <a name="output_default_domain"></a> [default\_domain](#output\_default\_domain) | Amplify App domain (non-custom) |
| <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_id"></a> [id](#output\_id) | Amplify App Id |
| <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 |
Expand Down
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
| <a name="output_default_domain"></a> [default\_domain](#output\_default\_domain) | Amplify App domain (non-custom) |
| <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_id"></a> [id](#output\_id) | Amplify App Id |
| <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 |
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ output "arn" {
value = one(aws_amplify_app.default[*].arn)
}

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

output "default_domain" {
description = "Amplify App domain (non-custom)"
value = one(aws_amplify_app.default[*].default_domain)
Expand Down

0 comments on commit fa90481

Please sign in to comment.