Skip to content

Releases: elastic/terraform-provider-ec

v0.5.0

12 Oct 04:55
Compare
Choose a tag to compare
Update CHANGELOG.md and NOTICE

v0.4.1

10 May 21:47
Compare
Choose a tag to compare
Update CHANGELOG.md and NOTICE

v0.4.0

24 Feb 14:00
Compare
Choose a tag to compare
Update CHANGELOG.md and NOTICE

v0.3.0

17 Oct 15:02
0813ff3
Compare
Choose a tag to compare

FEATURES:

  • New Resource: resource/ec_deployment_elasticsearch_keystore: Adds a new ec_deployment_elasticsearch_keystore resource which allows creating and updating Elasticsearch keystore settings. (#364)

ENHANCEMENTS:

  • datasource/ec_deployments: Adds four new fields, deployments.#.elasticsearch_ref_id, deployments.#.kibana_ref_id, deployments.#.apm_ref_id, deployments.#.enterprise_search_ref_id to the data source. (#380)
  • datasource/ec_deployments: Adds two new fields, deployments.#.name and deployments.#.alias to the data source. (#362)
  • resource/ec_deployment_traffic_filter: Add support for Azure Private Link traffic rules. (#340)

BUG FIXES:

  • resource/ec_deployment: Changes the ec_deployment.elasticsearch.remote_cluster block to schema.TypeSet to allow specifying the blocks in any order. (#368)
  • resource/ec_deployment: Fix bug where setting any of the elasticsearch.config.user_settings_* = null would result in a provider panic. (#355)
  • resource/ec_deployment: Fix bug where some of the settings that were set by the UI were unset by the Terraform provider. See #214 for more details on the bug report. (#361)
  • resource/ec_deployment: Fix bug where the deployment alias is ignored. (#341)
  • resource/ec_deployment: Fixed a bug that affects partial version upgrades. During an upgrade only a subset of resources would upgrade successfully, but the version argument value updated as if all resources were upgraded. Attempts to retry the upgrade would fail since the version difference was not detected. (#371)

v0.2.1

17 Jun 02:56
da56ac5
Compare
Choose a tag to compare

Changelog

BUG FIXES:

resource/ec_deployment: Fixes a bug which made ec_deployment version upgrades return an API error stating: node_roles must be provided for all elasticsearch topology elements or for none of them. (#329)

v0.2.0

15 Jun 05:47
428c94f
Compare
Choose a tag to compare

Changelog

FEATURES:

  • datasource/ec_deployment: Add a new size parameter to allow modifying the default size of 10 in the number of deployments returned by the search request. (#300)
  • resource/ec_deployment: Supports Autoscaling via two new settings: elasticsearch.autoscale ("true" or "false") and an elasticsearch.topology.autoscaling block to modify the default autoscaling policies. For more information, refer to the documentation examples. (#296)
  • resource/ec_deployment: Supports deployment aliases in a new top level field alias. (#298)

ENHANCEMENTS:

  • resource/ec_deployment: Retries the Shutdown API call on the destroy operation up to 3 times when the transient "Timeout Exceeded" error returned from the Elastic Cloud API. (#308)

BUG FIXES:

  • datasource/ec_deployments: Properly sorts the datasource results by ID. (#322)
  • resource/ec_deployment: Fixes a bug which made restoring a snapshot to an existing deployment fail. (#309)
  • resource/ec_deployment: Handles account and external trust settings, fixing a bug where the default trust settings are unset and allowing users to set up their own trust settings for an Elasticsearch cluster. (#324)

v0.1.1

07 Apr 07:56
45e5009
Compare
Choose a tag to compare

Changelog

BUG FIXES:

  • resource/ec_deployment: Fixes a bug where specifying a dedicated tier for master or coordinating nodes would result in an API stating that the master or ingest roles are duplicated. (#293)

v0.1.0

31 Mar 06:32
ca43dc0
Compare
Choose a tag to compare

0.1.0 (March 31, 2021)

Changelog

BREAKING CHANGES:

  • ec_deployment: Removes the apm.version, enterprise_search.version and kibana.version computed fields. (#266)
  • resource/ec_deployment: Adds support for the newly added data tiers. A new required field elasticsearch.toplogy.id has been added, it needs to be set to all explicit Elasticsearch topology declarations. A node_roles computed field has been added to the schema and cannot be overridden by the user, versions >=7.10.0 will be automatically migrated by the provider to use node_roles from the node_type_* settings, these will be removed from the state. When node_type_* fields are explicitly set in the terraform configuration they need to be unset manually by the user. Additionally, it removes the elasticsearch.version computed field. (#253)

FEATURES:

  • New Resource: resource/ec_extension: Add a new resource ec_extension which allows users to mange custom Elasticsearch bundles and plugins (#216)

ENHANCEMENTS:

  • datasource/ec_deployment: Adds the tag attribute to the ec_deployment datasource (#244)
  • datasource/ec_deployments: Allows filtering deployments by their associated tags (#248)
  • resource/ec_deployment: Add tags key / value map (#218)
  • resource/ec_deployment: Adds a new elasticsearch.extension block which can be used to enable custom Elasticsearch bundles or plugins that have previously been uploaded. (#264)

BUG FIXES:

  • datasource/ec_deployment: Fixes bug where the datasource was persisting zero sized topology elements in the state (#242)
  • datasource/ec_deployments: Fixes bug where queries containing a hyphens wouldn't work as expected (#241)
  • go/build: Fixes bug where the api user agent wasn't stripped of its -dev tag prior to releasing (#235)
  • resource/ec_traffic_filter: Fixes bug where having a traffic filter with a multiple rules will cause an infinite diff due to ordering (#208)

v0.1.0-beta

14 Dec 18:17
f995478
Compare
Choose a tag to compare

NOTES

The Elastic Cloud Terraform provider allows you to provision Elastic Cloud deployments on any Elastic Cloud platform, whether it’s Elasticsearch Service or Elastic Cloud Enterprise.

This functionality is in beta and is subject to change. The design and code are less mature than official GA features and are being provided as-is with no warranties.

FEATURES

  • New Provider: ec (docs)
  • New Resource: ec_deployment (docs)
  • New Resource: ec_deployment_traffic_filter (docs)
  • New Resource: ec_deployment_traffic_filter_association (docs)
  • New Data Source: ec_deployment (docs)
  • New Data Source: ec_deployments (docs)
  • New Data Source: ec_stack (docs)