Skip to content

Commit c102fd0

Browse files
authored
feat: Add domain_name output (#48)
1 parent f6909db commit c102fd0

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ No modules.
241241
| <a name="output_domain_endpoint_v2"></a> [domain\_endpoint\_v2](#output\_domain\_endpoint\_v2) | V2 domain endpoint that works with both IPv4 and IPv6 addresses, used to submit index, search, and data upload requests |
242242
| <a name="output_domain_endpoint_v2_hosted_zone_id"></a> [domain\_endpoint\_v2\_hosted\_zone\_id](#output\_domain\_endpoint\_v2\_hosted\_zone\_id) | Dual stack hosted zone ID for the domain. |
243243
| <a name="output_domain_id"></a> [domain\_id](#output\_domain\_id) | The unique identifier for the domain |
244+
| <a name="output_domain_name"></a> [domain\_name](#output\_domain\_name) | The name of the domain |
244245
| <a name="output_outbound_connections"></a> [outbound\_connections](#output\_outbound\_connections) | Map of outbound connections created and their attributes |
245246
| <a name="output_package_associations"></a> [package\_associations](#output\_package\_associations) | Map of package associations created and their attributes |
246247
| <a name="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn) | Amazon Resource Name (ARN) of the security group |

examples/complete/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ No inputs.
6161
| <a name="output_domain_dashboard_endpoint"></a> [domain\_dashboard\_endpoint](#output\_domain\_dashboard\_endpoint) | Domain-specific endpoint for Dashboard without https scheme |
6262
| <a name="output_domain_endpoint"></a> [domain\_endpoint](#output\_domain\_endpoint) | Domain-specific endpoint used to submit index, search, and data upload requests |
6363
| <a name="output_domain_id"></a> [domain\_id](#output\_domain\_id) | The unique identifier for the domain |
64+
| <a name="output_domain_name"></a> [domain\_name](#output\_domain\_name) | The name of the domain |
6465
| <a name="output_outbound_connections"></a> [outbound\_connections](#output\_outbound\_connections) | Map of outbound connections created and their attributes |
6566
| <a name="output_package_associations"></a> [package\_associations](#output\_package\_associations) | Map of package associations created and their attributes |
6667
| <a name="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn) | Amazon Resource Name (ARN) of the security group |

examples/complete/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ output "domain_id" {
1212
value = module.opensearch.domain_id
1313
}
1414

15+
output "domain_name" {
16+
description = "The name of the domain"
17+
value = module.opensearch.domain_name
18+
}
19+
1520
output "domain_endpoint" {
1621
description = "Domain-specific endpoint used to submit index, search, and data upload requests"
1722
value = module.opensearch.domain_endpoint

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ output "domain_id" {
1212
value = try(aws_opensearch_domain.this[0].domain_id, null)
1313
}
1414

15+
output "domain_name" {
16+
description = "The name of the domain"
17+
value = try(aws_opensearch_domain.this[0].domain_name, null)
18+
}
19+
1520
output "domain_endpoint" {
1621
description = "Domain-specific endpoint used to submit index, search, and data upload requests"
1722
value = try(aws_opensearch_domain.this[0].endpoint, null)

0 commit comments

Comments
 (0)