|
1 | 1 | ## [Unreleased] |
2 | 2 |
|
| 3 | +### Breaking changes |
| 4 | + |
| 5 | +#### `elasticstack_elasticsearch_index.alias` block has changed to a set attribute. |
| 6 | + |
| 7 | +The `alias` block in the `elasticstack_elasticsearch_index` resource has been moved to an attribute. |
| 8 | +This transition provides better support for future changes in both the provider and the underlying Terraform framework. |
| 9 | + |
| 10 | +Existing usage of the `alias` block must be migrated to the attribute syntax. For example: |
| 11 | + |
| 12 | +```hcl |
| 13 | +alias { |
| 14 | + name = "my_alias_1" |
| 15 | +} |
| 16 | +
|
| 17 | +alias { |
| 18 | + name = "my_alias_2" |
| 19 | + filter = jsonencode({ |
| 20 | + term = { "user.id" = "developer" } |
| 21 | + }) |
| 22 | +} |
| 23 | +``` |
| 24 | + |
| 25 | +becomes |
| 26 | + |
| 27 | +```hcl |
| 28 | +alias = [ |
| 29 | + { |
| 30 | + name = "my_alias_1" |
| 31 | + }, |
| 32 | + { |
| 33 | + name = "my_alias_2" |
| 34 | + filter = jsonencode({ |
| 35 | + term = { "user.id" = "developer" } |
| 36 | + }) |
| 37 | + } |
| 38 | +] |
| 39 | +``` |
| 40 | + |
| 41 | +### Changes |
| 42 | + |
| 43 | +- Support `.bedrock` and `.gen-ai` connectors ([#1467](https://github.com/elastic/terraform-provider-elasticstack/pull/1467)) |
| 44 | +- Support the `solution` attribute in `elasticstack_kibana_space` from 8.16 ([#1486](https://github.com/elastic/terraform-provider-elasticstack/pull/1486)) |
| 45 | +- Add `elasticstack_elasticsearch_alias` resource ([#1343](https://github.com/elastic/terraform-provider-elasticstack/pull/1343)) |
| 46 | + |
| 47 | +## [0.12.2] - 2025-11-19 |
3 | 48 | - Fix `elasticstack_elasticsearch_snapshot_lifecycle` metadata type conversion causing terraform apply to fail ([#1409](https://github.com/elastic/terraform-provider-elasticstack/issues/1409)) |
4 | 49 | - Add new `elasticstack_elasticsearch_ml_anomaly_detection_job` resource ([#1329](https://github.com/elastic/terraform-provider-elasticstack/pull/1329)) |
5 | 50 | - Add new `elasticstack_elasticsearch_ml_datafeed` resource ([#1340](https://github.com/elastic/terraform-provider-elasticstack/pull/1340)) |
6 | 51 | - Add `space_ids` attribute to all Fleet resources to support space-aware Fleet resource management ([#1390](https://github.com/elastic/terraform-provider-elasticstack/pull/1390)) |
| 52 | +- Add back missing import support for `elasticstack_elasticsearch_security_role_mapping` ([#1441](https://github.com/elastic/terraform-provider-elasticstack/pull/1441)) |
7 | 53 | - Add new `elasticstack_elasticsearch_ml_job_state` resource ([#1337](https://github.com/elastic/terraform-provider-elasticstack/pull/1337)) |
8 | 54 | - Add new `elasticstack_elasticsearch_ml_datafeed_state` resource ([#1422](https://github.com/elastic/terraform-provider-elasticstack/pull/1422)) |
| 55 | +- Add `output_id` to `elasticstack_fleet_integration_policy` resource ([#1445](https://github.com/elastic/terraform-provider-elasticstack/pull/1445)) |
| 56 | +- Make `hosts` attribute required in `elasticstack_fleet_output` resource ([#1450](https://github.com/elastic/terraform-provider-elasticstack/pull/1450/files)) |
| 57 | +- Fix `elasticstack_kibana_security_detection_rule` to properly respect `space_id` |
9 | 58 |
|
10 | 59 | ## [0.12.1] - 2025-10-22 |
11 | 60 | - Fix regression restricting the characters in an `elasticstack_elasticsearch_role_mapping` `name`. ([#1373](https://github.com/elastic/terraform-provider-elasticstack/pull/1373)) |
@@ -534,7 +583,8 @@ resource "elasticstack_fleet_output" "output" { |
534 | 583 | - Initial set of docs |
535 | 584 | - CI integration |
536 | 585 |
|
537 | | -[Unreleased]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.12.1...HEAD |
| 586 | +[Unreleased]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.12.2...HEAD |
| 587 | +[0.12.2]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.12.1...v0.12.2 |
538 | 588 | [0.12.1]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.12.0...v0.12.1 |
539 | 589 | [0.12.0]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.18...v0.12.0 |
540 | 590 | [0.11.19]: https://github.com/elastic/terraform-provider-elasticstack/compare/v0.11.18...v0.11.19 |
|
0 commit comments