foreman_override_value¶
Smart class parameter override value.
Example Usage¶
# Autogenerated example with required keys
resource "foreman_override_value" "example" {
match = {
type = "hostgroup"
value = "example_group"
}
omit = false
smart_class_parameter_id = 1
value = jsonencode({
key = "value"
})
}
Argument Reference¶
The following arguments are supported:
match- (Required) A map containing the match criteria. Must contain two keys:typeandvalue.Type can be one offqdn,hostgroup,domainorosomit- (Optional) When set totrueForeman will not send this parameter in classification output. Default value isfalse.smart_class_parameter_id- (Required) ID of the smart class parameter to override.value- (Required) Smart parameter override value. Hashes and arrays must be JSON encoded.
Attributes Reference¶
The following attributes are exported:
match- A map containing the match criteria. Must contain two keys:typeandvalue.Type can be one offqdn,hostgroup,domainorosomit- When set totrueForeman will not send this parameter in classification output. Default value isfalse.smart_class_parameter_id- ID of the smart class parameter to override.value- Smart parameter override value. Hashes and arrays must be JSON encoded.