Data Source: azurerm_elastic_cloud_elasticsearch

Use this data source to access information about an existing Elasticsearch resource.

Example Usage

data "azurerm_elastic_cloud_elasticsearch" "example" {
  name                = "my-elastic-search"
  resource_group_name = "example-resources"
}

output "elasticsearch_endpoint" {
  value = data.azurerm_elastic_cloud_elasticsearch.example.elasticsearch_service_url
}

output "kibana_endpoint" {
  value = data.azurerm_elastic_cloud_elasticsearch.example.kibana_service_url
}

Arguments Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


The filtering_tag block exports the following:


The logs block exports the following:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: