Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kjmkznr/terraform-provider-elasticsearch

Terraform Provider for Elasticsearch
https://github.com/kjmkznr/terraform-provider-elasticsearch

elasticsearch terraform terraform-provider

Last synced: 16 days ago
JSON representation

Terraform Provider for Elasticsearch

Awesome Lists containing this project

README

        

Terraform provider for elasticsearch
====================================

A [Terraform](https://www.terraform.io/) plugin that provides resources for elasticsearch

[![Build Status](https://travis-ci.org/kjmkznr/terraform-provider-elasticsearch.svg?branch=master)](https://travis-ci.org/kjmkznr/terraform-provider-elasticsearch)

Install
-------

* Download the latest release for your platform.
* Rename the executable to `terraform-provider-elasticsearch`

Provider Configuration
----------------------

### Example

```
provider "elasticsearch" {
url = "http://localhost:9200"
es_version = "v5"
}
```

or

```
provider "elasticsearch" {}
```

### Reference

* `url` - (Required) Endpoint of elasticsearch
* `es_version` - (Default v5) Version of elasticsearch

Resources
---------

### `elasticsearch_index_template`

Configure a Elasticsearch index template.

#### Example
```
resource "elasticsearch_index_template" "foobar" {
name = "template1"
template = <