Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions internal/fleet/output/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
Expand Down Expand Up @@ -67,11 +68,15 @@ func getSchema() schema.Schema {
},
"default_integrations": schema.BoolAttribute{
Description: "Make this output the default for agent integrations.",
Computed: true,
Optional: true,
Default: booldefault.StaticBool(false),
},
"default_monitoring": schema.BoolAttribute{
Description: "Make this output the default for agent monitoring.",
Computed: true,
Optional: true,
Default: booldefault.StaticBool(false),
},
"config_yaml": schema.StringAttribute{
Description: "Advanced YAML configuration. YAML settings here will be added to the output section of each agent policy.",
Expand Down
Loading