Skip to content

Commit

Permalink
Add domain_name to outputs (#50)
Browse files Browse the repository at this point in the history
* Add domain_name to outputs

* Updated README.md

Co-authored-by: actions-bot <[email protected]>
  • Loading branch information
jhenderson and actions-bot authored Apr 28, 2020
1 parent e9dfd3d commit a4885a6
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 @@ -200,6 +200,7 @@ Available targets:
| domain_endpoint | Domain-specific endpoint used to submit index, search, and data upload requests |
| domain_hostname | Elasticsearch domain hostname to submit index, search, and data upload requests |
| domain_id | Unique identifier for the Elasticsearch domain |
| domain_name | Name of the Elasticsearch domain |
| elasticsearch_user_iam_role_arn | The ARN of the IAM role to allow access to Elasticsearch cluster |
| elasticsearch_user_iam_role_name | The name of the IAM role to allow access to Elasticsearch cluster |
| kibana_endpoint | Domain-specific endpoint for Kibana without https scheme |
Expand Down
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
| domain_endpoint | Domain-specific endpoint used to submit index, search, and data upload requests |
| domain_hostname | Elasticsearch domain hostname to submit index, search, and data upload requests |
| domain_id | Unique identifier for the Elasticsearch domain |
| domain_name | Name of the Elasticsearch domain |
| elasticsearch_user_iam_role_arn | The ARN of the IAM role to allow access to Elasticsearch cluster |
| elasticsearch_user_iam_role_name | The name of the IAM role to allow access to Elasticsearch cluster |
| kibana_endpoint | Domain-specific endpoint for Kibana without https scheme |
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 "domain_id" {
description = "Unique identifier for the Elasticsearch domain"
}

output "domain_name" {
value = join("", aws_elasticsearch_domain.default.*.domain_name)
description = "Name of the Elasticsearch domain"
}

output "domain_endpoint" {
value = join("", aws_elasticsearch_domain.default.*.endpoint)
description = "Domain-specific endpoint used to submit index, search, and data upload requests"
Expand Down

0 comments on commit a4885a6

Please sign in to comment.