Skip to content

v0.6.0

Compare
Choose a tag to compare
@dimuon dimuon released this 24 May 12:39
· 459 commits to main since this release

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)