Categorygithub.com/hashicorp/go-tfe
modulepackage
1.74.1
Repository: https://github.com/hashicorp/go-tfe.git
Documentation: pkg.go.dev

# README

HCP Terraform and Terraform Enterprise Go Client

Tests GitHub license GoDoc Go Report Card GitHub issues

The official Go API client for HCP Terraform and Terraform Enterprise.

This client supports the HCP Terraform V2 API. As Terraform Enterprise is a self-hosted distribution of HCP Terraform, this client supports both HCP Terraform and Terraform Enterprise use cases. In all package documentation and API, the platform will always be stated as 'Terraform Enterprise' - but a feature will be explicitly noted as only supported in one or the other, if applicable (rare).

Version Information

Almost always, minor version changes will indicate backwards-compatible features and enhancements. Occasionally, function signature changes that reflect a bug fix may appear as a minor version change. Patch version changes will be used for bug fixes, performance improvements, and otherwise unimpactful changes.

Example Usage

Construct a new TFE client, then use the various endpoints on the client to access different parts of the Terraform Enterprise API. The following example lists all organizations.

(Recommended Approach) Using custom config to provide configuration details to the API client

import (
  "context"
  "log"

  "github.com/hashicorp/go-tfe"
)

config := &tfe.Config{
	Address: "https://tfe.local",
	Token: "insert-your-token-here",
  RetryServerErrors: true,
}

client, err := tfe.NewClient(config)
if err != nil {
	log.Fatal(err)
}

orgs, err := client.Organizations.List(context.Background(), nil)
if err != nil {
	log.Fatal(err)
}

Using the default config with env vars

The default configuration makes use of the TFE_ADDRESS and TFE_TOKEN environment variables.

  1. TFE_ADDRESS - URL of a HCP Terraform or Terraform Enterprise instance. Example: https://tfe.local
  2. TFE_TOKEN - An API token for the HCP Terraform or Terraform Enterprise instance.

Note: Alternatively, you can set TFE_HOSTNAME which serves as a fallback for TFE_ADDRESS. It will only be used if TFE_ADDRESS is not set and will resolve the host to an https scheme. Example: tfe.local => resolves to https://tfe.local

The environment variables are used as a fallback to configure TFE client if the Address or Token values are not provided as in the cases below:

Using the default configuration

import (
  "context"
  "log"

  "github.com/hashicorp/go-tfe"
)

// Passing nil to tfe.NewClient method will also use the default configuration
client, err := tfe.NewClient(tfe.DefaultConfig())
if err != nil {
	log.Fatal(err)
}

orgs, err := client.Organizations.List(context.Background(), nil)
if err != nil {
	log.Fatal(err)
}

When Address or Token has no value

import (
  "context"
  "log"

  "github.com/hashicorp/go-tfe"
)

config := &tfe.Config{
	Address: "",
	Token: "",
}

client, err := tfe.NewClient(config)
if err != nil {
	log.Fatal(err)
}

orgs, err := client.Organizations.List(context.Background(), nil)
if err != nil {
	log.Fatal(err)
}

Documentation

For complete usage of the API client, see the full package docs.

Examples

See the examples directory.

Running tests

See TESTS.md.

Issues and Contributing

See CONTRIBUTING.md

Releases

See RELEASES.md

# Packages

No description provided by the author
Package mocks is a generated GoMock package.

# Functions

Access returns a pointer to the given team access type.
AuthPolicy returns a pointer to the given authentication poliy.
Bool returns a pointer to the given bool.
Category returns a pointer to the given category type.
ContextWithResponseHeaderHook returns a context that will, if passed to [ClientRequest.Do] or to any of the wrapper methods that call it, arrange for the given callback to be called with the headers from the raw HTTP response.
No description provided by the author
EnforcementMode returns a pointer to the given enforcement level.
Int returns a pointer to the given int.
Int64 returns a pointer to the given int64.
NewClient creates a new Terraform Enterprise API client.
No description provided by the author
No description provided by the author
NotificationDestination returns a pointer to the given notification configuration destination type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PlanExportType returns a pointer to the given plan export data type.
ProjectAccess returns a pointer to the given team access project type.
ProjectSettingsPermission returns a pointer to the given team access project type.
ProjectTeamsPermission returns a pointer to the given team access project type.
ProjectVariableSetsPermission returns a pointer to the given team access project type.
RunsPermission returns a pointer to the given team runs permission type.
SentinelMocksPermission returns a pointer to the given team Sentinel mocks permission type.
ServiceProvider returns a pointer to the given service provider type.
SMTPAuthValue returns a pointer to a given smtp auth type.
StateVersionsPermission returns a pointer to the given team state versions permission type.
String returns a pointer to the given string.
VariablesPermission returns a pointer to the given team variables permission type.
WorkspaceRunsPermission returns a pointer to the given team access project type.
WorkspaceSentinelMocksPermission returns a pointer to the given team access project type.
WorkspaceStateVersionsPermission returns a pointer to the given team access project type.
WorkspaceStateVersionsPermission returns a pointer to the given team access project type.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List all available apply statuses.
List all available apply statuses.
List all available apply statuses.
List all available apply statuses.
List all available apply statuses.
List all available apply statuses.
List all available apply statuses.
List all available apply statuses.
List all available apply statuses.
A token which can only access the Audit Trails of an HCP Terraform Organization.
List of available authentication policies.
List of available authentication policies.
List all available categories.
List all available categories.
List all available categories.
List all available configuration version statuses.
List all available configuration version statuses.
List all available configuration version statuses.
List all available configuration version statuses.
List all available configuration version sources.
List all available configuration version sources.
List all available configuration version sources.
List all available configuration version sources.
List all available configuration version sources.
List all available configuration version sources.
List all available configuration version statuses.
No description provided by the author
No description provided by the author
No description provided by the author
List all available costEstimate statuses.
List all available costEstimate statuses.
List all available costEstimate statuses.
List all available costEstimate statuses.
List all available costEstimate statuses.
List all available costEstimate statuses.
No description provided by the author
No description provided by the author
No description provided by the author
List the available enforcement types.
List the available enforcement types.
List the available enforcement types.
List the available enforcement types.
No description provided by the author
No description provided by the author
List of available notification destination types.
List of available notification destination types.
List of available notification destination types.
List of available notification destination types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
**Note: This include option is still in BETA and subject to change.**.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PingEndpoint is a no-op API endpoint used to configure the rate limiter.
List all available plan statuses.
List all available plan statuses.
List all available plan statuses.
List all available plan export statuses.
List all available plan export statuses.
List all available plan export statuses.
List all available plan export statuses.
List all available plan export statuses.
List all available plan export statuses.
List all available plan export data types.
List all available plan statuses.
List all available plan statuses.
List all available plan statuses.
List all available plan statuses.
List all available plan statuses.
List all available plan statuses.
List all available policy check statuses.
No description provided by the author
No description provided by the author
List all available policy check statuses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
**Note: This field is still in BETA and subject to change.**.
No description provided by the author
List all available policy check statuses.
List all available policy check statuses.
List all available policy check statuses.
List all available policy check statuses.
List all available policy check statuses.
List all available policy scopes.
List all available policy scopes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List all available policy set version statuses.
List all available policy set version statuses.
List all available policy set version statuses.
List all available policy set version statuses.
List all available sources for a Policy Set Version.
List all available sources for a Policy Set Version.
List all available sources for a Policy Set Version.
List all available sources for a Policy Set Version.
List all available sources for a Policy Set Version.
No description provided by the author
No description provided by the author
List all available policy check statuses.
List all available policy check statuses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List of available registry names.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List of available registry names.
No description provided by the author
No description provided by the author
List of available registry module statuses.
List of available registry module statuses.
List of available registry module statuses.
List of available registry module statuses.
List of available registry module version statuses.
List of available registry module version statuses.
List of available registry module version statuses.
List of available registry module version statuses.
List of available registry module version statuses.
List of available registry module version statuses.
List of available registry module version statuses.
List of available includes.
List all available run statuses.
No description provided by the author
List all available run statuses.
List all available run statuses.
List all available run statuses.
No description provided by the author
No description provided by the author
List all available run statuses.
No description provided by the author
List all available run statuses.
List all available run statuses.
No description provided by the author
List all available run statuses.
List all available run statuses.
No description provided by the author
No description provided by the author
List all available run statuses.
List all available run statuses.
List all available run operations.
List all available run operations.
List all available run operations.
List all available run operations.
List all available run operations.
List all available run operations.
List all available run statuses.
No description provided by the author
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run statuses.
List all available run sources.
List all available run sources.
List all available run sources.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
create runs in the specified workspace.
create runs in other workspaces.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List of available VCS types.
List of available VCS types.
List of available VCS types.
List of available VCS types.
Bitbucket Server v5.4.0 and above.
Bitbucket Server v5.3.0 and below.
List of available VCS types.
List of available VCS types.
List of available VCS types.
List of available VCS types.
List of available VCS types.
List of all SMTP auth types.
List of all SMTP auth types.
List of all SMTP auth types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StackSortByName sorts by the name attribute.
StackSortByNameDesc sorts by the name attribute in descending order.
StackSortByUpdatedAt sorts by the updated-at attribute.
StackSortByUpdatedAtDesc sorts by the updated-at attribute in descending order.
Available state version statuses.
Available state version statuses.
Available state version statuses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List all available test statuses.
List all available test statuses.
List all available test statuses.
List all available test statuses.
List all available test run statuses.
List all available test run statuses.
List all available test run statuses.
List all available test run statuses.
List all available test run statuses.
List all available test run statuses.
List all available test statuses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
No description provided by the author
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
No description provided by the author
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
ErrInvalidRequestBody is returned when a request body for DELETE/PATCH/POST is not a reference type.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
ErrInvalidStructFormat is returned when a mix of json and jsonapi tagged fields are used in the same struct.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
No description provided by the author
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
Invalid values for resources/struct fields.
ErrItemsMustBeSlice is returned when an API response attribute called Items is not a slice.
ErrMissingDirectory is returned when the path does not have an existing directory.
No description provided by the author
ErrNamespaceNotAuthorized is returned when a user attempts to perform an action on a namespace (organization) they do not have access to.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrResourceNotFound is returned when receiving a 404.
No description provided by the author
No description provided by the author
No description provided by the author
ErrUnauthorized is returned when receiving a 401.
Options/fields that cannot be defined.
Options/fields that cannot be defined.
Options/fields that cannot be defined.
Options/fields that cannot be defined.
Options/fields that cannot be defined.
Options/fields that cannot be defined.
Options/fields that cannot be defined.
Options/fields that cannot be defined.
ErrWorkspaceLocked is returned when trying to lock a locked workspace.
ErrWorkspaceLockedByRun is returned when trying to unlock a workspace locked by a run.
ErrWorkspaceLockedByTeam is returned when trying to unlock a workspace locked by a team.
ErrWorkspaceLockedByUser is returned when trying to unlock a workspace locked by a user.
ErrWorkspaceLockedCannotDelete is returned when a workspace cannot be safely deleted when it is locked.
ErrWorkspaceLockedStateVersionStillPending is returned when trying to unlock whose latest state version is still pending.
No description provided by the author
ErrWorkspaceNotLocked is returned when trying to unlock a unlocked workspace.
ErrWorkspaceNotSafeToDelete is returned when a workspace has processed state and is determined to still have resources present.
No description provided by the author
ErrWorkspaceStillProcessing is returned when a workspace is still processing state to determine if it is safe to delete.
RegistryNoCodeIncludeVariableOptions is used to include variable options in the response.

# Structs

Actions represents a task stage actions.
AddWorkspacesToTagOptions represents the request body to add a workspace to a tag.
Admin is the the Terraform Enterprise Admin API.
AdminCostEstimationSetting represents the admin cost estimation settings.
AdminCostEstimationSettingOptions represents the admin options for updating the cost estimation settings.
AdminCustomizationSetting represents the Customization settings in Terraform Enterprise for the Admin Settings API.
AdminCustomizationSettingsUpdateOptions represents the admin options for updating Customization settings.
AdminGeneralSetting represents a the general settings in Terraform Enterprise.
AdminGeneralSettingsUpdateOptions represents the admin options for updating general settings.
AdminOPAVersion represents a OPA Version.
AdminOPAVersionCreateOptions for creating an OPA version.
AdminOPAVersionsList represents a list of OPA versions.
AdminOPAVersionsListOptions represents the options for listing OPA versions.
AdminOPAVersionUpdateOptions for updating OPA version.
AdminOrganization represents a Terraform Enterprise organization returned from the Admin API.
No description provided by the author
AdminOrganizationList represents a list of organizations via Admin API.
AdminOrganizationListModuleConsumersOptions represents the options for listing organization module consumers through the Admin API.
AdminOrganizationListOptions represents the options for listing organizations via Admin API.
AdminOrganizationUpdateOptions represents the admin options for updating an organization.
AdminRun represents AdminRuns interface.
AdminRunForceCancelOptions represents the options for force-canceling a run.
AdminRunsList represents a list of runs.
AdminRunsListOptions represents the options for listing runs.
AdminSAMLSetting represents the SAML settings in Terraform Enterprise.
AdminSAMLSettingsUpdateOptions represents the admin options for updating SAML settings.
AdminSentinelVersion represents a Sentinel Version.
AdminSentinelVersionCreateOptions for creating an Sentinel version.
AdminSentinelVersionsList represents a list of Sentinel versions.
AdminSentinelVersionsListOptions represents the options for listing Sentinel versions.
AdminSentinelVersionUpdateOptions for updating Sentinel version.
AdminSettings describes all the admin settings related methods that the Terraform Enterprise API supports.
AdminSMTPSetting represents a the SMTP settings in Terraform Enterprise.
AdminSMTPSettingsUpdateOptions represents the admin options for updating SMTP settings.
AdminTerraformVersion represents a Terraform Version.
AdminTerraformVersionCreateOptions for creating a terraform version.
AdminTerraformVersionsList represents a list of terraform versions.
AdminTerraformVersionsListOptions represents the options for listing terraform versions.
AdminTerraformVersionUpdateOptions for updating terraform version.
AdminTwilioSetting represents the Twilio settings in Terraform Enterprise.
AdminTwilioSettingsUpdateOptions represents the admin options for updating Twilio settings.
AdminTwilioSettingsVerifyOptions represents the test number to verify Twilio.
AdminUser represents a user as seen by an Admin.
AdminUserList represents a list of users.
AdminUserListOptions represents the options for listing users.
AdminVCSRepo represents a VCS repository.
AdminWorkspaces represents a Terraform Enterprise admin workspace.
AdminWorkspaceList represents a list of workspaces.
AdminWorkspaceListOptions represents the options for listing workspaces.
Agent represents a HCP Terraform agent.
AgentList represents a list of agents.
No description provided by the author
AgentPool represents a HCP Terraform agent pool.
AgentPoolUpdateAllowedWorkspacesOptions represents the options for updating the allowed workspace on an agent pool.
AgentPoolCreateOptions represents the options for creating an agent pool.
AgentPoolList represents a list of agent pools.
AgentPoolListOptions represents the options for listing agent pools.
No description provided by the author
AgentPoolUpdateOptions represents the options for updating an agent pool.
AgentToken represents a HCP Terraform agent token.
AgentTokenCreateOptions represents the options for creating an agent token.
AgentTokenList represents a list of agent tokens.
Apply represents a Terraform Enterprise apply.
ApplyStatusTimestamps holds the timestamps for individual apply statuses.
AuditTrail represents an event in the HCP Terraform audit log.
AuditTrailAuth represents the details of the actor that invoked the audit event.
AuditTrailList represents a list of audit trails.
AuditTrailListOptions represents the options for listing audit trails.
No description provided by the author
AuditTrailRequest represents the request details of the audit event.
AuditTrailResource represents the details of the API resource in the audit event.
Capacity represents the current run capacity of an organization.
Change represents the change of a resource instance in a plan.
Client is the Terraform Enterprise API client.
ClientRequest encapsulates a request sent by the Client.
Comment represents a Terraform Enterprise comment.
No description provided by the author
CommentList represents a list of comments.
Commit represents a commit.
CommitList represents a list of the latest commits from the registry module.
No description provided by the author
ConfigurationVersion is a representation of an uploaded or ingressed Terraform configuration in TFE.
ConfigurationVersionCreateOptions represents the options for creating a configuration version.
ConfigurationVersionList represents a list of configuration versions.
ConfigurationVersionListOptions represents the options for listing configuration versions.
ConfigurationVersionReadOptions represents the options for reading a configuration version.
CostEstimate represents a Terraform Enterprise costEstimate.
CostEstimateStatusTimestamps holds the timestamps for individual costEstimate statuses.
CreatedByChoice is a choice type struct that represents the possible values within a polymorphic relation.
No description provided by the author
CVStatusTimestamps holds the timestamps for individual configuration version statuses.
DataRetentionPolicy describes the retention policy of deleting records older than the specified number of days.
DataRetentionPolicyChoice is a choice type struct that represents the possible types of a drp returned by a polymorphic relationship.
DataRetentionPolicyDeleteOlder describes the retention policy of deleting records older than the specified number of days.
DataRetentionPolicyDeleteOlderSetOptions describes the options for a creating a DataRetentionPolicyDeleteOlder.
DataRetentionPolicyDontDelete describes the retention policy of never deleting records.
DataRetentionPolicyDontDeleteSetOptions describes the options for a creating a DataRetentionPolicyDontDelete.
DataRetentionPolicySetOptions is the options for a creating a DataRetentionPolicy.
DeliveryResponse represents a notification configuration delivery response.
DiagnosticPos represents a position in the source code.
DiagnosticRange represents the filename and position of the diagnostic subject.
No description provided by the author
Enforcement describes a enforcement.
EnforcementOptions represents the enforcement options of a policy.
Entitlements represents the entitlements of an organization.
GHAInstallation represents a github app installation.
GHAInstallationList represents a list of github installations.
GHAInstallationListOptions represents the options for listing.
GlobalRunTask represents the global configuration of a HCP Terraform or Terraform Enterprise run task.
GlobalRunTask represents the optional global configuration of a HCP Terraform or Terraform Enterprise run task.
GPGKey represents a signed GPG key for a HCP Terraform or Terraform Enterprise private provider.
GPGKeyCreateOptions represents all the available options used to create a GPG key.
GPGKeyID represents the set of identifiers used to fetch a GPG key.
GPGKeyList represents a list of GPG keys.
GPGKeyListOptions represents all the available options to list keys in a registry.
GPGKeyCreateOptions represents all the available options used to update a GPG key.
IngressAttributes include commit information associated with configuration versions sourced from VCS.
IPRange represents a list of HCP Terraform's IP ranges.
JSONChangeDesc represents a change description of a stack plan / apply operation.
JSONComponent represents a change description of a single component in a plan.
JSONDeferred contains the reason why a resource instance is deferred: instance_count_unknown, resource_config_unknown, provider_config_unknown, provider_config_unknown, or deferred_prereq.
JSONImporting represents the import status of a resource instance in a plan.
JSONOutput is the value of a single output in a plan.
JSONResourceInstance is the change description of a single resource instance in a plan.
JSONResourceInstanceDeferral is the change description of a single resource instance that is deferred.
ListOptions is used to specify pagination options when making API requests.
LockedByChoice is a choice type struct that represents the possible values within a polymorphic relation.
LogReader implements io.Reader for streaming logs.
Meta contains any HCP Terraform APIs which provide data about the API itself.
NoCodeVariableOption represents a registry no-code module variable and its options.
NotificationConfiguration represents a Notification Configuration.
NotificationConfigurationCreateOptions represents the options for creating a new notification configuration.
NotificationConfigurationList represents a list of Notification Configurations.
NotificationConfigurationListOptions represents the options for listing notification configurations.
NotificationConfigurationSubscribableChoice is a choice type struct that represents the possible values within a polymorphic relation.
NotificationConfigurationUpdateOptions represents the options for updating a existing notification configuration.
OAuthClient represents a connection between an organization and a VCS provider.
OAuthClientAddProjectsOptions represents the options for adding projects to an oauth client.
OAuthClientCreateOptions represents the options for creating an OAuth client.
OAuthClientList represents a list of OAuth clients.
OAuthClientListOptions represents the options for listing OAuth clients.
OAuthClientReadOptions are read options.
OAuthClientRemoveProjectsOptions represents the options for removing projects from an oauth client.
OAuthClientUpdateOptions represents the options for updating an OAuth client.
OAuthToken represents a VCS configuration including the associated OAuth token.
OAuthTokenList represents a list of OAuth tokens.
OAuthTokenListOptions represents the options for listing OAuth tokens.
OAuthTokenUpdateOptions represents the options for updating an OAuth token.
Organization represents a Terraform Enterprise organization.
OrganizationAccess represents the team's permissions on its organization.
OrganizationAccessOptions represents the organization access options of a team.
OrganizationCreateOptions represents the options for creating an organization.
OrganizationList represents a list of organizations.
OrganizationListOptions represents the options for listing organizations.
OrganizationMembership represents a Terraform Enterprise organization membership.
OrganizationMembershipCreateOptions represents the options for creating an organization membership.
OrganizationMembershipList represents a list of organization memberships.
OrganizationMembershipListOptions represents the options for listing organization memberships.
OrganizationMembershipReadOptions represents the options for reading organization memberships.
OrganizationPermissions represents the organization permissions.
OrganizationReadOptions represents the options for reading organizations.
OrganizationTag represents a Terraform Enterprise Organization tag.
OrganizationTagsDeleteOptions represents the request body for deleting a tag in an organization.
OrganizationTagsList represents a list of organization tags.
OrganizationTagsListOptions represents the options for listing organization tags.
OrganizationToken represents a Terraform Enterprise organization token.
OrganizationTokenCreateOptions contains the options for creating an organization token.
OrganizationTokenDeleteOptions contains the options for deleting an organization token.
OrganizationTokenReadOptions contains the options for reading an organization token.
OrganizationUpdateOptions represents the options for updating an organization.
Outcome represents the outcome of the individual policy.
Pagination is used to return the pagination details of an API request.
Parent represents the variable set's parent (currently only organizations and projects are supported).
Permissions represents the permission types for overridding a task stage.
Plan represents a Terraform Enterprise plan.
PlanChanges is the summary of the planned changes.
PlanExport represents an export of Terraform Enterprise plan data.
PlanExportCreateOptions represents the options for exporting data from a plan.
PlanExportStatusTimestamps holds the timestamps for plan export statuses.
PlanStatusTimestamps holds the timestamps for individual plan statuses.
Policy represents a Terraform Enterprise policy.
PolicyActions represents the policy check actions.
The task stage the policy evaluation belongs to.
PolicyCheck represents a Terraform Enterprise policy check..
PolicyCheckList represents a list of policy checks.
PolicyCheckListOptions represents the options for listing policy checks.
PolicyCreateOptions represents the options for creating a new policy.
PolicyEvaluation represents the policy evaluations that are part of the task stage.
PolicyEvaluationList represents a list of policy evaluation.
PolicyEvaluationListOptions represents the options for listing policy evaluations.
PolicyEvaluationStatusTimestamps represents the set of timestamps recorded for a policy evaluation.
PolicyList represents a list of policies..
PolicyListOptions represents the options for listing policies.
PolicyPermissions represents the policy check permissions.
PolicyResult represents the complete policy check result,.
PolicyResultCount represents the count of the policy results.
PolicySet represents a Terraform Enterprise policy set.
PolicySetAddPoliciesOptions represents the options for adding policies to a policy set.
PolicySetAddProjectsOptions represents the options for adding projects to a policy set.
PolicySetAddWorkspaceExclusionsOptions represents the options for adding workspace exclusions to a policy set.
PolicySetAddWorkspacesOptions represents the options for adding workspaces to a policy set.
PolicySetCreateOptions represents the options for creating a new policy set.
PolicySetList represents a list of policy sets.
PolicySetListOptions represents the options for listing policy sets.
PolicySetOutcome represents outcome of the policy set that are part of the policy evaluation.
PolicySetOutcomeList represents a list of policy set outcomes.
PolicySetOutcomeListFilter represents the filters that are supported while listing a policy set outcome.
PolicySetOutcomeListOptions represents the options for listing policy set outcomes.
PolicySetParameter represents a Policy Set parameter.
PolicySetParameterCreateOptions represents the options for creating a new parameter.
PolicySetParameterList represents a list of parameters.
PolicySetParameterListOptions represents the options for listing parameters.
PolicySetParameterUpdateOptions represents the options for updating a parameter.
PolicySetReadOptions are read options.
PolicySetRemovePoliciesOptions represents the options for removing policies from a policy set.
PolicySetRemoveProjectsOptions represents the options for removing projects from a policy set.
PolicySetRemoveWorkspaceExclusionsOptions represents the options for removing workspace exclusions from a policy set.
PolicySetRemoveWorkspacesOptions represents the options for removing workspaces from a policy set.
PolicySetUpdateOptions represents the options for updating a policy set.
PolicySetVersion represents a Terraform Enterprise Policy Set Version.
PolicySetVersionStatusTimestamps holds the timestamps for individual policy set version statuses.
PolicyStatusTimestamps holds the timestamps for individual policy check statuses.
PolicyUpdateOptions represents the options for updating a policy.
Project represents a Terraform Enterprise project.
ProjectAddTagBindingsOptions represents the options for adding tag bindings to a project.
ProjectCreateOptions represents the options for creating a project.
ProjectList represents a list of projects.
ProjectListOptions represents the options for listing projects.
ProjectUpdateOptions represents the options for updating a project.
No description provided by the author
ReadRunQueueOptions represents the options for showing the queue.
RegistryModule represents a registry module.
RegistryModuleCreateOptions is used when creating a registry module without a VCS repo.
RegistryModuleCreateVersionOptions is used when creating a registry module version.
RegistryModuleCreateWithVCSConnectionOptions is used when creating a registry module with a VCS repo.
No description provided by the author
RegistryModuleList represents a list of registry modules.
RegistryModuleListOptions represents the options for listing registry modules.
No description provided by the author
No description provided by the author
RegistryModuleCreateVersionOptions is used when updating a registry module.
RegistryModuleVariable represents a registry module variable.
RegistryModuleVariableList is a list of registry module variables.
No description provided by the author
No description provided by the author
RegistryModuleVersion represents a registry module version.
No description provided by the author
RegistryNoCodeModule represents a registry no-code module.
RegistryNoCodeModuleCreateOptions is used when creating a registry no-code module.
No description provided by the author
RegistryNoCodeModuleReadOptions is used when reading a registry no-code module.
RegistryNoCodeModuleReadVariablesOptions is used when reading the variables for a no-code module.
RegistryNoCodeModuleUpdateOptions is used when updating a registry no-code module.
No description provided by the author
RegistryProvider represents a registry provider.
RegistryProviderCreateOptions is used when creating a registry provider.
RegistryProviderID is the multi key ID for addressing a provider.
No description provided by the author
No description provided by the author
No description provided by the author
RegistryProviderPlatform represents a registry provider platform.
RegistryProviderPlatformCreateOptions represents the set of options for creating a registry provider platform.
RegistryProviderPlatformID is the multi key ID for identifying a provider platform.
No description provided by the author
No description provided by the author
No description provided by the author
RegistryProviderVersion represents a registry provider version.
No description provided by the author
RegistryProviderVersionID is the multi key ID for addressing a version provider.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Run represents a Terraform Enterprise run.
RunActions represents the run actions.
RunApplyOptions represents the options for applying a run.
RunCancelOptions represents the options for canceling a run.
RunCreateOptions represents the options for creating a new run.
RunDiscardOptions represents the options for discarding a run.
RunEvent represents a Terraform Enterprise run event.
RunEventList represents a list of run events.
RunEventListOptions represents the options for listing run events.
RunEventReadOptions represents the options for reading a run event.
RunForceCancelOptions represents the options for force-canceling a run.
RunList represents a list of runs.
RunListOptions represents the options for listing runs.
RunPermissions represents the run permissions.
RunQueue represents the current run queue of an organization.
RunReadOptions represents the options for reading a run.
RunStatusTimestamps holds the timestamps for individual run statuses.
RunTask represents a HCP Terraform or Terraform Enterprise run task.
RunTaskCreateOptions represents the set of options for creating a run task.
RunTaskList represents a list of run tasks.
RunTaskListOptions represents the set of options for listing run tasks.
RunTaskReadOptions represents the set of options for reading a run task.
RunTaskRequest is the payload object that TFC/E sends to the Run Task's URL.
RunTaskRequestCapabilitites defines the capabilities that the caller supports.
RunTaskUpdateOptions represents the set of options for updating an organization's run task.
RunTrigger represents a run trigger.
RunTriggerCreateOptions represents the options for creating a new run trigger.
RunTriggerList represents a list of Run Triggers.
RunTriggerListOptions represents the options for listing run triggers.
RunVariableAttr represents a variable that can be applied to a run.
No description provided by the author
SourceableChoice is a choice type struct that represents the possible values within a polymorphic relation.
SSHKey represents a SSH key.
SSHKeyCreateOptions represents the options for creating an SSH key.
SSHKeyList represents a list of SSH keys.
SSHKeyListOptions represents the options for listing SSH keys.
SSHKeyUpdateOptions represents the options for updating an SSH key.
Stack represents a stack.
StackComponent represents a stack component, specified by configuration.
StackConfiguration represents a stack configuration snapshot.
StackConfigurationStatusTimestamps represents the timestamps for a stack configuration.
StackCreateOptions represents the options for creating a stack.
StackDeployment represents a stack deployment, specified by configuration.
StackDiagnostic represents any sourcebundle.Diagnostic value.
StackList represents a list of stacks.
StackListOptions represents the options for listing stacks.
StackPlan represents a plan for a stack.
No description provided by the author
No description provided by the author
No description provided by the author
StackPlanStatusTimestamps are the timestamps of the status changes for a stack.
No description provided by the author
StackSource represents a source of Terraform Stacks configuration files.
StackState represents a stack state.
StackUpdateOptions represents the options for updating a stack.
StackVCSRepo represents the version control system repository for a stack.
StackVCSRepoOptions.
StateVersion represents a Terraform Enterprise state version.
StateVersionCreateOptions represents the options for creating a state version.
StateVersionCurrentOptions represents the options for reading the current state version.
StateVersionList represents a list of state versions.
StateVersionListOptions represents the options for listing state versions.
No description provided by the author
No description provided by the author
StateVersionOutput represents a State Version Outputs.
StateVersionOutputsList represents a list of StateVersionOutput items.
StateVersionOutputsListOptions represents the options for listing state version outputs.
No description provided by the author
StateVersionReadOptions represents the options for reading state version.
No description provided by the author
No description provided by the author
Tag is owned by an organization and applied to workspaces.
No description provided by the author
No description provided by the author
TaskResult represents the result of a HCP Terraform or Terraform Enterprise run task.
TaskResultCallbackRequestOptions represents the TFC/E Task result callback request https://developer.hashicorp.com/terraform/enterprise/api-docs/run-tasks/run-tasks-integration#request-body-1.
TaskResultOutcome represents a detailed TFC/E run task outcome, which improves result visibility and content in the TFC/E UI.
TaskResultStatusTimestamps represents the set of timestamps recorded for a task result.
TaskResultTag can be used to enrich outcomes display list in TFC/E.
TaskStage represents a HCP Terraform or Terraform Enterprise run's stage where run tasks can occur.
TaskStageList represents a list of task stages.
TaskStageListOptions represents the options for listing task stages for a run.
TaskStageOverrideOptions represents the options for overriding a TaskStage.
TaskStageReadOptions represents the set of options when reading a task stage.
TaskStageStatusTimestamps represents the set of timestamps recorded for a task stage.
Team represents a Terraform Enterprise team.
TeamAccess represents the workspace access for a team.
TeamAccessAddOptions represents the options for adding team access.
TeamAccessList represents a list of team accesses.
TeamAccessListOptions represents the options for listing team accesses.
TeamAccessUpdateOptions represents the options for updating team access.
TeamCreateOptions represents the options for creating a team.
TeamList represents a list of teams.
TeamListOptions represents the options for listing teams.
TeamMemberAddOptions represents the options for adding or removing team members.
TeamMemberRemoveOptions represents the options for adding or removing team members.
TeamPermissions represents the current user's permissions on the team.
TeamProjectAccess represents a project access for a team.
TeamProjectAccessAddOptions represents the options for adding team access for a project.
TeamProjectAccessList represents a list of team project accesses.
TeamProjectAccessListOptions represents the options for listing team project accesses.
ProjectPermissions represents the team's permissions on its project.
No description provided by the author
TeamProjectAccessUpdateOptions represents the options for updating a team project access.
WorkspacePermissions represents the team's permission on all workspaces in its project.
No description provided by the author
TeamToken represents a Terraform Enterprise team token.
TeamTokenCreateOptions contains the options for creating a team token.
TeamUpdateOptions represents the options for updating a team.
No description provided by the author
TestRun represents a Terraform Enterprise test run.
TestRunCreateOptions represents the options for creating a run.
TestRunList represents a list of test runs.
TestRunListOptions represents the options for listing runs.
TestRunStatusTimestamps holds the timestamps for individual test run statuses.
No description provided by the author
TwoFactor represents the organization permissions.
User represents a Terraform Enterprise user.
UserPermissions represents the user permissions.
UserToken represents a Terraform Enterprise user token.
UserTokenCreateOptions contains the options for creating a user token.
UserTokenList is a list of tokens for the given user ID.
UserUpdateOptions represents the options for updating a user.
Variable represents a Terraform Enterprise variable.
VariableCreateOptions represents the options for creating a new variable.
VariableList represents a list of variables.
VariableListOptions represents the options for listing variables.
VariableSet represents a Terraform Enterprise variable set.
VariableSetApplyToProjectsOptions represents the options for applying variable sets to projects.
VariableSetApplyToWorkspacesOptions represents the options for applying variable sets to workspaces.
VariableSetCreateOptions represents the options for creating a new variable set within in a organization.
VariableSetList represents a list of variable sets.
VariableSetListOptions represents the options for listing variable sets.
VariableSetReadOptions represents the options for reading variable sets.
VariableSetRemoveFromProjectsOptions represents the options for removing variable sets from projects.
VariableSetRemoveFromWorkspacesOptions represents the options for removing variable sets from workspaces.
VariableSetUpdateOptions represents the options for updating a variable set.
VariableSetUpdateWorkspacesOptions represents a subset of update options specifically for applying variable sets to workspaces.
No description provided by the author
VariableSetVariableCreatOptions represents the options for creating a new variable within a variable set.
No description provided by the author
No description provided by the author
VariableSetVariableUpdateOptions represents the options for updating a variable.
VariableUpdateOptions represents the options for updating a variable.
VCSRepo contains the configuration of a VCS integration.
TODO: move this struct out.
WaitForStatusResult is the data structure that is sent over the channel returned by various status polling functions.
Workspace represents a Terraform Enterprise workspace.
WorkspaceActions represents the workspace actions.
WorkspaceAddRemoteStateConsumersOptions represents the options for adding remote state consumers to a workspace.
WorkspaceAddTagBindingsOptions represents the options for adding tag bindings to a workspace.
No description provided by the author
WorkspaceAssignSSHKeyOptions represents the options to assign an SSH key to a workspace.
WorkspaceCreateOptions represents the options for creating a new workspace.
WorkspaceList represents a list of workspaces.
WorkspaceListOptions represents the options for listing workspaces.
WorkspaceLockOptions represents the options for locking a workspace.
No description provided by the author
WorkspacePermissions represents the workspace permissions.
WorkspaceReadOptions represents the options for reading a workspace.
WorkspaceRemoveRemoteStateConsumersOptions represents the options for removing remote state consumers from a workspace.
No description provided by the author
WorkspaceResource represents a Terraform Enterprise workspace resource.
WorkspaceResourceListOptions represents the options for listing workspace resources.
WorkspaceResourcesList represents a list of workspace resources.
WorkspaceRunTask represents a HCP Terraform or Terraform Enterprise run task that belongs to a workspace.
WorkspaceRunTaskCreateOptions represents the set of options for creating a workspace run task.
WorkspaceRunTaskList represents a list of workspace run tasks.
WorkspaceRunTaskListOptions represents the set of options for listing workspace run tasks.
WorkspaceRunTaskUpdateOptions represent the set of options for updating a workspace run task.
Note: the fields of this struct are bool pointers instead of bool values, in order to simplify support for future TFE versions that support *some but not all* of the inherited defaults that go-tfe knows about.
No description provided by the author
No description provided by the author
WorkspaceUpdateOptions represents the options for updating a workspace.
WorkspaceUpdateRemoteStateConsumersOptions represents the options for updatintg remote state consumers from a workspace.
WorkspaceUpgrade contains the data returned by the no-code workspace upgrade API endpoint.

# Interfaces

AdminOPAVersions describes all the admin OPA versions related methods that the Terraform Enterprise API supports.
AdminOrganizations describes all of the admin organization related methods that the Terraform Enterprise API supports.
AdminRuns describes all the admin run related methods that the Terraform Enterprise API supports.
AdminSentinelVersions describes all the admin Sentinel versions related methods that the Terraform Enterprise API supports.
AdminTerraformVersions describes all the admin terraform versions related methods that the Terraform Enterprise API supports.
AdminUsers describes all the admin user related methods that the Terraform Enterprise API supports.
AdminWorkspaces describes all the admin workspace related methods that the Terraform Enterprise API supports.
AgentPools describes all the agent pool related methods that the HCP Terraform API supports.
Agents describes all the agent-related methods that the HCP Terraform API supports.
AgentTokens describes all the agent token related methods that the HCP Terraform API supports.
Applies describes all the apply related methods that the Terraform Enterprise API supports.
AuditTrails describes all the audit event related methods that the HCP Terraform API supports.
Comments describes all the comment related methods that the Terraform Enterprise API supports.
ConfigurationVersions describes all the configuration version related methods that the Terraform Enterprise API supports.
CostEstimates describes all the costEstimate related methods that the Terraform Enterprise API supports.
CostEstimationSettings describes all the cost estimation admin settings for the Admin Setting API.
CustomizationSettings describes all the Customization admin settings.
GeneralSettings describes the general admin settings for the Admin Setting API.
GHAInstallations describes all the GitHub App Installation related methods that the Terraform Enterprise API supports.
GPGKeys describes all the GPG key related methods that the Terraform Private Registry API supports.
IP Ranges provides a list of HCP Terraform or Terraform Enterprise's IP ranges.
NotificationConfigurations describes all the Notification Configuration related methods that the Terraform Enterprise API supports.
OAuthClients describes all the OAuth client related methods that the Terraform Enterprise API supports.
OAuthTokens describes all the OAuth token related methods that the Terraform Enterprise API supports.
OidcSettings describes all the OIDC admin settings for the Admin Setting API.
OrganizationMemberships describes all the organization membership related methods that the Terraform Enterprise API supports.
Organizations describes all the organization related methods that the Terraform Enterprise API supports.
OrganizationMemberships describes all the list of tags used with all resources across the organization.
OrganizationTokens describes all the organization token related methods that the Terraform Enterprise API supports.
PlanExports describes all the plan export related methods that the Terraform Enterprise API supports.
Plans describes all the plan related methods that the Terraform Enterprise API supports.
Policies describes all the policy related methods that the Terraform Enterprise API supports.
PolicyChecks describes all the policy check related methods that the Terraform Enterprise API supports.
PolicyEvalutations describes all the policy evaluation related methods that the Terraform Enterprise API supports.
PolicySetOutcomes describes all the policy set outcome related methods that the Terraform Enterprise API supports.
PolicySetParameters describes all the parameter related methods that the Terraform Enterprise API supports.
PolicySets describes all the policy set related methods that the Terraform Enterprise API supports.
PolicySetVersions describes all the Policy Set Version related methods that the Terraform Enterprise API supports.
Projects describes all the project related methods that the Terraform Enterprise API supports TFE API docs: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/projects.
RegistryModules describes all the registry module related methods that the Terraform Enterprise API supports.
RegistryNoCodeModules describes all the registry no-code module related methods that the Terraform Enterprise API supports.
RegistryProviderPlatforms describes the registry provider platform methods supported by the Terraform Enterprise API.
RegistryProviders describes all the registry provider-related methods that the Terraform Enterprise API supports.
RegistryProviderVersions describes the registry provider version methods that the Terraform Enterprise API supports.
RunEvents describes all the run events that the Terraform Enterprise API supports.
Runs describes all the run related methods that the Terraform Enterprise API supports.
RunTasks represents all the run task related methods in the context of an organization that the HCP Terraform and Terraform Enterprise API supports.
RunTasksIntegration describes all the Run Tasks Integration Callback API methods.
RunTriggers describes all the Run Trigger related methods that the HCP Terraform API supports.
SAMLSettings describes all the SAML admin settings for the Admin Setting API.
SMTPSettings describes all the SMTP admin settings for the Admin Setting API https://developer.hashicorp.com/terraform/enterprise/api-docs/admin/settings.
SSHKeys describes all the SSH key related methods that the Terraform Enterprise API supports.
StackConfigurations describes all the stacks configurations-related methods that the HCP Terraform API supports.
StackDeployments describes all the stacks deployments-related methods that the HCP Terraform API supports.
NOTE WELL: This is a beta feature and is subject to change until noted otherwise in the release notes.
StackPlans describes all the stacks plans-related methods that the HCP Terraform API supports.
Stacks describes all the stacks-related methods that the HCP Terraform API supports.
StackSources describes all the stack-sources related methods that the HCP Terraform API supports.
State version outputs are the output values from a Terraform state file.
StateVersions describes all the state version related methods that the Terraform Enterprise API supports.
TaskResults describes all the task result related methods that the HCP Terraform or Terraform Enterprise API supports.
TaskStages describes all the task stage related methods that the HCP Terraform and Terraform Enterprise API supports.
TeamAccesses describes all the team access related methods that the Terraform Enterprise API supports.
TeamMembers describes all the team member related methods that the Terraform Enterprise API supports.
TeamProjectAccesses describes all the team project access related methods that the Terraform Enterprise API supports TFE API docs: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/project-team-access.
Teams describes all the team related methods that the Terraform Enterprise API supports.
TeamTokens describes all the team token related methods that the Terraform Enterprise API supports.
TestRuns describes all the test run related methods that the Terraform Enterprise API supports.
Variables describes all the variable related methods that the Terraform Enterprise API supports.
TwilioSettings describes all the Twilio admin settings for the Admin Setting API.
Users describes all the user related methods that the Terraform Enterprise API supports.
UserTokens describes all the user token related methods that the HCP Terraform and Terraform Enterprise API supports.
Variables describes all the variable related methods that the Terraform Enterprise API supports.
VariableSets describes all the Variable Set related methods that the Terraform Enterprise API supports.
VariableSetVariables describes all variable variable related methods within the scope of Variable Sets that the Terraform Enterprise API supports TFE API docs: https://developer.hashicorp.com/terraform/cloud-docs/api-docs/variable-sets#variable-relationships.
WorkspaceResources describes all the workspace resources related methods that the Terraform Enterprise API supports.
WorkspaceRunTasks represent all the run task related methods in the context of a workspace that the HCP Terraform and Terraform Enterprise API supports.
Workspaces describes all the workspace related methods that the Terraform Enterprise API supports.

# Type aliases

AccessType represents a team access type.
AdminOrgIncludeOpt represents the available options for include query params.
AdminRunIncludeOpt represents the available options for include query params.
AdminUserIncludeOpt represents the available options for include query params.
AdminWorkspaceIncludeOpt represents the available options for include query params.
A list of relations to include https://developer.hashicorp.com/terraform/cloud-docs/api-docs/agents#available-related-resources.
ApplyStatus represents an apply state.
AuthPolicyType represents an authentication policy type.
CategoryType represents a category type.
ChangeAction are the actions a change can have: no-op, create, read, update, delte, forget.
ConfigurationSource represents a source of a configuration version.
ConfigurationStatus represents a configuration version status.
ConfigVerIncludeOpt represents the available options for include query params.
CostEstimateStatus represents a costEstimate state.
EnforcementLevel represents an enforcement level.
NotificationDestinationType represents the destination type of the notification configuration.
NotificationTriggerType represents the different TFE notifications that can be sent as a run's progress transitions between different states.
A list of relations to include.
OrganizationIncludeOpt represents the available options for include query params.
OrganizationMembershipStatus represents an organization membership status.
OrgMembershipIncludeOpt represents the available options for include query params.
PlanExportDataType represents the type of data exported from a plan.
PlanExportStatus represents a plan export state.
PlanStatus represents a plan state.
A list of relations to include https://developer.hashicorp.com/terraform/cloud-docs/api-docs/policy-checks#available-related-resources.
PolicyEvaluationStatus is an enum that represents all possible statuses for a policy evaluation.
PolicyKind is an indicator of the underlying technology that the policy or policy set supports.
PolicyScope represents a policy scope.
PolicySetIncludeOpt represents the available options for include query params.
PolicySetVersionSource represents a source type of a policy set version.
PolicySetVersionStatus represents a policy set version status.
PolicyStatus represents a policy check state.
ProjectSettingsPermissionType represents the permissiontype to a project's settings.
ProjectTeamsPermissionType represents the permissiontype to a project's teams.
ProjectVariableSetsPermissionType represents the permission type to a project's variable sets This relation is considered BETA, SUBJECT TO CHANGE, and likely unavailable to most users.
No description provided by the author
No description provided by the author
RegistryModuleStatus represents the status of the registry module.
RegistryModuleVersionStatus represents the status of a specific version of a registry module.
RegistryName represents which registry is being targeted.
RegistryNoCodeModuleIncludeOpt represents the available options for include query params.
RegistryProviderIncludeOps represents which jsonapi include can be used with registry providers.
No description provided by the author
RunEventIncludeOpt represents the available options for include query params.
RunIncludeOpt represents the available options for include query params.
RunOperation represents an operation type of run.
RunSource represents a source type of a run.
RunsPermissionType represents the permissiontype to a workspace's runs.
RunStatus represents a run state.
RunTaskIncludeOpt represents the available options for include query params.
https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run-triggers#query-parameters.
A list of relations to include https://developer.hashicorp.com/terraform/cloud-docs/api-docs/run-triggers#available-related-resources.
SentinelMocksPermissionType represents the permissiontype to a workspace's Sentinel mocks.
ServiceProviderType represents a VCS type.
SMTPAuthType represents valid SMTP Auth types.
No description provided by the author
StackIncludeOpt represents the include options for a stack.
No description provided by the author
No description provided by the author
No description provided by the author
StackSortColumn represents a string that can be used to sort items when using the List method.
Stage is an enum that represents the possible run stages for run tasks.
StateVersionIncludeOpt represents the available options for include query params.
StateVersionsPermissionType represents the permissiontype to a workspace's state versions.
StateVersionStatus are available state version status values.
TaskEnforcementLevel is an enum that describes the enforcement levels for a run task.
TaskResultStatus is an enum that represents all possible statuses for a task result.
TaskStageIncludeOpt represents the available options for include query params.
TaskStageStatus is an enum that represents all possible statuses for a task stage.
TeamIncludeOpt represents the available options for include query params.
TeamProjectAccessType represents a team project access type.
TestRunStatus represents the status of a test run.
TestStatus represents the status of an individual test within an overall test run.
No description provided by the author
A list of relations to include.
VariablesPermissionType represents the permissiontype to a workspace's variables.
WorkspaceRunsPermissionType represents the permissiontype to project workspaces' runs.
WorkspaceSentinelMocksPermissionType represents the permissiontype to project workspaces' sentinel-mocks.
WorkspaceStateVersionsPermissionType represents the permissiontype to project workspaces' state-versions.
WorkspaceVariablesPermissionType represents the permissiontype to project workspaces' variables.
WSIncludeOpt represents the available options for include query params.