File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
internal/fleet/agent_policy Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,15 @@ func getSchema() schema.Schema {
9292 },
9393 },
9494 "global_data_tags" : schema.MapNestedAttribute {
95- Description : "user -defined data tags to apply to all inputs. values can be strings (string_value) or numbers (number_value)." ,
95+ Description : "User -defined data tags to apply to all inputs. Values can be strings (string_value) or numbers (number_value) but not both ." ,
9696 NestedObject : schema.NestedAttributeObject {
9797 Attributes : map [string ]schema.Attribute {
9898 "string_value" : schema.StringAttribute {
99- Description : "Custom label for the field." ,
99+ Description : "String value for the field. If this is set, number_value must not be defined ." ,
100100 Optional : true ,
101101 },
102102 "number_value" : schema.Float32Attribute {
103- Description : "Popularity count for the field." ,
103+ Description : "Number value for the field. If this is set, string_value must not be defined ." ,
104104 Optional : true ,
105105 },
106106 },
@@ -113,14 +113,6 @@ func getSchema() schema.Schema {
113113 mapplanmodifier .RequiresReplace (),
114114 },
115115 },
116-
117- "global_data_tags_old" : schema.StringAttribute {
118- Description : "JSON encoded user-defined data tags to apply to all inputs." ,
119- Optional : true ,
120- PlanModifiers : []planmodifier.String {
121- stringplanmodifier .RequiresReplace (),
122- },
123- },
124116 }}
125117}
126118
You can’t perform that action at this time.
0 commit comments