All Projects → elastic → Terraform Provider Ec

elastic / Terraform Provider Ec

Licence: apache-2.0
Terraform provider for the Elasticsearch Service and Elastic Cloud Enterprise

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Terraform Provider Ec

Elastic Apm Php Agent
PHP Agent for Elastic APM
Stars: ✭ 283 (+298.59%)
Mutual labels:  elastic
Milvus
An open-source vector database for embedding similarity search and AI applications.
Stars: ✭ 9,015 (+12597.18%)
Mutual labels:  elastic
App Search Php
Elastic App Search Official PHP Client
Stars: ✭ 48 (-32.39%)
Mutual labels:  elastic
Elasticdragdismisslayout
Standard ViewGroups which responds to nested scrolls to create drag-dismissable layouts.
Stars: ✭ 312 (+339.44%)
Mutual labels:  elastic
Elasticview
Elastic view is a regular CardView, which can flex from user touches
Stars: ✭ 566 (+697.18%)
Mutual labels:  elastic
Php Es Mapper
An elasticsearch simple mapping ORM for php
Stars: ✭ 25 (-64.79%)
Mutual labels:  elastic
Helk
The Hunting ELK
Stars: ✭ 3,097 (+4261.97%)
Mutual labels:  elastic
Prometheusbeat
send prometheus metrics to elastic
Stars: ✭ 69 (-2.82%)
Mutual labels:  elastic
Elasticviews
✨ An easy way to implement an elastic touch effect for Android.
Stars: ✭ 588 (+728.17%)
Mutual labels:  elastic
Siem From Scratch
SIEM-From-Scratch is a drop-in ELK based SIEM component for your Vagrant infosec lab
Stars: ✭ 31 (-56.34%)
Mutual labels:  elastic
Pfelk
pfSense/OPNsense + ELK
Stars: ✭ 417 (+487.32%)
Mutual labels:  elastic
Zentral
Zentral is an open-source solution for infrastructure monitoring and endpoint event stream processing. It provides build-in orchestration of macOS security components (Santa, Osquery, et-al.), event correlation and event management. It consolidates its features with various data store backends (ElasticStack, Azure Log Analytics, Splunk, et-al.).
Stars: ✭ 522 (+635.21%)
Mutual labels:  elastic
App Search Node
Elastic App Search Official Node.js Client
Stars: ✭ 29 (-59.15%)
Mutual labels:  elastic
Android Nosql
Lightweight, simple structured NoSQL database for Android
Stars: ✭ 284 (+300%)
Mutual labels:  elastic
Scout Elasticsearch Driver
This package offers advanced functionality for searching and filtering data in Elasticsearch.
Stars: ✭ 1,047 (+1374.65%)
Mutual labels:  elastic
Elasticsearch Rails
Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
Stars: ✭ 2,896 (+3978.87%)
Mutual labels:  elastic
Elasticsql
convert sql to elasticsearch DSL in golang(go)
Stars: ✭ 687 (+867.61%)
Mutual labels:  elastic
Elasticsearch Cli
Command line interface for ElasticSearch
Stars: ✭ 70 (-1.41%)
Mutual labels:  elastic
Elasticsearch Spring Boot Spring Data
🏆 Starter example for using Elasticsearch repository with Springboot
Stars: ✭ 65 (-8.45%)
Mutual labels:  elastic
Elastic data
Elasticsearch datasets ready for bulk loading
Stars: ✭ 30 (-57.75%)
Mutual labels:  elastic

Terraform Provider for Elastic Cloud

Go Acceptance Status

This project is currently under active development. Source code is provided with no assurances, use at your own risk.

Terraform provider for the Elastic Cloud API, including:

  • Elasticsearch Service (ESS).
  • Elastic Cloud Enterprise (ECE).
  • Elasticsearch Service Private (ESSP).

Example usage

terraform {
  required_version = ">= 0.12.29"

  required_providers {
    ec = {
      source  = "elastic/ec"
      version = "0.1.0"
    }
  }
}

provider "ec" {
  # ECE installation endpoint
  endpoint = "https://my.ece-environment.corp"

  # If the ECE installation has a self-signed certificate
  # setting "insecure" to true is required.
  insecure = true

  # APIKey is the recommended authentication mechanism. When
  # Targeting the Elasticsearch Service, APIKeys are the only
  # valid authentication mechanism.
  apikey = "my-apikey"

  # When targeting ECE installations, username and password
  # authentication is allowed.
  username = "my-username"
  password = "my-password"
}


# Create an Elastic Cloud deployment
resource "ec_deployment" "example_minimal" {
  # Optional name.
  name = "my_example_deployment"

  # Mandatory fields
  region                 = "us-east-1"
  version                = "7.9.2"
  deployment_template_id = "aws-io-optimized-v2"

  # Use the deployment template defaults
  elasticsearch {}

  kibana {}
}

You can find the full resource documentation in the terraform-provider-ec/docs/ repo.

Developer Requirements

  • Terraform 0.13+
  • Go 1.13+ (to build the provider plugin)

Installing the provider via the source code

Clone the repository to a folder on your machine and run make install:

$ mkdir -p ~/development; cd ~/development
$ git clone https://github.com/elastic/terraform-provider-ec
$ cd terraform-provider-ec
$ make install

Generating an Elasticsearch Service API Key

To generate an API key, follow these steps:

  1. Navigate to https://cloud.elastic.co/login with your browser
  2. Log in with your Email and Password.
  3. Click on Elasticsearch Service.
  4. Navigate to Account > API Keys and click on Generate API Key.
  5. Once you Re-Authenticate, you'll have to chose a name for your API key.
  6. Copy your API key somewhere safe.

Using your API Key on the Elastic Cloud terraform provider

After you've generated your API Key, you can make it available to the Terraform provider by exporting it as an environment variable:

$ export EC_API_KEY="<apikey value>"

After doing so, you can navigate to any of our examples in ./examples and try one.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].