Skip to content

Commit a9c8dce

Browse files
committed
new docs
1 parent 4d8ec62 commit a9c8dce

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/resources/fleet_agent_policy.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ resource "elasticstack_fleet_agent_policy" "test_policy" {
4141
- `description` (String) The description of the agent policy.
4242
- `download_source_id` (String) The identifier for the Elastic Agent binary download server.
4343
- `fleet_server_host_id` (String) The identifier for the Fleet server host.
44-
- `global_data_tags` (String) JSON encoded user-defined data tags to apply to all inputs.
44+
- `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. (see [below for nested schema](#nestedatt--global_data_tags))
4545
- `monitor_logs` (Boolean) Enable collection of agent logs.
4646
- `monitor_metrics` (Boolean) Enable collection of agent metrics.
4747
- `monitoring_output_id` (String) The identifier for monitoring output.
@@ -53,6 +53,14 @@ resource "elasticstack_fleet_agent_policy" "test_policy" {
5353

5454
- `id` (String) The ID of this resource.
5555

56+
<a id="nestedatt--global_data_tags"></a>
57+
### Nested Schema for `global_data_tags`
58+
59+
Optional:
60+
61+
- `number_value` (Number) Number value for the field. If this is set, string_value must not be defined.
62+
- `string_value` (String) String value for the field. If this is set, number_value must not be defined.
63+
5664
## Import
5765

5866
Import is supported using the following syntax:

0 commit comments

Comments
 (0)