published on Thursday, Jun 11, 2026 by Pulumi
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:
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Traffic
Type stringId - Split traffic type ID.
- Description string
- Description.
- Name string
- Feature flag name (Split split name).
- List<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 stringId - Split traffic type ID.
- Description string
- Description.
- Name string
- Feature flag name (Split split name).
- []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_ stringid - Split traffic type ID.
- description string
- Description.
- name string
- Feature flag name (Split split name).
- list(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 StringId - Split traffic type ID.
- description String
- Description.
- name String
- Feature flag name (Split split name).
- List<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 stringId - Split traffic type ID.
- description string
- Description.
- name string
- Feature flag name (Split split name).
- 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_ strid - Split traffic type ID.
- description str
- Description.
- name str
- Feature flag name (Split split name).
- Sequence[str]
- 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 StringId - Split traffic type ID.
- description String
- Description.
- name String
- Feature flag name (Split split name).
- 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:
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) -> FmeFeatureFlagfunc 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.
- 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.
- List<string>
- Tag names to associate with the flag (applied after create/update).
- Traffic
Type stringId - 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.
- []string
- Tag names to associate with the flag (applied after create/update).
- Traffic
Type stringId - 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.
- list(string)
- Tag names to associate with the flag (applied after create/update).
- traffic_
type_ stringid - 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.
- List<String>
- Tag names to associate with the flag (applied after create/update).
- traffic
Type StringId - 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.
- string[]
- Tag names to associate with the flag (applied after create/update).
- traffic
Type stringId - 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.
- Sequence[str]
- Tag names to associate with the flag (applied after create/update).
- traffic_
type_ strid - 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.
- List<String>
- Tag names to associate with the flag (applied after create/update).
- traffic
Type StringId - Split traffic type ID.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
published on Thursday, Jun 11, 2026 by Pulumi