published on Thursday, Jun 11, 2026 by Pulumi
published on Thursday, Jun 11, 2026 by Pulumi
Create, update, and delete a Harness FME (Split) environment. Import id format: org_id/project_id/environment_id.
Create FmeEnvironment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FmeEnvironment(name: string, args: FmeEnvironmentArgs, opts?: CustomResourceOptions);@overload
def FmeEnvironment(resource_name: str,
args: FmeEnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FmeEnvironment(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
change_permissions: Optional[FmeEnvironmentChangePermissionsArgs] = None,
name: Optional[str] = None,
production: Optional[bool] = None)func NewFmeEnvironment(ctx *Context, name string, args FmeEnvironmentArgs, opts ...ResourceOption) (*FmeEnvironment, error)public FmeEnvironment(string name, FmeEnvironmentArgs args, CustomResourceOptions? opts = null)
public FmeEnvironment(String name, FmeEnvironmentArgs args)
public FmeEnvironment(String name, FmeEnvironmentArgs args, CustomResourceOptions options)
type: harness:fmeEnvironment:FmeEnvironment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "harness_fmeenvironment_fmeenvironment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FmeEnvironmentArgs
- 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 FmeEnvironmentArgs
- 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 FmeEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FmeEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FmeEnvironmentArgs
- 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 fmeEnvironmentResource = new Harness.FmeEnvironment.FmeEnvironment("fmeEnvironmentResource", new()
{
OrgId = "string",
ProjectId = "string",
ChangePermissions = new Harness.FmeEnvironment.Inputs.FmeEnvironmentChangePermissionsArgs
{
AllowKills = false,
ApprovalSkippableBies = new[]
{
new Harness.FmeEnvironment.Inputs.FmeEnvironmentChangePermissionsApprovalSkippableByArgs
{
Id = "string",
Type = "string",
Name = "string",
},
},
Approvers = new[]
{
new Harness.FmeEnvironment.Inputs.FmeEnvironmentChangePermissionsApproverArgs
{
Id = "string",
Type = "string",
Name = "string",
},
},
AreApprovalsRequired = false,
AreApproversRestricted = false,
},
Name = "string",
Production = false,
});
example, err := fmeenvironment.NewFmeEnvironment(ctx, "fmeEnvironmentResource", &fmeenvironment.FmeEnvironmentArgs{
OrgId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
ChangePermissions: &fmeenvironment.FmeEnvironmentChangePermissionsArgs{
AllowKills: pulumi.Bool(false),
ApprovalSkippableBies: fmeenvironment.FmeEnvironmentChangePermissionsApprovalSkippableByArray{
&fmeenvironment.FmeEnvironmentChangePermissionsApprovalSkippableByArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
Approvers: fmeenvironment.FmeEnvironmentChangePermissionsApproverArray{
&fmeenvironment.FmeEnvironmentChangePermissionsApproverArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
AreApprovalsRequired: pulumi.Bool(false),
AreApproversRestricted: pulumi.Bool(false),
},
Name: pulumi.String("string"),
Production: pulumi.Bool(false),
})
resource "harness_fmeenvironment_fmeenvironment" "fmeEnvironmentResource" {
org_id = "string"
project_id = "string"
change_permissions = {
allow_kills = false
approval_skippable_bies = [{
"id" = "string"
"type" = "string"
"name" = "string"
}]
approvers = [{
"id" = "string"
"type" = "string"
"name" = "string"
}]
are_approvals_required = false
are_approvers_restricted = false
}
name = "string"
production = false
}
var fmeEnvironmentResource = new FmeEnvironment("fmeEnvironmentResource", FmeEnvironmentArgs.builder()
.orgId("string")
.projectId("string")
.changePermissions(FmeEnvironmentChangePermissionsArgs.builder()
.allowKills(false)
.approvalSkippableBies(FmeEnvironmentChangePermissionsApprovalSkippableByArgs.builder()
.id("string")
.type("string")
.name("string")
.build())
.approvers(FmeEnvironmentChangePermissionsApproverArgs.builder()
.id("string")
.type("string")
.name("string")
.build())
.areApprovalsRequired(false)
.areApproversRestricted(false)
.build())
.name("string")
.production(false)
.build());
fme_environment_resource = harness.fmeenvironment.FmeEnvironment("fmeEnvironmentResource",
org_id="string",
project_id="string",
change_permissions={
"allow_kills": False,
"approval_skippable_bies": [{
"id": "string",
"type": "string",
"name": "string",
}],
"approvers": [{
"id": "string",
"type": "string",
"name": "string",
}],
"are_approvals_required": False,
"are_approvers_restricted": False,
},
name="string",
production=False)
const fmeEnvironmentResource = new harness.fmeenvironment.FmeEnvironment("fmeEnvironmentResource", {
orgId: "string",
projectId: "string",
changePermissions: {
allowKills: false,
approvalSkippableBies: [{
id: "string",
type: "string",
name: "string",
}],
approvers: [{
id: "string",
type: "string",
name: "string",
}],
areApprovalsRequired: false,
areApproversRestricted: false,
},
name: "string",
production: false,
});
type: harness:fmeEnvironment:FmeEnvironment
properties:
changePermissions:
allowKills: false
approvalSkippableBies:
- id: string
name: string
type: string
approvers:
- id: string
name: string
type: string
areApprovalsRequired: false
areApproversRestricted: false
name: string
orgId: string
production: false
projectId: string
FmeEnvironment 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 FmeEnvironment resource accepts the following input properties:
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Change
Permissions FmeEnvironment Change Permissions - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- Name string
- Environment name in Split (max 20 characters per Split API).
- Production bool
- Whether this is a production environment.
- Org
Id string - Harness organization identifier.
- Project
Id string - Harness project identifier.
- Change
Permissions FmeEnvironment Change Permissions Args - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- Name string
- Environment name in Split (max 20 characters per Split API).
- Production bool
- Whether this is a production environment.
- org_
id string - Harness organization identifier.
- project_
id string - Harness project identifier.
- change_
permissions object - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- name string
- Environment name in Split (max 20 characters per Split API).
- production bool
- Whether this is a production environment.
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- change
Permissions FmeEnvironment Change Permissions - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- name String
- Environment name in Split (max 20 characters per Split API).
- production Boolean
- Whether this is a production environment.
- org
Id string - Harness organization identifier.
- project
Id string - Harness project identifier.
- change
Permissions FmeEnvironment Change Permissions - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- name string
- Environment name in Split (max 20 characters per Split API).
- production boolean
- Whether this is a production environment.
- org_
id str - Harness organization identifier.
- project_
id str - Harness project identifier.
- change_
permissions FmeEnvironment Change Permissions Args - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- name str
- Environment name in Split (max 20 characters per Split API).
- production bool
- Whether this is a production environment.
- org
Id String - Harness organization identifier.
- project
Id String - Harness project identifier.
- change
Permissions Property Map - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- name String
- Environment name in Split (max 20 characters per Split API).
- production Boolean
- Whether this is a production environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the FmeEnvironment resource produces the following output properties:
- Bootstrap
Api List<string>Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - Environment
Id string - The Split environment ID (same as
id). - Id string
- The provider-assigned unique ID for this managed resource.
- Bootstrap
Api []stringToken Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - Environment
Id string - The Split environment ID (same as
id). - Id string
- The provider-assigned unique ID for this managed resource.
- bootstrap_
api_ list(string)token_ ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - environment_
id string - The Split environment ID (same as
id). - id string
- The provider-assigned unique ID for this managed resource.
- bootstrap
Api List<String>Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - environment
Id String - The Split environment ID (same as
id). - id String
- The provider-assigned unique ID for this managed resource.
- bootstrap
Api string[]Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - environment
Id string - The Split environment ID (same as
id). - id string
- The provider-assigned unique ID for this managed resource.
- bootstrap_
api_ Sequence[str]token_ ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - environment_
id str - The Split environment ID (same as
id). - id str
- The provider-assigned unique ID for this managed resource.
- bootstrap
Api List<String>Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - environment
Id String - The Split environment ID (same as
id). - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing FmeEnvironment Resource
Get an existing FmeEnvironment 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?: FmeEnvironmentState, opts?: CustomResourceOptions): FmeEnvironment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bootstrap_api_token_ids: Optional[Sequence[str]] = None,
change_permissions: Optional[FmeEnvironmentChangePermissionsArgs] = None,
environment_id: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
production: Optional[bool] = None,
project_id: Optional[str] = None) -> FmeEnvironmentfunc GetFmeEnvironment(ctx *Context, name string, id IDInput, state *FmeEnvironmentState, opts ...ResourceOption) (*FmeEnvironment, error)public static FmeEnvironment Get(string name, Input<string> id, FmeEnvironmentState? state, CustomResourceOptions? opts = null)public static FmeEnvironment get(String name, Output<String> id, FmeEnvironmentState state, CustomResourceOptions options)resources: _: type: harness:fmeEnvironment:FmeEnvironment get: id: ${id}import {
to = harness_fmeenvironment_fmeenvironment.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.
- Bootstrap
Api List<string>Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - Change
Permissions FmeEnvironment Change Permissions - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- Environment
Id string - The Split environment ID (same as
id). - Name string
- Environment name in Split (max 20 characters per Split API).
- Org
Id string - Harness organization identifier.
- Production bool
- Whether this is a production environment.
- Project
Id string - Harness project identifier.
- Bootstrap
Api []stringToken Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - Change
Permissions FmeEnvironment Change Permissions Args - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- Environment
Id string - The Split environment ID (same as
id). - Name string
- Environment name in Split (max 20 characters per Split API).
- Org
Id string - Harness organization identifier.
- Production bool
- Whether this is a production environment.
- Project
Id string - Harness project identifier.
- bootstrap_
api_ list(string)token_ ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - change_
permissions object - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- environment_
id string - The Split environment ID (same as
id). - name string
- Environment name in Split (max 20 characters per Split API).
- org_
id string - Harness organization identifier.
- production bool
- Whether this is a production environment.
- project_
id string - Harness project identifier.
- bootstrap
Api List<String>Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - change
Permissions FmeEnvironment Change Permissions - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- environment
Id String - The Split environment ID (same as
id). - name String
- Environment name in Split (max 20 characters per Split API).
- org
Id String - Harness organization identifier.
- production Boolean
- Whether this is a production environment.
- project
Id String - Harness project identifier.
- bootstrap
Api string[]Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - change
Permissions FmeEnvironment Change Permissions - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- environment
Id string - The Split environment ID (same as
id). - name string
- Environment name in Split (max 20 characters per Split API).
- org
Id string - Harness organization identifier.
- production boolean
- Whether this is a production environment.
- project
Id string - Harness project identifier.
- bootstrap_
api_ Sequence[str]token_ ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - change_
permissions FmeEnvironment Change Permissions Args - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- environment_
id str - The Split environment ID (same as
id). - name str
- Environment name in Split (max 20 characters per Split API).
- org_
id str - Harness organization identifier.
- production bool
- Whether this is a production environment.
- project_
id str - Harness project identifier.
- bootstrap
Api List<String>Token Ids - IDs of API keys auto-created by Split when the environment is created. Only populated from the create response; the Split API does not return these on read. Stored in Terraform state so the provider can delete them before destroying the environment. Empty after
pulumi importunless you set this attribute manually (not recommended). - change
Permissions Property Map - Change permission and approval settings for this environment. Controls whether kills are allowed, whether approvals are required for changes, and who can approve or skip approvals. Note: the Split API does not return these on read; values are preserved from create/update responses.
- environment
Id String - The Split environment ID (same as
id). - name String
- Environment name in Split (max 20 characters per Split API).
- org
Id String - Harness organization identifier.
- production Boolean
- Whether this is a production environment.
- project
Id String - Harness project identifier.
Supporting Types
FmeEnvironmentChangePermissions, FmeEnvironmentChangePermissionsArgs
- Allow
Kills bool - Whether kill operations are allowed in this environment.
- Approval
Skippable List<FmeBies Environment Change Permissions Approval Skippable By> - Users, groups, or API keys that can skip the approval requirement.
- Approvers
List<Fme
Environment Change Permissions Approver> - Users, groups, or API keys that can approve changes.
- Are
Approvals boolRequired - Whether approvals are required before changes take effect.
- Are
Approvers boolRestricted - Whether only specific users/groups/API keys can approve changes.
- Allow
Kills bool - Whether kill operations are allowed in this environment.
- Approval
Skippable []FmeBies Environment Change Permissions Approval Skippable By - Users, groups, or API keys that can skip the approval requirement.
- Approvers
[]Fme
Environment Change Permissions Approver - Users, groups, or API keys that can approve changes.
- Are
Approvals boolRequired - Whether approvals are required before changes take effect.
- Are
Approvers boolRestricted - Whether only specific users/groups/API keys can approve changes.
- allow_
kills bool - Whether kill operations are allowed in this environment.
- approval_
skippable_ list(object)bies - Users, groups, or API keys that can skip the approval requirement.
- approvers list(object)
- Users, groups, or API keys that can approve changes.
- are_
approvals_ boolrequired - Whether approvals are required before changes take effect.
- are_
approvers_ boolrestricted - Whether only specific users/groups/API keys can approve changes.
- allow
Kills Boolean - Whether kill operations are allowed in this environment.
- approval
Skippable List<FmeBies Environment Change Permissions Approval Skippable By> - Users, groups, or API keys that can skip the approval requirement.
- approvers
List<Fme
Environment Change Permissions Approver> - Users, groups, or API keys that can approve changes.
- are
Approvals BooleanRequired - Whether approvals are required before changes take effect.
- are
Approvers BooleanRestricted - Whether only specific users/groups/API keys can approve changes.
- allow
Kills boolean - Whether kill operations are allowed in this environment.
- approval
Skippable FmeBies Environment Change Permissions Approval Skippable By[] - Users, groups, or API keys that can skip the approval requirement.
- approvers
Fme
Environment Change Permissions Approver[] - Users, groups, or API keys that can approve changes.
- are
Approvals booleanRequired - Whether approvals are required before changes take effect.
- are
Approvers booleanRestricted - Whether only specific users/groups/API keys can approve changes.
- allow_
kills bool - Whether kill operations are allowed in this environment.
- approval_
skippable_ Sequence[Fmebies Environment Change Permissions Approval Skippable By] - Users, groups, or API keys that can skip the approval requirement.
- approvers
Sequence[Fme
Environment Change Permissions Approver] - Users, groups, or API keys that can approve changes.
- are_
approvals_ boolrequired - Whether approvals are required before changes take effect.
- are_
approvers_ boolrestricted - Whether only specific users/groups/API keys can approve changes.
- allow
Kills Boolean - Whether kill operations are allowed in this environment.
- approval
Skippable List<Property Map>Bies - Users, groups, or API keys that can skip the approval requirement.
- approvers List<Property Map>
- Users, groups, or API keys that can approve changes.
- are
Approvals BooleanRequired - Whether approvals are required before changes take effect.
- are
Approvers BooleanRestricted - Whether only specific users/groups/API keys can approve changes.
FmeEnvironmentChangePermissionsApprovalSkippableBy, FmeEnvironmentChangePermissionsApprovalSkippableByArgs
FmeEnvironmentChangePermissionsApprover, FmeEnvironmentChangePermissionsApproverArgs
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