1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. fmeFeatureFlag
  6. FmeFeatureFlag
Viewing docs for Harness v0.14.2
published on Thursday, Jun 11, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.14.2
published on Thursday, Jun 11, 2026 by Pulumi

    Create, update, and delete a Harness FME (Split) feature flag. Import id format: org_id/project_id/flag_name.

    Create FmeFeatureFlag Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FmeFeatureFlag(name: string, args: FmeFeatureFlagArgs, opts?: CustomResourceOptions);
    @overload
    def FmeFeatureFlag(resource_name: str,
                       args: FmeFeatureFlagArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def FmeFeatureFlag(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       org_id: Optional[str] = None,
                       project_id: Optional[str] = None,
                       traffic_type_id: Optional[str] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None,
                       tags: Optional[Sequence[str]] = None)
    func NewFmeFeatureFlag(ctx *Context, name string, args FmeFeatureFlagArgs, opts ...ResourceOption) (*FmeFeatureFlag, error)
    public FmeFeatureFlag(string name, FmeFeatureFlagArgs args, CustomResourceOptions? opts = null)
    public FmeFeatureFlag(String name, FmeFeatureFlagArgs args)
    public FmeFeatureFlag(String name, FmeFeatureFlagArgs args, CustomResourceOptions options)
    
    type: harness:fmeFeatureFlag:FmeFeatureFlag
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_fmefeatureflag_fmefeatureflag" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FmeFeatureFlagArgs
    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 FmeFeatureFlagArgs
    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 FmeFeatureFlagArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FmeFeatureFlagArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FmeFeatureFlagArgs
    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 fmeFeatureFlagResource = new Harness.FmeFeatureFlag.FmeFeatureFlag("fmeFeatureFlagResource", new()
    {
        OrgId = "string",
        ProjectId = "string",
        TrafficTypeId = "string",
        Description = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := fmefeatureflag.NewFmeFeatureFlag(ctx, "fmeFeatureFlagResource", &fmefeatureflag.FmeFeatureFlagArgs{
    	OrgId:         pulumi.String("string"),
    	ProjectId:     pulumi.String("string"),
    	TrafficTypeId: pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "harness_fmefeatureflag_fmefeatureflag" "fmeFeatureFlagResource" {
      org_id          = "string"
      project_id      = "string"
      traffic_type_id = "string"
      description     = "string"
      name            = "string"
      tags            = ["string"]
    }
    
    var fmeFeatureFlagResource = new FmeFeatureFlag("fmeFeatureFlagResource", FmeFeatureFlagArgs.builder()
        .orgId("string")
        .projectId("string")
        .trafficTypeId("string")
        .description("string")
        .name("string")
        .tags("string")
        .build());
    
    fme_feature_flag_resource = harness.fmefeatureflag.FmeFeatureFlag("fmeFeatureFlagResource",
        org_id="string",
        project_id="string",
        traffic_type_id="string",
        description="string",
        name="string",
        tags=["string"])
    
    const fmeFeatureFlagResource = new harness.fmefeatureflag.FmeFeatureFlag("fmeFeatureFlagResource", {
        orgId: "string",
        projectId: "string",
        trafficTypeId: "string",
        description: "string",
        name: "string",
        tags: ["string"],
    });
    
    type: harness:fmeFeatureFlag:FmeFeatureFlag
    properties:
        description: string
        name: string
        orgId: string
        projectId: string
        tags:
            - string
        trafficTypeId: string
    

    FmeFeatureFlag 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 FmeFeatureFlag resource accepts the following input properties:

    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Description.
    Name string
    Feature flag name (Split split name).
    Tags List<string>
    Tag names to associate with the flag (applied after create/update).
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Description.
    Name string
    Feature flag name (Split split name).
    Tags []string
    Tag names to associate with the flag (applied after create/update).
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    traffic_type_id string
    Split traffic type ID.
    description string
    Description.
    name string
    Feature flag name (Split split name).
    tags list(string)
    Tag names to associate with the flag (applied after create/update).
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.
    description String
    Description.
    name String
    Feature flag name (Split split name).
    tags List<String>
    Tag names to associate with the flag (applied after create/update).
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    trafficTypeId string
    Split traffic type ID.
    description string
    Description.
    name string
    Feature flag name (Split split name).
    tags string[]
    Tag names to associate with the flag (applied after create/update).
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    traffic_type_id str
    Split traffic type ID.
    description str
    Description.
    name str
    Feature flag name (Split split name).
    tags Sequence[str]
    Tag names to associate with the flag (applied after create/update).
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    trafficTypeId String
    Split traffic type ID.
    description String
    Description.
    name String
    Feature flag name (Split split name).
    tags List<String>
    Tag names to associate with the flag (applied after create/update).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FmeFeatureFlag resource produces the following output properties:

    FlagId string
    Split internal flag ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    FlagId string
    Split internal flag ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    flag_id string
    Split internal flag ID.
    id string
    The provider-assigned unique ID for this managed resource.
    flagId String
    Split internal flag ID.
    id String
    The provider-assigned unique ID for this managed resource.
    flagId string
    Split internal flag ID.
    id string
    The provider-assigned unique ID for this managed resource.
    flag_id str
    Split internal flag ID.
    id str
    The provider-assigned unique ID for this managed resource.
    flagId String
    Split internal flag ID.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FmeFeatureFlag Resource

    Get an existing FmeFeatureFlag 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?: FmeFeatureFlagState, opts?: CustomResourceOptions): FmeFeatureFlag
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            flag_id: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            traffic_type_id: Optional[str] = None) -> FmeFeatureFlag
    func GetFmeFeatureFlag(ctx *Context, name string, id IDInput, state *FmeFeatureFlagState, opts ...ResourceOption) (*FmeFeatureFlag, error)
    public static FmeFeatureFlag Get(string name, Input<string> id, FmeFeatureFlagState? state, CustomResourceOptions? opts = null)
    public static FmeFeatureFlag get(String name, Output<String> id, FmeFeatureFlagState state, CustomResourceOptions options)
    resources:  _:    type: harness:fmeFeatureFlag:FmeFeatureFlag    get:      id: ${id}
    import {
      to = harness_fmefeatureflag_fmefeatureflag.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.
    The following state arguments are supported:
    Description string
    Description.
    FlagId string
    Split internal flag ID.
    Name string
    Feature flag name (Split split name).
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    Tags List<string>
    Tag names to associate with the flag (applied after create/update).
    TrafficTypeId string
    Split traffic type ID.
    Description string
    Description.
    FlagId string
    Split internal flag ID.
    Name string
    Feature flag name (Split split name).
    OrgId string
    Harness organization identifier.
    ProjectId string
    Harness project identifier.
    Tags []string
    Tag names to associate with the flag (applied after create/update).
    TrafficTypeId string
    Split traffic type ID.
    description string
    Description.
    flag_id string
    Split internal flag ID.
    name string
    Feature flag name (Split split name).
    org_id string
    Harness organization identifier.
    project_id string
    Harness project identifier.
    tags list(string)
    Tag names to associate with the flag (applied after create/update).
    traffic_type_id string
    Split traffic type ID.
    description String
    Description.
    flagId String
    Split internal flag ID.
    name String
    Feature flag name (Split split name).
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    tags List<String>
    Tag names to associate with the flag (applied after create/update).
    trafficTypeId String
    Split traffic type ID.
    description string
    Description.
    flagId string
    Split internal flag ID.
    name string
    Feature flag name (Split split name).
    orgId string
    Harness organization identifier.
    projectId string
    Harness project identifier.
    tags string[]
    Tag names to associate with the flag (applied after create/update).
    trafficTypeId string
    Split traffic type ID.
    description str
    Description.
    flag_id str
    Split internal flag ID.
    name str
    Feature flag name (Split split name).
    org_id str
    Harness organization identifier.
    project_id str
    Harness project identifier.
    tags Sequence[str]
    Tag names to associate with the flag (applied after create/update).
    traffic_type_id str
    Split traffic type ID.
    description String
    Description.
    flagId String
    Split internal flag ID.
    name String
    Feature flag name (Split split name).
    orgId String
    Harness organization identifier.
    projectId String
    Harness project identifier.
    tags List<String>
    Tag names to associate with the flag (applied after create/update).
    trafficTypeId String
    Split traffic type ID.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.14.2
    published on Thursday, Jun 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial