Releases: elastic/terraform-provider-elasticstack
Releases · elastic/terraform-provider-elasticstack
v0.13.1
v0.13.0
Breaking changes
elasticstack_elasticsearch_index.alias block has changed to a set attribute.
The alias block in the elasticstack_elasticsearch_index resource has been moved to an attribute.
This transition provides better support for future changes in both the provider and the underlying Terraform framework.
Existing usage of the alias block must be migrated to the attribute syntax. For example:
alias {
name = "my_alias_1"
}
alias {
name = "my_alias_2"
filter = jsonencode({
term = { "user.id" = "developer" }
})
}becomes
alias = [
{
name = "my_alias_1"
},
{
name = "my_alias_2"
filter = jsonencode({
term = { "user.id" = "developer" }
})
}
]Changes
- Fix
elasticstack_kibana_action_connectorfailing with "inconsistent result after apply" when config contains null values (#1524) - Add
host_name_formattoelasticstack_fleet_agent_policyto configure host name format (hostname or FQDN) (#1312) - Create
elasticstack_kibana_prebuilt_ruleresource (#1296) - Add
required_versionstoelasticstack_fleet_agent_policy(#1436) - Migrate
elasticstack_elasticsearch_security_roleresource to Terraform Plugin Framework (#1330) - Fix an issue where the
elasticstack_fleet_outputresource would error due to inconsistent state after an ouptut was edited in the Kibana UI (#1506) - Allow
indexanddata_view_idvalues to both be unknown during planning inelasticstack_kibana_security_detection_rule(#1499) - Support
.bedrockand.gen-aiconnectors (#1467) - Support the
solutionattribute inelasticstack_kibana_spacefrom 8.16 (#1486) - Add
elasticstack_elasticsearch_aliasresource (#1343) - Add
mapping_total_fields_limittoelasticstack_elasticsearch_index(#1494) - Add
elasticstack_kibana_default_data_viewresource (#1379) - Add support for Security Exceptions
- Add
elasticstack_kibana_security_exception_itemresource (#1496) - Add
elasticstack_kibana_security_exception_listresource (#1495) - Add
elasticstack_kibana_security_listresource (#1489) - Add
elasticstack_kibana_security_list_itemresource (#1492) - Add
elasticstack_kibana_security_list_data_streamsresource (#1525)
- Add
v0.12.2
- Fix elasticstack_elasticsearch_snapshot_lifecycle metadata type conversion causing terraform apply to fail (#1409)
- Add new elasticstack_elasticsearch_ml_anomaly_detection_job resource (#1329)
- Add new elasticstack_elasticsearch_ml_datafeed resource (#1340)
- Add space_ids attribute to all Fleet resources to support space-aware Fleet resource management (#1390)
- Add back missing import support for elasticstack_elasticsearch_security_role_mapping (#1441)
- Add new elasticstack_elasticsearch_ml_job_state resource (#1337)
- Add new elasticstack_elasticsearch_ml_datafeed_state resource (#1422)
- Add output_id to elasticstack_fleet_integration_policy resource (#1445)
- Make hosts attribute required in elasticstack_fleet_output resource (#1450)
- Fix elasticstack_kibana_security_detection_rule to properly respect space_id
v0.12.1
Bump version in Makefile (#1388)
v0.11.19
Bump version in Makefile (#1388)
v0.12.0
Release Highlights
The Elastic Stack terraform provider now released with key new features in 0.12.0 release
- Security Detection Rules - customers can now start managing Elastic security detection rules, with infrastructure as code. (docs)
- Cluster API Keys for CCS and CCR - customers can create API keys suitable for usage with CCS/CCR, allowing you to automate completely the configuration of secure cross cluster search and replication between two Elastic Stack deployemnts. (docs)
- Bug fixes for various other resources, for full list, refer to the changelog below.
What's Changed
- Fix state upgrade for connectors with empty config by @tobio in #1355
- Only set kql custom indicator filter if it exists by @nick-benoit in #1354
- Security Detection Rule Updates by @nick-benoit in #1361
- Add example of tracking the latest version of an integration package by @tobio in #1362
- feat: add labels field to kibana synthetics monitor resource by @RJiraya in #1360
Full Changelog: v0.11.18...v0.12.0
v0.11.18
v0.11.18 release
What's Changed
- Adding ignore_missing_component_templates by @togish in #1206
- chore(deps): pin dependencies by @elastic-renovate-prod[bot] in #1216
- chore(deps): update golang:1.24.5 docker digest to ef5b4be by @elastic-renovate-prod[bot] in #1217
- Bump github.com/oapi-codegen/runtime from 1.1.1 to 1.1.2 by @dependabot[bot] in #1213
- Prevent provider panic when referenced script does not exist in ES by @tobio in #1218
- Add copilot instructions and issue template tweaks by @wandergeek in #1205
- Adds validation for slo_id by @TinaHeiligers in #1221
- chore(deps): update docker.elastic.co/elastic-agent/elastic-agent docker tag to v9.1.0 by @elastic-renovate-prod[bot] in #1222
- fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.15.1 by @elastic-renovate-prod[bot] in #1225
- chore(deps): update docker.elastic.co/elasticsearch/elasticsearch docker tag to v9.1.0 by @elastic-renovate-prod[bot] in #1223
- chore(deps): update module github.com/golangci/golangci-lint to v2.3.1 by @elastic-renovate-prod[bot] in #1234
- chore(deps): update dependency go to v1.24.6 by @elastic-renovate-prod[bot] in #1237
- chore(deps): update docker.elastic.co/elastic-agent/elastic-agent docker tag to v9.1.1 by @elastic-renovate-prod[bot] in #1238
- fix(deps): update module github.com/elastic/go-elasticsearch/v8 to v8.19.0 by @elastic-renovate-prod[bot] in #1241
- chore(deps): update actions/checkout digest to 08eba0b by @elastic-renovate-prod[bot] in #1240
- chore(deps): update docker.elastic.co/kibana/kibana docker tag to v9.1.2 by @elastic-renovate-prod[bot] in #1233
- chore(deps): update golang docker tag to v1.25.0 by @elastic-renovate-prod[bot] in #1245
- chore(deps): update docker.elastic.co/elastic-agent/elastic-agent docker tag to v9.1.2 by @elastic-renovate-prod[bot] in #1242
- chore(deps): update docker.elastic.co/elasticsearch/elasticsearch docker tag to v9.1.2 by @elastic-renovate-prod[bot] in #1243
- chore(deps): update dependency go to v1.25.0 by @elastic-renovate-prod[bot] in #1244
- chore(deps): update actions/checkout action to v5 by @elastic-renovate-prod[bot] in #1250
- Fix copy pasta in datastream lifecycle docs by @tobio in #1253
- Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by @dependabot[bot] in #1254
- fix(deps): update module go.uber.org/mock to v0.6.0 by @elastic-renovate-prod[bot] in #1259
- chore(deps): update codecov/codecov-action digest to fdcc847 by @elastic-renovate-prod[bot] in #1258
- Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #1261
- fix: make
syntheticsfleet namespace aware by @biscout42 in #1247 - Extend CONTRIBUTING.md by @gigerdo in #1262
- Migrate Kibana connectors to use the bundled openapi generated client by @tobio in #1260
- Bump github.com/ulikunitz/xz from 0.5.12 to 0.5.14 by @dependabot[bot] in #1264
- chore(deps): update docker.elastic.co/kibana/kibana docker tag to v9.1.3 by @elastic-renovate-prod[bot] in #1263
- chore(deps): update golang:1.25.0 docker digest to 5502b0e by @elastic-renovate-prod[bot] in #1267
- Don't force replacement when changing integration versions by @tobio in #1255
- Add support for solution field in elasticsearch_kibana_space resource and data source by @Copilot in #1210
- Migrate Elasticsearch enrich policy resource and data source to Terraform Plugin Framework by @Copilot in #1220
- Migrate to terraform-plugin-testing by @tobio in #1256
- fix(deps): update module github.com/stretchr/testify to v1.11.1 by @elastic-renovate-prod[bot] in #1272
- Somehow I didn't merge this properly... by @tobio in #1273
- Support cross cluster API keys with the existing API key resource. by @tobio in #1252
- chore(deps): update docker.elastic.co/elasticsearch/elasticsearch docker tag to v9.1.3 by @elastic-renovate-prod[bot] in #1271
- Migrate Elasticsearch role mapping resource and data source to Plugin Framework by @Copilot in #1280
- chore(deps): update codecov/codecov-action digest to 5a10915 by @elastic-renovate-prod[bot] in #1283
- chore(deps): update dependency go to v1.25.1 by @elastic-renovate-prod[bot] in #1284
- [ResponseOps] Maintenance window resource by @adcoelho in #1224
- Bump actions/setup-go from 5.5.0 to 6.0.0 by @dependabot[bot] in #1286
- chore(deps): update actions/setup-go digest to d35c59a by @elastic-renovate-prod[bot] in #1288
- Don't allowlist API operations within the Kibana API spec by @tobio in #1270
- Add required environment variables for acceptance tests to run by @tobio in #1294
- Migrate elasticstack_kibana_action_connector resource to the plugin framework by @tobio in #1269
- Add inactivity_timeout support to Fleet agent policy resource with duration string type and version validation by @Copilot in #1285
- Update generated SLO client. by @tobio in #1303
- chore(deps): update golang docker tag to v1.25.1 by @elastic-renovate-prod[bot] in #1300
- chore(deps): update actions/setup-go action to v6 by @elastic-renovate-prod[bot] in #1301
- [Feature] Add unenrollment_timeout parameter to Fleet Agent Policy resource by @Copilot in #1306
- Add support for dataViewId by @tobio in #1305
- Add optional preventInitialBackfill for SLO API by @jasonrhodes in #1071
- Improve docs generation by @tobio in #1313
- Allow a default for
allow_restricted_indiceswithin an API Key role descriptor by @tobio in #1315 - Add support for Kafka Fleet output types. by @tobio in #1302
- Move diag utilities from utils to dedicated diagutil package by @tobio in #1317
- Clarify how acceptance tests should be run by @tobio in #1324
- chore(deps): update golang:1.25.1 docker digest to 8305f5f by @elastic-renovate-prod[bot] in #1322
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.37.0 to 2.38.0 by @dependabot[bot] in #1325
- Bump github.com/hashicorp/terraform-plugin-framework from 1.15.1 to 1.16.0 by @dependabot[bot] in #1326
- fix: ni...
v0.11.17
- Add
elasticstack_apm_agent_configurationresource (#1196) - Add support for
timeslice_metric_indicatorinelasticstack_kibana_slo(#1195) - Add
elasticstack_elasticsearch_ingest_processor_reroutedata source (#678) - Add support for
supports_agentlesstoelasticstack_fleet_agent_policy(#1197) - Ignore
master_timeoutwhen targeting Serverless projects (#1207)
v0.11.16
Prepare 0.11.16 release (#1192)