terraform-provider-elasticstack

Terraform provider for Elastic Stack

APACHE-2.0 License

Stars
167
Committers
62

Bot releases are hidden (Show)

terraform-provider-elasticstack - v0.11.5

Published by tobio 2 months ago

terraform-provider-elasticstack - v0.11.4

Published by tobio 4 months ago

Breaking changes

  • The title attribute is now required in the elasticstack_kibana_data_view resource. In practice the resource didn't work without this set, the schema now enforces it's correctly configured.

Fixed

terraform-provider-elasticstack - v0.11.3

Published by tobio 5 months ago

terraform-provider-elasticstack - v0.11.2

Published by tobio 7 months ago

Fixed

  • Fix authentication for fleet API (using ApiKey instead of Bearer keyword) (#576)
  • Ensure all Kibana resources use the supplied ca_certs value. (#585)
terraform-provider-elasticstack - v0.11.1

Published by tobio 8 months ago

Added

Fixed

terraform-provider-elasticstack - v0.11.0

Published by tobio 10 months ago

Added

  • Switch to Terraform protocol version 6 that is compatible with Terraform CLI version 1.0 and later.
  • Add 'elasticstack_fleet_package' data source (#469)
  • Add tags option to Kibana's SLOs (#495)
  • Add support for Authorization header - Bearer Token and ES-Client-Authentication fields added.(#500)
  • Add support for managing Kibana Data Views (#502)
  • Support Logstash SSL fields in Fleet output (#498)
  • Support for Kibana API Key authentication (#372)

Fixed

  • Rename fleet package objects to elasticstack_fleet_integration and elasticstack_fleet_integration_policy (#476)
  • Fix a provider crash when managing SLOs outside of the default Kibana space. (#485)
  • Make input optional for elasticstack_fleet_integration_policy (#493)
  • Sort Fleet integration policy inputs to ensure consistency (#494)
  • Updated Elasticsearch role_mapping.go to enforce the replacement/updates of role mapping resources when the name field is altered. (#503)
terraform-provider-elasticstack - v0.10.0

Published by tobio 12 months ago

terraform-provider-elasticstack - v0.9.0

Published by dimuon about 1 year ago

Added

  • Update elasticstack_fleet_output to use new API schema format (#434)

Fixed

  • Fix mapping of webhook connectors that is stored in tfstate (#433)
terraform-provider-elasticstack - v0.8.0

Published by dimuon about 1 year ago

Added

  • Add support for the .slack_api connector type for Kibana action connectors (#419)
  • resource elasticstack_kibana_slo: Update histogram_custom_indicator from and to fields to float (#430)
terraform-provider-elasticstack -

Published by dimuon about 1 year ago

Added

  • Add support for Kibana SLOs (#385)
  • Document all available environment variables (#405)
terraform-provider-elasticstack - v0.6.2

Published by tobio over 1 year ago

terraform-provider-elasticstack - v0.6.1

Published by tobio over 1 year ago

Added

Fixed

terraform-provider-elasticstack -

Published by dimuon over 1 year ago

Added

  • New resource elasticstack_elasticsearch_enrich_policy to manage enrich policies (#286) (Enrich API)
  • New data source elasticstack_elasticsearch_enrich_policy to read enrich policies (#293) (Enrich API)
  • Add 'mapping_coerce' field to index resource (#229)
  • Add 'min_*' conditions to ILM rollover (#250)
  • Add support for Kibana connections (#226)
  • [Breaking Change] Add 'deletion_protection' field to index resource to avoid unintentional deletion. (#167)
    • To delete index resource, you'll need to explicitly set deletion_protection = false as follows.
    resource "elasticstack_elasticsearch_index" "example" {
      name = "example"
      mappings = jsonencode({
        properties = {
          field1    = { type = "text" }
        }
      })
      deletion_protection = false
    }
    
  • Add elasticstack_kibana_space for managing Kibana spaces (#272)
  • Add elasticstack_elasticsearch_transform for managing Elasticsearch transforms (#284)
  • Add elasticstack_elasticsearch_watch for managing Elasticsearch Watches (#155)
  • Add elasticstack_kibana_alerting_rule for managing Kibana alerting rules (#292)
  • Add client for communicating with the Fleet APIs (#311])
  • Add elasticstack_fleet_enrollment_tokens and elasticstack_fleet_agent_policy for managing Fleet enrollment tokens and agent policies (#322])
  • Add elasticstack_fleet_output and elasticstack_fleet_server_host for managing Fleet outputs and server hosts (#327])
  • Add elasticstack_kibana_action_connector for managing Kibana action connectors (#306)

Fixed

  • Updated unsupported queue_max_bytes_number and queue_max_bytes_units with queue.max_bytes (#266)
  • Respect ignore_unavailable and include_global_state values when configuring SLM policies (#224)
  • Refactor API client functions and return diagnostics (#220)
  • Fix not to recreate index when field is removed from mapping (#232)
  • Add query params fields to index resource (#244)
  • Properly handle errors which occur during provider execution (#262)
  • Correctly handle empty logstash pipeline metadata in plan diffs (#256)
  • Fix error when logging API requests in debug mode (#259)
  • [Breaking Change] Change pipeline_metadata type from schema.TypeMap to schema.TypeString. This is to fix an error caused by updates to Logstash Pipelines outside of TF (#278)
    • To use the updated pipeline_metadata field, you'll need to encapsulate any Terraform configuration with jsonencode{} as follows:
      resource "elasticstack_elasticsearch_logstash_pipeline" "example" {
        name = "example"
        pipeline = <<-EOF
          input{}
          filter{}
          output{}
      EOF
        pipeline_metadata = jsonencode({
          type = "logstash_pipeline"
          version = 1
        })
      }
      
  • Fix order of indices field in SLM (#326)
terraform-provider-elasticstack - v0.5.0

Published by tobio almost 2 years ago

Added

New resource elasticstack_elasticsearch_logstash_pipeline to manage Logstash pipelines (Centralized Pipeline Management) (https://github.com/elastic/terraform-provider-elasticstack/pull/151)
Add elasticstack_elasticsearch_script resource (https://github.com/elastic/terraform-provider-elasticstack/pull/173)
Add elasticstack_elasticsearch_security_role data source (https://github.com/elastic/terraform-provider-elasticstack/pull/177)
Add elasticstack_elasticsearch_security_role_mapping data source (https://github.com/elastic/terraform-provider-elasticstack/pull/178)
Apply total_shards_per_node setting in allocate action in ILM. Supported from Elasticsearch version 7.16 (https://github.com/elastic/terraform-provider-elasticstack/issues/112)
Add elasticstack_elasticsearch_security_api_key resource (https://github.com/elastic/terraform-provider-elasticstack/pull/193)
Add elasticstack_elasticsearch_security_system_user resource to manage built-in user (https://github.com/elastic/terraform-provider-elasticstack/pull/188)
Add unassigned_node_left_delayed_timeout to index resource (https://github.com/elastic/terraform-provider-elasticstack/pull/196)
Add support for Client certificate based authentication (https://github.com/elastic/terraform-provider-elasticstack/pull/191)

Fixed

Remove unnecessary unsetting id on delete (https://github.com/elastic/terraform-provider-elasticstack/pull/174)
Fix not found handling for snapshot repository (https://github.com/elastic/terraform-provider-elasticstack/pull/175)
Add warn log when to remove resource from state (https://github.com/elastic/terraform-provider-elasticstack/pull/185)
Import snapshot repository name when importing (https://github.com/elastic/terraform-provider-elasticstack/pull/187)

terraform-provider-elasticstack - v0.4.0

Published by tobio about 2 years ago

Added

  • Add ca_data field to provider schema (#145)
  • Add individual setting fields (#137)
  • Allow use of api_key instead of username/password for authentication (#130)
  • Add allow_restricted_indices setting to security role (#125)
  • Add conditional to only set password and password_hash when a new value is defined (#127)
  • Add support for ELASTICSEARCH_INSECURE environment variable as the default of the insecure config value (#127)
  • Add elasticstack_elasticsearch_security_role_mapping resource (148)

Fixed

  • Refactor main function not to use deprecated debug method (#149)
  • Expose provider package (#142)
  • Upgrade Go version to 1.19 and sdk version to v2.22.0 (#139)
  • Make API calls context aware to be able to handle timeouts (#138)
  • Correctly identify a missing security user (#101)
  • Support 7.x Elasticsearch < 7.15 by removing the default media_type attribute in the Append processor (#118)
terraform-provider-elasticstack - v0.3.3

Published by olksdr over 2 years ago

Fixed

  • Make sure it is possible to set priority to 0 in ILM template (#88)
  • Set the ILM name on read operation (#87)
  • Always use data_stream setting if it's present (#91)
terraform-provider-elasticstack - v0.3.2

Published by olksdr over 2 years ago

Fixed

  • Properly apply number_of_replicas setting in allocate action in ILM (#80)
terraform-provider-elasticstack - v0.3.1

Published by olksdr over 2 years ago

Fixed

  • Add new field allow_custom_routing in data_stream section of index_template, which appears only in Elasticsearch version 8.0.0. Make sure index_template resource can work with both 7.x and 8.x versions (#72)
  • Panic using elasticstack_elasticsearch_security_user_data_source when the user absent or there is not enough permissions to fetch users from ES API (#73)
  • Fix typo in the index alias model (#78)
terraform-provider-elasticstack - v0.3.0

Published by olksdr over 2 years ago

Added

  • New resource elasticstack_elasticsearch_data_stream to manage Elasticsearch data streams (#45)
  • New resource elasticstack_elasticsearch_ingest_pipeline to manage Elasticsearch ingest pipelines (#56)
  • New resource elasticstack_elasticsearch_component_template to manage Elasticsearch component templates (#39)
  • New helper data sources to create processors for ingest pipelines (#67)

Fixed

  • Update only changed index settings (#52)
  • Enable import of index settings (#53)
  • Handle allocate action in ILM policy (#59)
  • Send only initialized values to Elasticsearch API when managing the users (#66)
terraform-provider-elasticstack - v0.2.0

Published by olksdr over 2 years ago

Added

  • New resource to manage Elasticsearch indices (#38)
  • The insecure option to the Elasticsearch provider configuration to ignore certificate verification (#36)
  • The ca_file option to the Elasticsearch provider configuration to provide path to the custom root certificate file (#35)
  • Documentation templates for all the exisiting resources (#32)

Fixed

  • Identify missing or deleted resources in the Elasticsearch cluster and make sure Terraform can re-create them (#40)

Changed

  • [Breaking] Rename aliases configuration option in
    elasticstack_elasticsearch_index_template resource to singular alias
Package Rankings
Top 5.4% on Proxy.golang.org
Badges
Extracted from project README
Acceptance Status