For the complete documentation index, see llms.txt. This page is also available as Markdown.

Terraform provider

Use the official Harness Terraform provider to manage Harness FME resources as code, including feature flags, environments, segments, traffic types, flag sets, and API keys.

Use the official Harness Terraform provider to manage Harness resources as code. The provider supports creating and managing environments, traffic types, segments, feature flags, flag sets, and API keys.

Resources

The following Harness FME resources are available in the Harness Terraform provider.

Feature flags

Resource
Description

Create and manage a feature flag.

Create and manage a feature flag definition, including treatments and targeting rules.

Create and manage a flag set for grouping related feature flags.

Environments

Resource
Description

Create and manage an environment within a project.

Segments

Resource
Description

Create and manage a standard segment.

Associate a standard segment with an environment.

Manage the list of keys within a segment for a specific environment.

Create and manage a rule-based segment using attribute-based targeting rules.

Associate a rule-based segment with an environment.

Create and manage a large segment optimized for high-volume key lists.

Associate a large segment with an environment.

Traffic types

Resource
Description

Create and manage a traffic type within a project.

Manage custom attributes and suggested values for a traffic type.

API keys

Resource
Description

Create and manage API keys for authenticating with the Harness FME API.

Data sources

Data source
Description

Look up a Harness FME project by the workspace name, or by Harness organization and project identifiers.

Example usage

Use the Harness Terraform provider

Go to the Harness provider on the Terraform Registry to review full provider documentation, configuration options, and examples.

Last updated

Was this helpful?