Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 2.58 KB

File metadata and controls

56 lines (46 loc) · 2.58 KB

Elasticsearch Provider

This is a terraform provider that lets you provision elasticsearch resources, compatible with v6, v7 and v8 of elasticsearch. For Elasticsearch 8, you need to use branch and release 8.x For Elasticsearch 7, you need to use branch and release 7.x For Elasticsearch 6, you need to use branch and release 6.x

We fork this project for the following items:

Example Usage

The Elasticsearch provider is used to interact with the resources supported by Elasticsearch. The provider needs to be configured with an endpoint URL before it can be used.

Sample:

provider "elasticsearch" {
    urls     = "http://elastic.company.com:9200"
    username = "elastic"
    password = "changeme"
}

Argument Reference

The following arguments are supported:

  • urls: (required) The list of endpoint Elasticsearch URL, separated by comma.
  • username: (optional) The username to connect on it.
  • password: (optional) The password to connect on it.
  • insecure: (optional) To disable the certificate check.
  • cacert_file: (optional) The CA contend to use if you use custom PKI.
  • retry: (optional) The number of time you should to retry connexion befaore exist with error. Default to 6.
  • wait_before_retry: (optional) The number of time in second we wait before each connexion retry. Default to 10.

Resource / Data