terraform-provider-ec

APACHE-2.0 License

Stars
174
Committers
42

Bot releases are hidden (Show)

terraform-provider-ec - v0.10.0 Latest Release

Published by gigerdo 7 months ago

FEATURES:

  • datasource/deployments: Adds additional parameter name to allow searching by exact deployment name. (#797)
  • datasource/deploymenttemplates: Adds a new datasource to list all deployment-templates available in a region. (#799)
  • resource/deployment: Added support for autoscaling Machine Learning tier only (#761)
  • resource/deployment: Added support for symbols and profiling endpoints. (#783)
  • resource/deployment: Validate the Kibana is present when attempting to enable other stateless resources. (#792)

ENHANCEMENTS:

  • provider: Remove direct dependency on the old Terraform Plugin SDK (#720)
  • provider: Update go version to 1.21 (#713)
  • resource/deployment: Add support for instance configuration versions
    • Add instance_configuration_version field to all resources and allow to update the instance_configuration_id to a value not defined in the template.
    • Add migrate_to_latest_hardware field to allow migrating to the latest deployment template values.
    • Add latest_instance_configuration_id and latest_instance_configuration_version read-only fields. (#755)

BUG FIXES:

  • resource/deployment: Don't rewrite the observability deployment ID to self when it's been explicitly configured. (#789)
  • resource/deployment: Fix issue setting the elasticsearch_username when resetting the elasticsearch_password (#777)
  • resource/deployment: Fix segfaults during Create/Update
    • When elasticsearch attribute contains both strategy and snapshot_source.
    • When elasticsearch defines snapshot with repository that doesn't contain reference. (#719)
  • resource/deployment: Persist the snapshot source settings during reads. This fixes a provider crash when creating a deployment from a snapshot. (#788)
  • resource/deployment: Update the elasticsearch_username when resetting the password. (#752)
  • resource/extension: Fix provider crash when updating the contents of an extension. (#749)
terraform-provider-ec - v0.9.0

Published by dimuon about 1 year ago

FEATURES:

  • resource/deployment: new "elasticsearch"'s "keystore_contents" attribute to manage deployment keystore items during deployment create and update calls. (#674)

ENHANCEMENTS:

  • resource/deployment: Set the deployment ID in state as soon as possible to avoid an unmanaged deployment as a result of a subsequent failure. (#690)
  • resource/deployment: Validates that the node_types/node_roles configuration used is supported by the specified Stack version. (#683)

BUG FIXES:

  • datasource/deployment: Prevent a provider crash when the deployment data source is referencing a deleted deployment (#688)
  • resource/deployment: Prevent an endless diff loop after importing deployments with APM or Integrations Server resources. (#689)
  • resource/deployment: Prevent endless diff loops when deployment trust settings are empty (#687)
terraform-provider-ec - v0.8.0

Published by tobio about 1 year ago

FEATURES:

BUG FIXES:

terraform-provider-ec - v0.7.0

Published by tobio over 1 year ago

ENHANCEMENTS:

terraform-provider-ec - v0.6.0

Published by tobio over 1 year ago

FEATURES:

Migration to TF Plugin Framework

BREAKING CHANGE:

ec_deployment uses a new schema now in order to fix the crucial defects around autoscaling/topologies:

Existing resources should be imported. Please see NOTES below and README for more details.

NOTES

  • Older versions of terraform CLI can report errors with the provider 0.6.0. Please make sure to update Terraform CLI to the latest version.
  • ec_deployment has a new schema now but state upgrade is not implemented. The recommended way to proceed with existing TF resources is state import. However, this doesn't import user passwords and secret tokens.
  • After import, the next plan command may try to delete some empty or zero size attributes, e.g. it can try to delete empty elasticsearch config or cold tier attributes if configuration doesn't define them and cold tier size is zero. It should not be a problem. You can either execute the plan (the only result should be an updated Terraform state while the deployment should remain the same) or add empty cold tier and config elasticsearch attributes to the configuration.
  • The migration is based on 0.4.1, so all changes from 0.5.0 and 0.5.1 are omitted.
terraform-provider-ec - v0.5.1

Published by tobio over 1 year ago

terraform-provider-ec - v0.5.0

Published by elasticcloudclients about 2 years ago

terraform-provider-ec - v0.4.1

Published by elasticcloudclients over 2 years ago

terraform-provider-ec - v0.4.0

Published by elasticcloudclients over 2 years ago

terraform-provider-ec - v0.3.0

Published by elasticcloudclients about 3 years ago

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)
terraform-provider-ec - v0.2.1

Published by elasticcloudclients over 3 years ago

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)

terraform-provider-ec - v0.2.0

Published by elasticcloudclients over 3 years ago

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)
terraform-provider-ec - v0.1.1

Published by elasticcloudclients over 3 years ago

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)
terraform-provider-ec - v0.1.0

Published by elasticcloudclients over 3 years ago

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)
terraform-provider-ec - v0.1.0-beta

Published by elasticcloudclients almost 4 years ago

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)
Package Rankings
Top 3.86% on Proxy.golang.org
Top 33.36% on Conda-forge.org
Badges
Extracted from project README
Acceptance Status