File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
internal/fleet/integration_policy Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ type integrationPolicyModelV1 struct {
3333 Force types.Bool `tfsdk:"force"`
3434 IntegrationName types.String `tfsdk:"integration_name"`
3535 IntegrationVersion types.String `tfsdk:"integration_version"`
36+ OutputID types.String `tfsdk:"output_id"`
3637 Input types.List `tfsdk:"input"` //> integrationPolicyInputModel
3738 VarsJson jsontypes.Normalized `tfsdk:"vars_json"`
3839 SpaceIds types.Set `tfsdk:"space_ids"`
@@ -59,6 +60,7 @@ func (m integrationPolicyModelV1) toV2(ctx context.Context) (integrationPolicyMo
5960 Force : m .Force ,
6061 IntegrationName : m .IntegrationName ,
6162 IntegrationVersion : m .IntegrationVersion ,
63+ OutputID : m .OutputID ,
6264 SpaceIds : m .SpaceIds ,
6365 VarsJson : m .VarsJson ,
6466 }
@@ -205,6 +207,10 @@ func getSchemaV1() *schema.Schema {
205207 Description : "The version of the integration package." ,
206208 Required : true ,
207209 },
210+ "output_id" : schema.StringAttribute {
211+ Description : "The ID of the output to send data to. When not specified, the default output of the agent policy will be used." ,
212+ Optional : true ,
213+ },
208214 "vars_json" : schema.StringAttribute {
209215 Description : "Integration-level variables as JSON." ,
210216 CustomType : jsontypes.NormalizedType {},
You can’t perform that action at this time.
0 commit comments