Skip to content

Commit

Permalink
feat: Outputs status of the TEM domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-garcia committed Apr 26, 2024
1 parent 2f65f72 commit 65df463
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module "my_domain" {
| <a name="output_dns_zone"></a> [dns_zone](#output_dns_zone) | DNS Zone of the domain. |
| <a name="output_tem_id"></a> [tem_id](#output_tem_id) | ID of the Transaction Email Domain. |
| <a name="output_tem_reputation"></a> [tem_reputation](#output_tem_reputation) | Reputation of the Transaction Email Domain. |
| <a name="output_tem_status"></a> [tem_status](#output_tem_status) | Status of the Transaction Email Domain. |
| <a name="output_tem_validated"></a> [tem_validated](#output_tem_validated) | Indicates if the domain has been verified for email sending. |
<!-- END_TF_DOCS -->

Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ output "tem_reputation" {
value = try(scaleway_tem_domain.this[0].reputation, null)
}

output "tem_status" {
description = "Status of the Transaction Email Domain."
value = try(scaleway_tem_domain.this[0].status, null)
}

output "tem_validated" {
description = "Indicates if the domain has been verified for email sending."
value = try(scaleway_tem_domain_validation.this[0].validated, null)
Expand Down

0 comments on commit 65df463

Please sign in to comment.