published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
Create and delete a Harness FME (Split) flag set. Import id format: org_id/project_id/flag_set_id.
Create FlagSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FlagSet(name: string, args: FlagSetArgs, opts?: CustomResourceOptions);@overload
def FlagSet(resource_name: str,
args: FlagSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FlagSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewFlagSet(ctx *Context, name string, args FlagSetArgs, opts ...ResourceOption) (*FlagSet, error)public FlagSet(string name, FlagSetArgs args, CustomResourceOptions? opts = null)
public FlagSet(String name, FlagSetArgs args)
public FlagSet(String name, FlagSetArgs args, CustomResourceOptions options)
type: harness:fme:FlagSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "harness_fme_flagset" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FlagSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FlagSetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FlagSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlagSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FlagSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var flagSetResource = new Harness.Fme.FlagSet("flagSetResource", new()
{
OrgId = "string",
ProjectId = "string",
Description = "string",
Name = "string",
});
example, err := fme.NewFlagSet(ctx, "flagSetResource", &fme.FlagSetArgs{
OrgId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "harness_fme_flagset" "flagSetResource" {
org_id = "string"
project_id = "string"
description = "string"
name = "string"
}
var flagSetResource = new FlagSet("flagSetResource", FlagSetArgs.builder()
.orgId("string")
.projectId("string")
.description("string")
.name("string")
.build());
flag_set_resource = harness.fme.FlagSet("flagSetResource",
org_id="string",
project_id="string",
description="string",
name="string")
const flagSetResource = new harness.fme.FlagSet("flagSetResource", {
orgId: "string",
projectId: "string",
description: "string",
name: "string",
});
type: harness:fme:FlagSet
properties:
description: string
name: string
orgId: string
projectId: string
FlagSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FlagSet resource accepts the following input properties:
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Description string
- Flag set description.
- Name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens).
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Description string
- Flag set description.
- Name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens).
- org_
id string - Harness organization identifier.
- project_
id string - Harness project identifier.
- description string
- Flag set description.
- name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens).
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- description String
- Flag set description.
- name String
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens).
- org
Id string - Harness organization identifier.
- project
Id string - Harness project identifier.
- description string
- Flag set description.
- name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens).
- org_
id str - Harness organization identifier.
- project_
id str - Harness project identifier.
- description str
- Flag set description.
- name str
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens).
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- description String
- Flag set description.
- name String
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens).
Outputs
All input properties are implicitly available as output properties. Additionally, the FlagSet resource produces the following output properties:
- flag_
set_ stringid - The Split flag set ID (same as
id). - id string
- The provider-assigned unique ID for this managed resource.
- flag_
set_ strid - The Split flag set ID (same as
id). - id str
- The provider-assigned unique ID for this managed resource.
Look up Existing FlagSet Resource
Get an existing FlagSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FlagSetState, opts?: CustomResourceOptions): FlagSet@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
flag_set_id: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None) -> FlagSetfunc GetFlagSet(ctx *Context, name string, id IDInput, state *FlagSetState, opts ...ResourceOption) (*FlagSet, error)public static FlagSet Get(string name, Input<string> id, FlagSetState? state, CustomResourceOptions? opts = null)public static FlagSet get(String name, Output<String> id, FlagSetState state, CustomResourceOptions options)resources: _: type: harness:fme:FlagSet get: id: ${id}import {
to = harness_fme_flagset.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- Flag set description.
- Flag
Set stringId - The Split flag set ID (same as
id). - Name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens). - Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Description string
- Flag set description.
- Flag
Set stringId - The Split flag set ID (same as
id). - Name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens). - Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- description string
- Flag set description.
- flag_
set_ stringid - The Split flag set ID (same as
id). - name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens). - org_
id string - Harness organization identifier.
- project_
id string - Harness project identifier.
- description String
- Flag set description.
- flag
Set StringId - The Split flag set ID (same as
id). - name String
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens). - org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- description string
- Flag set description.
- flag
Set stringId - The Split flag set ID (same as
id). - name string
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens). - org
Id string - Harness organization identifier.
- project
Id string - Harness project identifier.
- description str
- Flag set description.
- flag_
set_ strid - The Split flag set ID (same as
id). - name str
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens). - org_
id str - Harness organization identifier.
- project_
id str - Harness project identifier.
- description String
- Flag set description.
- flag
Set StringId - The Split flag set ID (same as
id). - name String
- Flag set name. Split requires
^[a-z0-9][_a-z0-9]*, max 50 characters (lowercase letters, digits, underscores; no hyphens). - org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
published on Thursday, May 21, 2026 by Pulumi