- 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 }
- To delete index resource, you'll need to explicitly set
- Add support for managing Kibana spaces (#272)
- Respect
ignore_unavailable
andinclude_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)
0.5.0 - 2022-12-07
- New resource
elasticstack_elasticsearch_logstash_pipeline
to manage Logstash pipelines (Centralized Pipeline Management) (#151) - Add
elasticstack_elasticsearch_script
resource (#173) - Add
elasticstack_elasticsearch_security_role
data source (#177) - Add
elasticstack_elasticsearch_security_role_mapping
data source (#178) - Apply
total_shards_per_node
setting inallocate
action in ILM. Supported from Elasticsearch version 7.16 (#112) - Add
elasticstack_elasticsearch_security_api_key
resource (#193) - Add
elasticstack_elasticsearch_security_system_user
resource to manage built-in user (#188) - Add
unassigned_node_left_delayed_timeout
to index resource (#196) - Add support for Client certificate based authentication (#191)
- Deprecate
elasticsearch_connection
blocks on individual resources/data sources. Connection configuration should be configured directly on the provider with multiple provider instances used to connect to different clusters. (#218)
- Remove unnecessary unsetting id on delete (#174)
- Fix not found handling for snapshot repository (#175)
- Add warn log when to remove resource from state (#185)
- Import snapshot repository name when importing (#187)
0.4.0 - 2022-10-07
- Add ca_data field to provider schema (#145)
- Add individual setting fields (#137)
- Allow use of
api_key
instead ofusername
/password
for authentication (#130) - Add
allow_restricted_indices
setting to security role (#125) - Add conditional to only set
password
andpassword_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)
- 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)
0.3.3 - 2022-03-22
- 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)
0.3.2 - 2022-02-28
- Properly apply
number_of_replicas
setting inallocate
action in ILM (#80)
0.3.1 - 2022-02-24
- Add new field
allow_custom_routing
indata_stream
section ofindex_template
, which appears only in Elasticsearch version 8.0.0. Make sureindex_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)
0.3.0 - 2022-02-17
- 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 processorts for ingest pipelines (#67)
- 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)
0.2.0 - 2022-01-27
- 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 existing resources (#32)
- Identify missing or deleted resources in the Elasticsearch cluster and make sure Terraform can re-create them (#40)
- [Breaking] Rename
aliases
configuration option inelasticstack_elasticsearch_index_template
resource to singularalias
0.1.0 - 2021-12-20
- Initial set of the resources to gather feedback from the community
- Initial set of docs
- CI integration