Skip to content

Releases: elastic/terraform-provider-ec

v0.13.0

20 May 14:22
56939ab

Choose a tag to compare

FEATURES:

  • resource/ec_deployment: Add encryption_key_path attribute for customer-managed encryption key (BYOK) support (#988)

v0.12.5

07 Apr 20:57

Choose a tag to compare

FEATURES:

  • resource/project: Add support for importing Serverless projects with terraform import (#961)
  • resource/project: Add support for managing Serverless project tags (#983)
  • resource/serverless_traffic_filter: Add serverless traffic filter resource and API endpoints for managing IP filters (#978)
  • resource/traffic_filter: Add support for remote_cluster traffic filter type with remote_cluster_id and remote_cluster_org_id attributes (#965)

NOTES:

  • data-source/traffic_filter: The source and description fields in traffic filter rules now return null instead of an empty string when not set. Users who check for empty strings (e.g., source == "") should update their configurations to check for null instead (e.g., source == null). (#965)

v0.12.4

18 Dec 23:16
2b25213

Choose a tag to compare

BUG FIXES:

  • resource/organization: Fix a bug where adding deployments or projects to an existing user would:
    • Remove the existing resource permissions
    • Cause the provider to fail with an inconsistent state error (#957)

v0.12.3

17 Dec 21:42
a438b74

Choose a tag to compare

FEATURES:

resource/observability_project: Support product_tier attribute in ec_security_project, allowing the creation of log essential project types. (https://github.com/elastic/terraform-provider-ec/issues/940)

BUG FIXES:

resource/security_project: Populate admin_features_package and product_types in ec_security_project (https://github.com/elastic/terraform-provider-ec/issues/938)

v0.12.2

05 Dec 16:39
e1c5cad

Choose a tag to compare

BUG FIXES:

  • Remove validators.Known() for the provider endpoint. (#869)
  • Don't use nil state for a computed attribute. (#878)

v0.12.1

27 Sep 16:13
6f6c1b8

Choose a tag to compare

This release adds the schema documentation for the ec_organization resource. There are no changes to the provider itself.

v0.12.0

26 Sep 14:17
b974454

Choose a tag to compare

FEATURES:

  • resource/organization: Allows managing the members of an organization: They can now be invited to the organization (and later removed) and their assigned roles can be updated. (#855)

BUG FIXES:

  • datasource/gcp_private_service_connect_endpoint: Add missing regions. (#860)
  • resource/deployment: Avoid overriding snapshot settings with every update. The snapshot settings are now only updated if they are actually set in the terraform config. This allows managing the snapshot lifecycle policy with the elasticstack provider instead of the ec provider. (#858)
  • resource/deployment: Avoid sending an update for trust settings if they have not changed. (#859)

v0.11.0

29 Aug 06:48
4b2e295

Choose a tag to compare

FEATURES:

  • resource/deployment: Automatically add a dedicated master tier when it is required due to the number of nodes in the cluster. Also removes it again if the number of nodes drops below the threshold for a dedicated master tier.
    This does not affect configurations that have explicitly configured a master tier. (#814)
  • resource/project: Adds elasticsearch_project, observability_project, and security_project resources to manage Serverless projects. (#817)

BUG FIXES:

  • datasource/gcp_private_service_connect_endpoint: Fixup incorrect reference data for northamerica-northeast1. (#823)
  • resource/deployment: Correctly handle deployment-alias being set to empty value. Setting an empty value should remove the alias instead of ignoring the change. (#821)
  • resource/deployment: Fixes a bug where a validation would fail when using a dynamic stack version (e.g. data.ec_stack.latest.version) (#820)

v0.10.0

03 Apr 15:41
e9ebedd

Choose a tag to compare

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)

v0.9.0

22 Sep 14:37

Choose a tag to compare

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)