You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue667 - Add global_data_tags to fleet agent policies (#1044)
* devcontainer
* schema and model to support global data tags
* minimum version
* tests
* test cleanup
* lint
* schema description
* docs
* if datatags is nil
* len not nil
* reflect instead
* ehh
* deref
* test mod
* temp dev
* temp dev2
* temp dev 3
* to jsonencode
* docs
* pointers
* maybe json
* 8.17.3 generate with new transform to combine global_data_tags schemas
* amazing, types arent screaming and tests pass
* changelog
* seems like this breaks other things
* using elastic/kibana 4f38cf96d24a66c98ac6dbaede2a9b92fa460b75 to generate kibana.gen.go
* gen kbapi from github_ref=3757e641278a5186919e35a0f980ac3cda7e8ccd
* fmt
* schema
* new docs
* test mod
* novalidate
* its alive
* passing tests
* docs
* devcontainer
* schema and model to support global data tags
* minimum version
* tests
* test cleanup
* lint
* schema description
* docs
* if datatags is nil
* len not nil
* reflect instead
* ehh
* deref
* test mod
* temp dev
* temp dev2
* temp dev 3
* to jsonencode
* docs
* pointers
* maybe json
* 8.17.3 generate with new transform to combine global_data_tags schemas
* amazing, types arent screaming and tests pass
* changelog
* seems like this breaks other things
* using elastic/kibana 4f38cf96d24a66c98ac6dbaede2a9b92fa460b75 to generate kibana.gen.go
* gen kbapi from github_ref=3757e641278a5186919e35a0f980ac3cda7e8ccd
* fmt
* schema
* new docs
* test mod
* novalidate
* its alive
* passing tests
* docs
* requested changes
* prep sync
* changelog
* separate test, passes
* remove comment in test
* fmt
* test name change to create
* remove RequiresReplace
* readd
* attempt computed, and UseStateForUnknown
* maybe add a default
* perhaps default without useState
* send an empty global_data_tags on update
* only for min ver and higher
* check elements directly
* datatags -- update test should test the removal of tag2
* test count
* drying code
* Fixup changelog
---------
Co-authored-by: Toby Brain <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
## [Unreleased]
2
2
3
+
- Add `global_data_tags` to fleet agent policies. ([#1044](https://github.com/elastic/terraform-provider-elasticstack/pull/1044))
4
+
3
5
## [0.11.14] - 2025-03-17
4
6
5
7
- Fix a provider crash when interacting with elasticstack_kibana_data_view resources created with 0.11.0. ([#979](https://github.com/elastic/terraform-provider-elasticstack/pull/979))
-`description` (String) The description of the agent policy.
42
51
-`download_source_id` (String) The identifier for the Elastic Agent binary download server.
43
52
-`fleet_server_host_id` (String) The identifier for the Fleet server host.
53
+
-`global_data_tags` (Attributes Map) User-defined data tags to apply to all inputs. Values can be strings (string_value) or numbers (number_value) but not both. Example -- key1 = {string_value = value1}, key2 = {number_value = 42} (see [below for nested schema](#nestedatt--global_data_tags))
44
54
-`monitor_logs` (Boolean) Enable collection of agent logs.
45
55
-`monitor_metrics` (Boolean) Enable collection of agent metrics.
46
56
-`monitoring_output_id` (String) The identifier for monitoring output.
diags.AddError("global_data_tags ES version error", fmt.Sprintf("Global data tags are only supported in Elastic Stack %s and above", MinVersionGlobalDataTags))
0 commit comments