Update Terraform elasticstack to v0.16.1#721
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
cfcb5e5 to
c4924a9
Compare
c4924a9 to
e95c189
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.14.5→0.16.1Release Notes
elastic/terraform-provider-elasticstack (elasticstack)
v0.16.1Compare Source
Changes
Value Conversion Errorwhen the wholeanalysis_configblock (oranalysis_config.per_partition_categorization) is sourced from a Terraform variable orfor_each. (#3425)elasticstack_kibana_spaceto manage the default Kibana space without errors and return an actionable import diagnostic on create 409. (#3423)Provider produced inconsistent result after applyand plan drift on Kibana Lens dashboard panels caused by Kibana-injected server defaults (issue #3402 and related across every Lens panel type) (#3404)elasticstack_kibana_dashboardround-trip drift for Lens XY/gauge/heatmap/image panels, ES|QL controls, and emptypanelslists; add getting-started, operations, and advanced Kibana dashboard guides with example configs and screenshots. (#3391)elasticstack_elasticsearch_query_rulesetresource and data source for the Elasticsearch Query Rules API. (#3365)methodis omitted (#3358)elasticstack_elasticsearch_indexsettings fields on import so plans no longer show spurious drift. (#3360)elasticstack_kibana_security_exception_listnow acceptstype=rule_default, allowing terraform to explicitly manage per-rule exception list containers that were previously expected to auto-create from a detection rule POST (which does not actually happen). (#3348)elasticstack_elasticsearch_synonym_setresource and data source for full CRUD management of Elasticsearch synonym sets via the Synonyms API. (#3335)elasticstack_fleet_agent_policywhen aglobal_data_tagsentry has neither string nor number value set. (#3322)secrets_woandsecrets_wo_versionattributes toelasticstack_kibana_action_connectorfor ephemeral secret sources. (#3323)v0.16.0Compare Source
Breaking changes
lens-dashboard-apppanel type is no longer supported inelasticstack_kibana_dashboard. Usetype = "vis"instead.elasticstack_kibana_security_detection_ruleactions.alerts_filteris now a structured nested attribute withquery(kql,filters_json) and optionaltimeframe(days,timezone,hours_start,hours_end), replacing the brokenmap(string)shape.Changes
elasticstack_elasticsearch_ml_calendar_jobto assign one ML anomaly detection job to a calendar; entry added under Unreleased inCHANGELOG.md. (#2933)elasticstack_kibana_space.disabled_featuresbe set whensolutionisclassic, unset, or unknown. (#3217)elasticstack_elasticsearch_security_api_keyresource for in-memory API key credentials (#3176)exceptions_list[].typeonelasticstack_kibana_security_detection_rulenow acceptsrule_defaultandendpoint_trusted_devices, fixing plan-time failures for rules with user-defined rule-local exception lists. (#3000)lens-dashboard-apppanel type fromelasticstack_kibana_dashboard; migrate totype = "vis". (#3209)elasticstack_elasticsearch_ml_calendarandelasticstack_elasticsearch_ml_calendar_eventresources for managing Elasticsearch ML calendars, scheduled events, and job associations in Terraform. (#1969)number_of_replicasandtotal_shards_per_nodefrom API requests when not explicitly configured, so routing-filter-only policies no longer override index template settings. (#3174)ruleswhen field values use single-element arrays (e.g.groups = ["project1"]). (#3172)start/endonelasticstack_elasticsearch_ml_datafeed_stateand expose ES-effective search bounds viaeffective_search_start/effective_search_end. (#3151)elasticstack_kibana_data_viewnamespace updates now apply correctly for data views in non-default Kibana spaces. (#3150)elasticstack_kibana_security_detection_ruleactions.alerts_filterwith structured nested blocks; migrateactionsandfrequencyto block syntax. (#3123)elasticstack_elasticsearch_index_mappingsresource for managing a subset of mappings on an existing index (#3121)v0.15.2Compare Source
Changes
elasticstack_kibana_security_roleresource and data source implementation to Terraform Plugin Framework while preserving the existing schema and behavior. (#3071)elasticstack_kibana_spaceto Plugin Framework while preserving the resource schema, defaults, and observable behavior. (#3073)elasticstack_kibana_action_connectordata source to Terraform Plugin Framework; behavior is preserved for existing configurations. (#3072)allow_auto_createoptional attribute to theelasticstack_elasticsearch_index_templateresource and data source (#3059)template.data_stream_optionsblock toelasticstack_elasticsearch_component_templateto configure the failure store on data streams composed from this component. Requires Elasticsearch >= 9.1.0. (#2963)elasticstack_kibana_data_view.field_attrsand apply field metadata updates in place instead of replacing the data view. (#2964)v0.15.1Compare Source
Changes
kibana_alerting_rule. This reverts an incorrect new validation from 0.15.0 (#2969)v0.15.0Compare Source
Breaking changes
Removed top-level
enabledfromelasticstack_fleet_integration_policy. In practice this field was unusable, causing state consistency issues unless it wastrue. Kibana doesn't support enabling/disabling an integration policy directly.The documented minimum supported Elastic Stack version is now 8.0. 7.x is no longer included in the acceptance test matrix or officially supported. Compatibility branches and version gates for pre-8.0 Elasticsearch behavior have been removed from the transform and ILM resources.
elasticstack_kibana_security_detection_ruleactionparamsformat changePreviously
elasticstack_kibana_security_detection_ruleused a map of strings for action parameters. This caused issues with actions requiring non-string based parameters (see #2339 for an example). This has been changed to a single JSON string value which supports arbitrary param values.Previously
becomes
Changes
terraform applywithparallelism > 1. (#2911)elasticstack_kibana_dashboardresource (#2902)elasticstack_elasticsearch_ml_filterresource for managing Elasticsearch ML filters (used with anomaly detectioncustom_rules). (#1970)scopeon detectorcustom_rulesfor ML anomaly detection jobs (map analysis field names to MLfilter_idand optionalfilter_type). (#2877)enabledfield fromelasticstack_fleet_integration_policy. (#2773)elasticstack_elasticsearch_security_userdata source to Plugin Framework. (#2854)elasticsearch_security_roledata source from Plugin SDK to Plugin Framework. (#2847)elasticstack_elasticsearch_cluster_settingsto the Terraform plugin framework (#2755)elasticstack_elasticsearch_snapshot_lifecycleandelasticstack_elasticsearch_snapshot_repositoryto the Plugin Framework. (#2752)elasticstack_elasticsearch_transformresource to the Plugin Framework. (#2757)elasticstack_elasticsearch_component_templateto the Terraform plugin framework (#2749)elasticstack_elasticsearch_logstash_pipelineresource to the Terraform plugin framework. (#2750)elasticstack_elasticsearch_snapshot_repositorydata source to the Terraform plugin framework. (#2761)elasticstack_elasticsearch_ingest_pipelineto the Terraform plugin framework (#2745)elasticstack_elasticsearch_data_streamresource from Plugin SDK to Plugin Framework (#2744)queryis not configured, by treating marshaled-null API responses as equivalent to an absent query. (#2691)actionsblockgroupvalues are now rejected at plan time with a clear error instead of failing with an opaque HTTP 400 at apply time. (#2656)elasticstack_fleet_proxyresource for managing fleet proxies (#2364)elasticstack_fleet_integrationnow syncsspace_idfrom Fleet on both create and read, preventing state drift that caused unexpected forced replacements. (#2582)use_existingonelasticstack_elasticsearch_indexto adopt an existing index at create instead of failing on duplicate. (#2589)elasticstack_kibana_alerting_rulefor xpack.uptime.alerts.monitorStatus by using the correct generated struct and expanding legacy filter fields. (#2573)indices_options.expand_wildcards = ["all"]in ML datafeed resource (#2572)elasticstack_kibana_spacenow correctly clearsdescription,initials,color, andimage_urlwhen the configuration sets them to an empty string. Previously those explicit empty-string assignments were silently dropped from the outbound API request and Kibana retained the prior value. (#2452)elasticstack_elasticsearch_index_templateresource and data source to the Terraform Plugin Framework. Existing state is upgraded automatically (v0 → v1); attribute names, paths, block syntax, identity, and import behavior are preserved. (#2515)elasticstack_fleet_integration_policycan now be imported from non-default Kibana spaces using a composite<space_id>/<policy_id>import ID (#2522)template.data_stream_optionsblock toelasticstack_elasticsearch_index_templateto configure the failure store for new data streams via Terraform (#2509)elasticstack_fleet_custom_integrationresource for uploading and managing locally-built Fleet integration packages via the EPM binary upload API (#2387)elasticstack_kibana_security_detection_rule.actions[].paramsto a JSON string rather than a map of string values. This allows setting arbitrary, nested param values (#2340)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.