terraform

package
v1.3.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2025 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Type string `hcl:"type,label"`
}

type EmptyBlock added in v0.1.895

type EmptyBlock struct {
}

type ProviderDefinition added in v0.1.1204

type ProviderDefinition struct {
	Source  string `cty:"source"`
	Version string `cty:"version"`
}

type RequiredProviders

type RequiredProviders struct {
	OctopusProvider  ProviderDefinition  `hcl:"octopusdeploy"`
	ShellProvider    *ProviderDefinition `hcl:"shell"`
	ExternalProvider *ProviderDefinition `hcl:"external"`
}

type RetentionPolicy

type RetentionPolicy struct {
	QuantityToKeep    *int  `hcl:"quantity_to_keep"`
	ShouldKeepForever *bool `hcl:"should_keep_forever"`
}

type TerraformAccountAuthentication

type TerraformAccountAuthentication struct {
	AccountId string `hcl:"account_id"`
}

type TerraformAccountData

type TerraformAccountData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	AccountType *string                         `hcl:"account_type"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformAction

type TerraformAction struct {
	ActionType                    *string                  `hcl:"action_type"`
	Name                          *string                  `hcl:"name"`
	Notes                         *string                  `hcl:"notes"`
	Condition                     *string                  `hcl:"condition"`
	RunOnServer                   bool                     `hcl:"run_on_server"`
	IsDisabled                    bool                     `hcl:"is_disabled"`
	CanBeUsedForProjectVersioning bool                     `hcl:"can_be_used_for_project_versioning"`
	IsRequired                    bool                     `hcl:"is_required"`
	WorkerPoolId                  *string                  `hcl:"worker_pool_id"`
	WorkerPoolVariable            *string                  `hcl:"worker_pool_variable"`
	Properties                    map[string]string        `hcl:"properties"`
	Container                     *TerraformContainer      `hcl:"container,block"`
	Environments                  []string                 `hcl:"environments"`
	ExcludedEnvironments          []string                 `hcl:"excluded_environments"`
	Channels                      []string                 `hcl:"channels"`
	TenantTags                    []string                 `hcl:"tenant_tags"`
	Package                       []TerraformPackage       `hcl:"package,block"`
	PrimaryPackage                *TerraformPackage        `hcl:"primary_package,block"`
	Features                      []string                 `hcl:"features"`
	GitDependencies               []TerraformGitDependency `hcl:"git_dependency,block"`
}

type TerraformActionPackage

type TerraformActionPackage struct {
	DeploymentAction *string `hcl:"deployment_action"`
	PackageReference *string `hcl:"package_reference"`
}

type TerraformArtifactoryFeed added in v0.1.1423

type TerraformArtifactoryFeed struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Count        *string `hcl:"count"`
	Id           *string `hcl:"id"`
	FeedUri      string  `hcl:"feed_uri"`
	ResourceName string  `hcl:"name"`
	Password     *string `hcl:"password"`
	Username     *string `hcl:"username"`
	Repository   string  `hcl:"repository"`
	LayoutRegex  *string `hcl:"layout_regex"`
}

type TerraformAwsAccount

type TerraformAwsAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Count                           *string  `hcl:"count"`
	Id                              *string  `hcl:"id"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	AccessKey                       *string  `hcl:"access_key"`
	SecretKey                       *string  `hcl:"secret_key"`
}

type TerraformAwsAccountAuthentication

type TerraformAwsAccountAuthentication struct {
	AccountId                 string  `hcl:"account_id"`
	ClusterName               string  `hcl:"cluster_name"`
	AssumeRole                *bool   `hcl:"assume_role"`
	AssumeRoleExternalId      *string `hcl:"assume_role_external_id"`
	AssumeRoleSessionDuration *int    `hcl:"assume_role_session_duration"`
	AssumedRoleArn            *string `hcl:"assumed_role_arn"`
	AssumedRoleSession        *string `hcl:"assumed_role_session"`
	UseInstanceRole           *bool   `hcl:"use_instance_role"`
}

type TerraformAwsOidcAccount added in v0.1.1423

type TerraformAwsOidcAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	RoleArn                         string   `hcl:"role_arn"`
	AccountTestSubjectKeys          []string `hcl:"account_test_subject_keys"`
	Environments                    []string `hcl:"environments"`
	ExecutionSubjectKeys            []string `hcl:"execution_subject_keys"`
	HealthSubjectKeys               []string `hcl:"health_subject_keys"`
	SessionDuration                 *int     `hcl:"session_duration"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
}

type TerraformAzureCloudServiceDeploymentTarget

type TerraformAzureCloudServiceDeploymentTarget struct {
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	Id                 *string  `hcl:"id"`
	Count              *string  `hcl:"count"`
	Environments       []string `hcl:"environments"`
	ResourceName       string   `hcl:"name"`
	Roles              []string `hcl:"roles"`
	AccountId          string   `hcl:"account_id"`
	CloudServiceName   string   `hcl:"cloud_service_name"`
	StorageAccountName string   `hcl:"storage_account_name"`

	DefaultWorkerPoolId             *string                                             `hcl:"default_worker_pool_id"`
	HealthStatus                    *string                                             `hcl:"health_status"`
	IsDisabled                      *bool                                               `hcl:"is_disabled"`
	MachinePolicyId                 *string                                             `hcl:"machine_policy_id"`
	OperatingSystem                 *string                                             `hcl:"operating_system"`
	ShellName                       *string                                             `hcl:"shell_name"`
	ShellVersion                    *string                                             `hcl:"shell_version"`
	Slot                            *string                                             `hcl:"slot"`
	SpaceId                         *string                                             `hcl:"space_id"`
	Status                          *string                                             `hcl:"status"`
	StatusSummary                   *string                                             `hcl:"status_summary"`
	SwapIfPossible                  *bool                                               `hcl:"swap_if_possible"`
	TenantTags                      []string                                            `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string                                             `hcl:"tenanted_deployment_participation"`
	Tenants                         []string                                            `hcl:"tenants"`
	Thumbprint                      *string                                             `hcl:"thumbprint"`
	Uri                             *string                                             `hcl:"uri"`
	UseCurrentInstanceCount         *bool                                               `hcl:"use_current_instance_count"`
	Endpoint                        *TerraformAzureCloudServiceDeploymentTargetEndpoint `hcl:"endpoint,block"`
}

type TerraformAzureCloudServiceDeploymentTargetEndpoint

type TerraformAzureCloudServiceDeploymentTargetEndpoint struct {
	DefaultWorkerPoolId *string `hcl:"default_worker_pool_id"`
	CommunicationStyle  string  `hcl:"communication_style"`
}

type TerraformAzureCloudServiceDeploymentTargetsData

type TerraformAzureCloudServiceDeploymentTargetsData struct {
	Type           string   `hcl:"type,label"`
	Name           string   `hcl:"name,label"`
	ResourceName   *string  `hcl:"name"`
	Ids            []string `hcl:"ids"`
	PartialName    *string  `hcl:"partial_name"`
	Skip           int      `hcl:"skip"`
	Take           int      `hcl:"take"`
	HealthStatuses []string `hcl:"health_statuses"`
}

type TerraformAzureOidcSubscription added in v0.1.1427

type TerraformAzureOidcSubscription struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	SubscriptionId                  *string  `hcl:"subscription_id"`
	AzureEnvironment                *string  `hcl:"azure_environment"`

	TenantId                string   `hcl:"tenant_id"`
	ApplicationId           string   `hcl:"application_id"`
	Audience                *string  `hcl:"audience"`
	AccountTestSubjectKeys  []string `hcl:"account_test_subject_keys"`
	ExecutionSubjectKeys    []string `hcl:"execution_subject_keys"`
	HealthSubjectKeys       []string `hcl:"health_subject_keys"`
	AuthenticationEndpoint  *string  `hcl:"authentication_endpoint"`
	ResourceManagerEndpoint *string  `hcl:"resource_manager_endpoint"`
}

type TerraformAzureServiceFabricClusterDeploymentTarget

type TerraformAzureServiceFabricClusterDeploymentTarget struct {
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	Id                 *string  `hcl:"id"`
	Count              *string  `hcl:"count"`
	Environments       []string `hcl:"environments"`
	ResourceName       string   `hcl:"name"`
	Roles              []string `hcl:"roles"`
	ConnectionEndpoint string   `hcl:"connection_endpoint"`

	AadClientCredentialSecret       *string                                                     `hcl:"aad_client_credential_secret"`
	AadCredentialType               *string                                                     `hcl:"aad_credential_type"`
	AadUserCredentialPassword       *string                                                     `hcl:"aad_user_credential_password"`
	AadUserCredentialUsername       *string                                                     `hcl:"aad_user_credential_username"`
	CertificateStoreLocation        *string                                                     `hcl:"certificate_store_location"`
	CertificateStoreName            *string                                                     `hcl:"certificate_store_name"`
	ClientCertificateVariable       *string                                                     `hcl:"client_certificate_variable"`
	HealthStatus                    *string                                                     `hcl:"health_status"`
	IsDisabled                      *bool                                                       `hcl:"is_disabled"`
	MachinePolicyId                 *string                                                     `hcl:"machine_policy_id"`
	OperatingSystem                 *string                                                     `hcl:"operating_system"`
	SecurityMode                    *string                                                     `hcl:"security_mode"`
	ServerCertificateThumbprint     *string                                                     `hcl:"server_certificate_thumbprint"`
	ShellName                       *string                                                     `hcl:"shell_name"`
	ShellVersion                    *string                                                     `hcl:"shell_version"`
	SpaceId                         *string                                                     `hcl:"space_id"`
	Status                          *string                                                     `hcl:"status"`
	StatusSummary                   *string                                                     `hcl:"status_summary"`
	TenantTags                      []string                                                    `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string                                                     `hcl:"tenanted_deployment_participation"`
	Tenants                         []string                                                    `hcl:"tenants"`
	Thumbprint                      *string                                                     `hcl:"thumbprint"`
	Uri                             *string                                                     `hcl:"uri"`
	Endpoint                        *TerraformAzureServiceFabricClusterDeploymentTargetEndpoint `hcl:"endpoint,block"`
}

type TerraformAzureServiceFabricClusterDeploymentTargetEndpoint

type TerraformAzureServiceFabricClusterDeploymentTargetEndpoint struct {
	DefaultWorkerPoolId *string `hcl:"default_worker_pool_id"`
	CommunicationStyle  string  `hcl:"communication_style"`
}

type TerraformAzureServiceFabricClusterDeploymentTargetsData

type TerraformAzureServiceFabricClusterDeploymentTargetsData struct {
	Type           string   `hcl:"type,label"`
	Name           string   `hcl:"name,label"`
	ResourceName   *string  `hcl:"name"`
	Ids            []string `hcl:"ids"`
	PartialName    *string  `hcl:"partial_name"`
	Skip           int      `hcl:"skip"`
	Take           int      `hcl:"take"`
	HealthStatuses []string `hcl:"health_statuses"`
}

type TerraformAzureServicePrincipal

type TerraformAzureServicePrincipal struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	ApplicationId                   *string  `hcl:"application_id"`
	Password                        *string  `hcl:"password"`
	SubscriptionId                  *string  `hcl:"subscription_id"`
	TenantId                        *string  `hcl:"tenant_id"`
	AzureEnvironment                *string  `hcl:"azure_environment"`
	ResourceManagerEndpoint         *string  `hcl:"resource_manager_endpoint"`
}

type TerraformAzureServicePrincipalAuthentication

type TerraformAzureServicePrincipalAuthentication struct {
	AccountId            string `hcl:"account_id"`
	ClusterName          string `hcl:"cluster_name"`
	ClusterResourceGroup string `hcl:"cluster_resource_group"`
}

type TerraformAzureSubscription

type TerraformAzureSubscription struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	ManagementEndpoint              *string  `hcl:"management_endpoint"`
	StorageEndpointSuffix           *string  `hcl:"storage_endpoint_suffix"`
	SubscriptionId                  *string  `hcl:"subscription_id"`
	AzureEnvironment                *string  `hcl:"azure_environment"`
	Certificate                     *string  `hcl:"certificate"`
	CertificateThumbprint           *string  `hcl:"certificate_thumbprint"`
}

type TerraformAzureWebAppDeploymentTarget

type TerraformAzureWebAppDeploymentTarget struct {
	Type              string   `hcl:"type,label"`
	Name              string   `hcl:"name,label"`
	Id                *string  `hcl:"id"`
	Count             *string  `hcl:"count"`
	Environments      []string `hcl:"environments"`
	ResourceName      string   `hcl:"name"`
	Roles             []string `hcl:"roles"`
	AccountId         string   `hcl:"account_id"`
	ResourceGroupName string   `hcl:"resource_group_name"`
	WebAppName        string   `hcl:"web_app_name"`

	HealthStatus                    *string                                       `hcl:"health_status"`
	IsDisabled                      *bool                                         `hcl:"is_disabled"`
	MachinePolicyId                 *string                                       `hcl:"machine_policy_id"`
	OperatingSystem                 *string                                       `hcl:"operating_system"`
	ShellName                       *string                                       `hcl:"shell_name"`
	ShellVersion                    *string                                       `hcl:"shell_version"`
	SpaceId                         *string                                       `hcl:"space_id"`
	Status                          *string                                       `hcl:"status"`
	StatusSummary                   *string                                       `hcl:"status_summary"`
	TenantTags                      []string                                      `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string                                       `hcl:"tenanted_deployment_participation"`
	Tenants                         []string                                      `hcl:"tenants"`
	Thumbprint                      *string                                       `hcl:"thumbprint"`
	Uri                             *string                                       `hcl:"uri"`
	WebAppSlotName                  *string                                       `hcl:"web_app_slot_name"`
	Endpoint                        *TerraformAzureWebAppDeploymentTargetEndpoint `hcl:"endpoint,block"`
}

type TerraformAzureWebAppDeploymentTargetEndpoint

type TerraformAzureWebAppDeploymentTargetEndpoint struct {
	DefaultWorkerPoolId *string `hcl:"default_worker_pool_id"`
	CommunicationStyle  string  `hcl:"communication_style"`
}

type TerraformAzureWebAppDeploymentTargetsData

type TerraformAzureWebAppDeploymentTargetsData struct {
	Type           string   `hcl:"type,label"`
	Name           string   `hcl:"name,label"`
	ResourceName   *string  `hcl:"name"`
	Ids            []string `hcl:"ids"`
	PartialName    *string  `hcl:"partial_name"`
	Skip           int      `hcl:"skip"`
	Take           int      `hcl:"take"`
	HealthStatuses []string `hcl:"health_statuses"`
}

type TerraformBashHealthCheckPolicy

type TerraformBashHealthCheckPolicy struct {
	RunType    string `hcl:"run_type"`
	ScriptBody string `hcl:"script_body"`
}

type TerraformBuiltInTrigger added in v0.1.1427

type TerraformBuiltInTrigger struct {
	Type                         string                         `hcl:"type,label"`
	Name                         string                         `hcl:"name,label"`
	Count                        *string                        `hcl:"count"`
	Id                           *string                        `hcl:"id"`
	SpaceId                      *string                        `hcl:"space_id"`
	ChannelId                    string                         `hcl:"channel_id"`
	ProjectId                    string                         `hcl:"project_id"`
	ReleaseCreationPackageStepId *string                        `hcl:"release_creation_package_step_id"`
	ReleaseCreationPackage       TerraformBuiltInTriggerPackage `hcl:"release_creation_package"`
}

type TerraformBuiltInTriggerPackage added in v0.1.1427

type TerraformBuiltInTriggerPackage struct {
	DeploymentAction string `cty:"deployment_action"`
	PackageReference string `cty:"package_reference"`
}

type TerraformCertificate

type TerraformCertificate struct {
	Type                            string    `hcl:"type,label"`
	Name                            string    `hcl:"name,label"`
	Id                              *string   `hcl:"id"`
	Count                           *string   `hcl:"count"`
	SpaceId                         *string   `hcl:"space_id"`
	ResourceName                    string    `hcl:"name"`
	Password                        string    `hcl:"password"`
	CertificateData                 string    `hcl:"certificate_data"`
	Archived                        *string   `hcl:"archived"`
	CertificateDataFormat           *string   `hcl:"certificate_data_format"`
	Environments                    []string  `hcl:"environments"`
	HasPrivateKey                   *bool     `hcl:"has_private_key"`
	IsExpired                       *bool     `hcl:"is_expired"`
	IssuerCommonName                *string   `hcl:"issuer_common_name"`
	IssuerDistinguishedName         *string   `hcl:"issuer_distinguished_name"`
	IssuerOrganization              *string   `hcl:"issuer_organization"`
	NotAfter                        *string   `hcl:"not_after"`
	NotBefore                       *string   `hcl:"not_before"`
	Notes                           *string   `hcl:"notes"`
	ReplacedBy                      *string   `hcl:"replaced_by"`
	SelfSigned                      *bool     `hcl:"self_signed"`
	SerialNumber                    *string   `hcl:"serial_number"`
	SignatureAlgorithmName          *string   `hcl:"signature_algorithm_name"`
	SubjectAlternativeNames         *[]string `hcl:"subject_alternative_names"`
	SubjectCommonName               *string   `hcl:"subject_common_name"`
	SubjectDistinguishedName        *string   `hcl:"subject_distinguished_name"`
	SubjectOrganization             *string   `hcl:"subject_organization"`
	TenantTags                      []string  `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string   `hcl:"tenanted_deployment_participation"`
	Tenants                         []string  `hcl:"tenants"`
	Thumbprint                      *string   `hcl:"thumbprint"`
	Version                         *int      `hcl:"version"`
}

type TerraformCertificateAuthentication

type TerraformCertificateAuthentication struct {
	ClientCertificate *string `hcl:"client_certificate"`
}

type TerraformCertificateData

type TerraformCertificateData struct {
	Type         string                          `hcl:"type,label"`
	Name         string                          `hcl:"name,label"`
	ResourceName *string                         `hcl:"name"`
	Ids          []string                        `hcl:"ids"`
	PartialName  *string                         `hcl:"partial_name"`
	Skip         int                             `hcl:"skip"`
	Take         int                             `hcl:"take"`
	Archived     *bool                           `hcl:"archived"`
	Tenant       *string                         `hcl:"tenant"`
	Lifecycle    *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformChannel

type TerraformChannel struct {
	Type         string          `hcl:"type,label"`
	Name         string          `hcl:"name,label"`
	Id           *string         `hcl:"id"`
	Count        *string         `hcl:"count"`
	SpaceId      *string         `hcl:"space_id"`
	LifecycleId  *string         `hcl:"lifecycle_id"`
	ResourceName string          `hcl:"name"`
	Description  *string         `hcl:"description"`
	ProjectId    string          `hcl:"project_id"`
	IsDefault    bool            `hcl:"is_default"`
	Rule         []TerraformRule `hcl:"rule,block"`
	TenantTags   []string        `hcl:"tenant_tags"`
	DependsOn    []string        `hcl:"depends_on"`
}

type TerraformChannelData

type TerraformChannelData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformCloudRegionDeploymentTarget

type TerraformCloudRegionDeploymentTarget struct {
	Type         string   `hcl:"type,label"`
	Name         string   `hcl:"name,label"`
	Id           *string  `hcl:"id"`
	Count        *string  `hcl:"count"`
	Environments []string `hcl:"environments"`
	ResourceName string   `hcl:"name"`
	Roles        []string `hcl:"roles"`

	DefaultWorkerPoolId             *string  `hcl:"default_worker_pool_id"`
	HealthStatus                    *string  `hcl:"health_status"`
	IsDisabled                      *bool    `hcl:"is_disabled"`
	MachinePolicyId                 *string  `hcl:"machine_policy_id"`
	OperatingSystem                 *string  `hcl:"operating_system"`
	ShellName                       *string  `hcl:"shell_name"`
	ShellVersion                    *string  `hcl:"shell_version"`
	SpaceId                         *string  `hcl:"space_id"`
	Status                          *string  `hcl:"status"`
	StatusSummary                   *string  `hcl:"status_summary"`
	TenantTags                      []string `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	Tenants                         []string `hcl:"tenants"`
	Thumbprint                      *string  `hcl:"thumbprint"`
	Uri                             *string  `hcl:"uri"`
}

type TerraformCommunityStepTemplate added in v1.3.7

type TerraformCommunityStepTemplate struct {
	Type                      string  `hcl:"type,label"`
	Name                      string  `hcl:"name,label"`
	CommunityActionTemplateId string  `hcl:"community_action_template_id"`
	Count                     *string `hcl:"count"`
}

type TerraformCommunityStepTemplateData added in v1.3.7

type TerraformCommunityStepTemplateData struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Id           *string `hcl:"id"`
	ResourceName *string `hcl:"name"`
	Website      *string `hcl:"website"`
}

type TerraformConfig

type TerraformConfig struct {
	RequiredProviders RequiredProviders `hcl:"required_providers,block"`
	Backend           *Backend          `hcl:"backend,block"`
	RequiredVersion   *string           `hcl:"required_version"`
}

func (TerraformConfig) CreateTerraformConfig

func (c TerraformConfig) CreateTerraformConfig(backend string, version string) TerraformConfig

type TerraformConnectivityPolicy

type TerraformConnectivityPolicy struct {
	AllowDeploymentsToNoTargets bool     `hcl:"allow_deployments_to_no_targets"`
	ExcludeUnhealthyTargets     bool     `hcl:"exclude_unhealthy_targets"`
	SkipMachineBehavior         string   `hcl:"skip_machine_behavior"`
	TargetRoles                 []string `hcl:"target_roles"`
}

type TerraformContainer

type TerraformContainer struct {
	FeedId *string `hcl:"feed_id"`
	Image  *string `hcl:"image"`
}

type TerraformDeploymentFreeze added in v0.1.1434

type TerraformDeploymentFreeze struct {
	Type              string                                      `hcl:"type,label"`
	Name              string                                      `hcl:"name,label"`
	Count             *string                                     `hcl:"count"`
	Id                *string                                     `hcl:"id"`
	ResourceName      string                                      `hcl:"name"`
	Start             string                                      `hcl:"start"`
	End               string                                      `hcl:"end"`
	RecurringSchedule *TerraformDeploymentFreezeRecurringSchedule `cty:"recurring_schedule"`
}

type TerraformDeploymentFreezeData added in v0.1.1434

type TerraformDeploymentFreezeData struct {
	Type            string   `hcl:"type,label"`
	Name            string   `hcl:"name,label"`
	Ids             []string `hcl:"ids"`
	EnvironmentIds  []string `hcl:"environment_ids"`
	ProjectIds      []string `hcl:"project_ids"`
	Status          *string  `hcl:"status"`
	TenantIds       []string `hcl:"tenant_ids"`
	IncludeComplete *bool    `hcl:"include_complete"`
	PartialName     string   `hcl:"partial_name"`
	Skip            int      `hcl:"skip"`
	Take            int      `hcl:"take"`
}

type TerraformDeploymentFreezeProject added in v0.1.1461

type TerraformDeploymentFreezeProject struct {
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	Count              *string  `hcl:"count"`
	Id                 *string  `hcl:"id"`
	DeploymentFreezeId string   `hcl:"deploymentfreeze_id"`
	ProjectId          string   `hcl:"project_id"`
	EnvironmentIds     []string `hcl:"environment_ids"`
}

type TerraformDeploymentFreezeRecurringSchedule added in v0.1.1434

type TerraformDeploymentFreezeRecurringSchedule struct {
	EndType             string   `hcl:"end_type"`
	Type                string   `hcl:"type"`
	Unit                int      `hcl:"unit"`
	DateOfMonth         *string  `hcl:"date_of_month"`
	DayNumberOfMonth    *string  `hcl:"day_number_of_month"`
	DayOfWeek           *string  `hcl:"day_of_week"`
	DaysOfWeek          []string `hcl:"days_of_week"`
	EndAfterOccurrences *int     `hcl:"end_after_occurrences"`
	EndOnDate           *string  `hcl:"end_on_date"`
	MonthlyScheduleType *string  `hcl:"monthly_schedule_type"`
}

type TerraformDeploymentFreezeTenant added in v0.1.1461

type TerraformDeploymentFreezeTenant struct {
	Type               string  `hcl:"type,label"`
	Name               string  `hcl:"name,label"`
	Count              *string `hcl:"count"`
	Id                 *string `hcl:"id"`
	DeploymentFreezeId string  `hcl:"deploymentfreeze_id"`
	EnvironmentId      string  `hcl:"environment_id"`
	ProjectId          string  `hcl:"project_id"`
	TenantId           string  `hcl:"tenant_id"`
}

type TerraformDeploymentProcess

type TerraformDeploymentProcess struct {
	Type      string                          `hcl:"type,label"`
	Name      string                          `hcl:"name,label"`
	Id        *string                         `hcl:"id"`
	Count     *string                         `hcl:"count"`
	ProjectId string                          `hcl:"project_id"`
	Step      []TerraformStep                 `hcl:"step,block"`
	Lifecycle *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformDeploymentTargetsData

type TerraformDeploymentTargetsData struct {
	Type                string                          `hcl:"type,label"`
	Name                string                          `hcl:"name,label"`
	ResourceName        *string                         `hcl:"name"`
	Ids                 []string                        `hcl:"ids"`
	PartialName         *string                         `hcl:"partial_name"`
	Skip                int                             `hcl:"skip"`
	Take                int                             `hcl:"take"`
	HealthStatuses      []string                        `hcl:"health_statuses"`
	CommunicationStyles []string                        `hcl:"communication_styles"`
	DeploymentId        *string                         `hcl:"deployment_id"`
	Environments        []string                        `hcl:"environments"`
	Roles               []string                        `hcl:"roles"`
	ShellNames          []string                        `hcl:"shell_names"`
	TenantTags          []string                        `hcl:"tenant_tags"`
	Tenants             []string                        `hcl:"tenants"`
	Thumbprint          *string                         `hcl:"thumbprint"`
	IsDisabled          *bool                           `hcl:"is_disabled"`
	Lifecycle           *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformDockerFeed

type TerraformDockerFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	Id                                *string  `hcl:"id"`
	Count                             *string  `hcl:"count"`
	ResourceName                      string   `hcl:"name"`
	Password                          *string  `hcl:"password"`
	RegistryPath                      *string  `hcl:"registry_path"`
	Username                          *string  `hcl:"username"`
	ApiVersion                        *string  `hcl:"api_version"`
	SpaceId                           *string  `hcl:"space_id"`
	FeedUri                           *string  `hcl:"feed_uri"`
	PackageAcquisitionLocationOptions []string `hcl:"package_acquisition_location_options"`
}

type TerraformEcrFeed

type TerraformEcrFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	Id                                *string  `hcl:"id"`
	Count                             *string  `hcl:"count"`
	ResourceName                      string   `hcl:"name"`
	AccessKey                         *string  `hcl:"access_key"`
	SecretKey                         *string  `hcl:"secret_key"`
	Region                            *string  `hcl:"region"`
	SpaceId                           *string  `hcl:"space_id"`
	PackageAcquisitionLocationOptions []string `hcl:"package_acquisition_location_options"`
}

type TerraformEmptyProvider added in v0.1.1204

type TerraformEmptyProvider struct {
	Type string `hcl:"type,label"`
}

type TerraformEnvironment

type TerraformEnvironment struct {
	Type                                   string                                           `hcl:"type,label"`
	Name                                   string                                           `hcl:"name,label"`
	Count                                  *string                                          `hcl:"count"`
	SpaceId                                *string                                          `hcl:"space_id"`
	Id                                     *string                                          `hcl:"id"`
	ResourceName                           string                                           `hcl:"name"`
	Description                            *string                                          `hcl:"description"`
	AllowDynamicInfrastructure             bool                                             `hcl:"allow_dynamic_infrastructure"`
	UseGuidedFailure                       bool                                             `hcl:"use_guided_failure"`
	SortOrder                              *int                                             `hcl:"sort_order"`
	JiraExtensionSettings                  *TerraformJiraExtensionSettings                  `hcl:"jira_extension_settings,block"`
	JiraServiceManagementExtensionSettings *TerraformJiraServiceManagementExtensionSettings `hcl:"jira_service_management_extension_settings,block"`
	ServicenowExtensionSettings            *TerraformServicenowExtensionSettings            `hcl:"servicenow_extension_settings,block"`
}

type TerraformEnvironmentData

type TerraformEnvironmentData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformFeedData

type TerraformFeedData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	FeedType    string                          `hcl:"feed_type"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformGcpAccount

type TerraformGcpAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	JsonKey                         *string  `hcl:"json_key"`
}

type TerraformGcpAccountAuthentication

type TerraformGcpAccountAuthentication struct {
	AccountId                 string  `hcl:"account_id"`
	ClusterName               string  `hcl:"cluster_name"`
	Project                   string  `hcl:"project"`
	ImpersonateServiceAccount *bool   `hcl:"impersonate_service_account"`
	Region                    *string `hcl:"region"`
	ServiceAccountEmails      *string `hcl:"service_account_emails"`
	UseVmServiceAccount       *bool   `hcl:"use_vm_service_account"`
	Zone                      *string `hcl:"zone"`
}

type TerraformGenericOicdAccount added in v0.1.1446

type TerraformGenericOicdAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	ExecutionSubjectKeys            []string `hcl:"execution_subject_keys"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
}

type TerraformGitAnonymousPersistenceSettings

type TerraformGitAnonymousPersistenceSettings struct {
	Url               string `hcl:"url"`
	BasePath          string `hcl:"base_path"`
	DefaultBranch     string `hcl:"default_branch"`
	ProtectedBranches string `hcl:"protected_branches"`
}

type TerraformGitCredentialData

type TerraformGitCredentialData struct {
	Type         string                          `hcl:"type,label"`
	Name         string                          `hcl:"name,label"`
	Id           *string                         `hcl:"id"`
	ResourceName string                          `hcl:"name"`
	Skip         int                             `hcl:"skip"`
	Take         int                             `hcl:"take"`
	Lifecycle    *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformGitCredentials

type TerraformGitCredentials struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Count        *string `hcl:"count"`
	Id           *string `hcl:"id"`
	SpaceId      *string `hcl:"space_id"`
	Description  *string `hcl:"description"`
	ResourceName string  `hcl:"name"`
	ResourceType string  `hcl:"type"`
	Username     string  `hcl:"username"`
	Password     string  `hcl:"password"`
}

type TerraformGitDependency added in v0.1.1114

type TerraformGitDependency struct {
	RepositoryUri     *string `hcl:"repository_uri"`
	DefaultBranch     *string `hcl:"default_branch"`
	GitCredentialType *string `hcl:"git_credential_type"`
	GitCredentialID   *string `hcl:"git_credential_id"`
}

type TerraformGitHubRepoFeed

type TerraformGitHubRepoFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	Id                                *string  `hcl:"id"`
	Count                             *string  `hcl:"count"`
	ResourceName                      string   `hcl:"name"`
	Password                          *string  `hcl:"password"`
	FeedUri                           *string  `hcl:"feed_uri"`
	DownloadAttempts                  *int     `hcl:"download_attempts"`
	DownloadRetryBackoffSeconds       *int     `hcl:"download_retry_backoff_seconds"`
	Username                          *string  `hcl:"username"`
	SpaceId                           *string  `hcl:"space_id"`
	PackageAcquisitionLocationOptions []string `hcl:"package_acquisition_location_options"`
}

type TerraformGitLibraryPersistenceSettings

type TerraformGitLibraryPersistenceSettings struct {
	GitCredentialId   string `hcl:"git_credential_id"`
	Url               string `hcl:"url"`
	BasePath          string `hcl:"base_path"`
	DefaultBranch     string `hcl:"default_branch"`
	ProtectedBranches string `hcl:"protected_branches"`
}

type TerraformGitTrigger added in v0.1.1450

type TerraformGitTrigger struct {
	Type         string                      `hcl:"type,label"`
	Name         string                      `hcl:"name,label"`
	Id           *string                     `hcl:"id"`
	Count        *string                     `hcl:"count"`
	SpaceId      *string                     `hcl:"space_id"`
	ResourceName string                      `hcl:"name"`
	Description  *string                     `hcl:"description"`
	ProjectId    string                      `hcl:"project_id"`
	ChannelId    string                      `hcl:"channel_id"`
	IsDisabled   *bool                       `hcl:"is_disabled"`
	Sources      []TerraformGitTriggerSource `hcl:"sources"`
}

type TerraformGitTriggerSource added in v0.1.1450

type TerraformGitTriggerSource struct {
	DeploymentActionSlug string   `cty:"deployment_action_slug"`
	ExcludeFilePaths     []string `cty:"exclude_file_paths"`
	GitDependencyName    string   `cty:"git_dependency_name"`
	IncludeFilePaths     []string `cty:"include_file_paths"`
}

type TerraformGitUsernamePasswordPersistenceSettings

type TerraformGitUsernamePasswordPersistenceSettings struct {
	Url               string `hcl:"url"`
	Username          string `hcl:"username"`
	Password          string `hcl:"password"`
	BasePath          string `hcl:"base_path"`
	DefaultBranch     string `hcl:"default_branch"`
	ProtectedBranches string `hcl:"protected_branches"`
}

type TerraformHelmFeed

type TerraformHelmFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	Id                                *string  `hcl:"id"`
	Count                             *string  `hcl:"count"`
	ResourceName                      string   `hcl:"name"`
	Password                          *string  `hcl:"password"`
	FeedUri                           *string  `hcl:"feed_uri"`
	Username                          *string  `hcl:"username"`
	SpaceId                           *string  `hcl:"space_id"`
	PackageAcquisitionLocationOptions []string `hcl:"package_acquisition_location_options"`
}

type TerraformJiraExtensionSettings

type TerraformJiraExtensionSettings struct {
	EnvironmentType string `hcl:"environment_type"`
}

type TerraformJiraServiceManagementExtensionSettings

type TerraformJiraServiceManagementExtensionSettings struct {
	IsEnabled bool `hcl:"is_enabled"`
}

type TerraformKubernetesAgentTarget added in v0.1.1450

type TerraformKubernetesAgentTarget struct {
	Type              string   `hcl:"type,label"`
	Name              string   `hcl:"name,label"`
	Count             *string  `hcl:"count"`
	Id                *string  `hcl:"id"`
	SpaceId           *string  `hcl:"space_id"`
	ResourceName      string   `hcl:"name"`
	Thumbprint        string   `hcl:"thumbprint"`
	Uri               string   `hcl:"uri"`
	WorkerPoolIds     []string `hcl:"worker_pool_ids"`
	CommunicationMode *string  `hcl:"communication_mode"`
	IsDisabled        *bool    `hcl:"is_disabled"`
	MachinePolicyId   *string  `hcl:"machine_policy_id"`
	UpgradeLocked     *bool    `hcl:"upgrade_locked"`
}

type TerraformKubernetesContainer

type TerraformKubernetesContainer struct {
	FeedId string `hcl:"feed_id"`
	Image  string `hcl:"image"`
}

type TerraformKubernetesEndpoint

type TerraformKubernetesEndpoint struct {
	CommunicationStyle  string  `hcl:"communication_style"`
	ClusterCertificate  *string `hcl:"cluster_certificate"`
	ClusterUrl          *string `hcl:"cluster_url"`
	Namespace           *string `hcl:"namespace"`
	SkipTlsVerification *bool   `hcl:"skip_tls_verification"`
	DefaultWorkerPoolId *string `hcl:"default_worker_pool_id"`
}

type TerraformKubernetesEndpointResource

type TerraformKubernetesEndpointResource struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Count                           *string  `hcl:"count"`
	ClusterUrl                      string   `hcl:"cluster_url"`
	Environments                    []string `hcl:"environments"`
	ResourceName                    string   `hcl:"name"`
	Roles                           []string `hcl:"roles"`
	ClusterCertificate              *string  `hcl:"cluster_certificate"`
	ClusterCertificatePath          *string  `hcl:"cluster_certificate_path"`
	DefaultWorkerPoolId             *string  `hcl:"default_worker_pool_id"`
	HealthStatus                    *string  `hcl:"health_status"`
	Id                              *string  `hcl:"id"`
	IsDisabled                      *bool    `hcl:"is_disabled"`
	MachinePolicyId                 *string  `hcl:"machine_policy_id"`
	Namespace                       *string  `hcl:"namespace"`
	OperatingSystem                 *string  `hcl:"operating_system"`
	ProxyId                         *string  `hcl:"proxy_id"`
	RunningInContainer              *string  `hcl:"running_in_container"`
	ShellName                       *string  `hcl:"shell_name"`
	ShellVersion                    *string  `hcl:"shell_version"`
	SkipTlsVerification             *bool    `hcl:"skip_tls_verification"`
	SpaceId                         *string  `hcl:"space_id"`
	Status                          *string  `hcl:"status"`
	StatusSummary                   *string  `hcl:"status_summary"`
	TenantTags                      []string `hcl:"tenant_tags"`
	TenantedDeploymentParticipation string   `hcl:"tenanted_deployment_participation"`
	Tenants                         []string `hcl:"tenants"`
	Thumbprint                      *string  `hcl:"thumbprint"`
	Uri                             *string  `hcl:"uri"`

	Endpoint  TerraformKubernetesEndpoint  `hcl:"endpoint,block"`
	Container TerraformKubernetesContainer `hcl:"container,block"`

	Authentication                      *TerraformAccountAuthentication               `hcl:"authentication,block"`
	AwsAccountAuthentication            *TerraformAwsAccountAuthentication            `hcl:"aws_account_authentication,block"`
	AzureServicePrincipalAuthentication *TerraformAzureServicePrincipalAuthentication `hcl:"azure_service_principal_authentication,block"`
	PodAuthentication                   *TerraformPodAuthentication                   `hcl:"pod_authentication,block"`
	CertificateAuthentication           *TerraformCertificateAuthentication           `hcl:"certificate_authentication,block"`
	GcpAccountAuthentication            *TerraformGcpAccountAuthentication            `hcl:"gcp_account_authentication,block"`
}

type TerraformLibraryVariableSet

type TerraformLibraryVariableSet struct {
	Type         string              `hcl:"type,label"`
	Name         string              `hcl:"name,label"`
	Id           *string             `hcl:"id"`
	Count        *string             `hcl:"count"`
	SpaceId      *string             `hcl:"space_id"`
	ResourceName string              `hcl:"name"`
	Description  *string             `hcl:"description"`
	Template     []TerraformTemplate `hcl:"template,block"`
}

type TerraformLibraryVariableSetData

type TerraformLibraryVariableSetData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformLifecycle

type TerraformLifecycle struct {
	Type                    string           `hcl:"type,label"`
	Name                    string           `hcl:"name,label"`
	Id                      *string          `hcl:"id"`
	SpaceId                 *string          `hcl:"space_id"`
	Count                   *string          `hcl:"count"`
	ResourceName            string           `hcl:"name"`
	Description             *string          `hcl:"description"`
	Phase                   []TerraformPhase `hcl:"phase,block"`
	ReleaseRetentionPolicy  *TerraformPolicy `hcl:"release_retention_policy,block"`
	TentacleRetentionPolicy *TerraformPolicy `hcl:"tentacle_retention_policy,block"`
}

type TerraformLifecycleAllMetaArgument

type TerraformLifecycleAllMetaArgument struct {
	IgnoreChanges string `hcl:"ignore_changes"`
}

type TerraformLifecycleData

type TerraformLifecycleData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformLifecycleMetaArgument

type TerraformLifecycleMetaArgument struct {
	CreateBeforeDestroy *bool                            `hcl:"create_before_destroy"`
	IgnoreChanges       *[]string                        `hcl:"ignore_changes"`
	ReplaceTriggeredBy  *[]string                        `hcl:"replace_triggered_by"`
	PostCondition       *TerraformLifecyclePostCondition `hcl:"postcondition,block"`
}

type TerraformLifecyclePostCondition added in v0.1.467

type TerraformLifecyclePostCondition struct {
	ErrorMessage string `hcl:"error_message"`
}

type TerraformListeningTentacleDeploymentTarget

type TerraformListeningTentacleDeploymentTarget struct {
	Type         string   `hcl:"type,label"`
	Name         string   `hcl:"name,label"`
	Id           *string  `hcl:"id"`
	Count        *string  `hcl:"count"`
	Environments []string `hcl:"environments"`
	ResourceName string   `hcl:"name"`
	Roles        []string `hcl:"roles"`
	TentacleUrl  string   `hcl:"tentacle_url"`
	Thumbprint   string   `hcl:"thumbprint"`

	CertificateSignatureAlgorithm   *string                         `hcl:"certificate_signature_algorithm"`
	HealthStatus                    *string                         `hcl:"health_status"`
	IsDisabled                      *bool                           `hcl:"is_disabled"`
	IsInProcess                     *bool                           `hcl:"is_in_process"`
	MachinePolicyId                 *string                         `hcl:"machine_policy_id"`
	OperatingSystem                 *string                         `hcl:"operating_system"`
	ProxyId                         *string                         `hcl:"proxy_id"`
	ShellName                       *string                         `hcl:"shell_name"`
	ShellVersion                    *string                         `hcl:"shell_version"`
	SpaceId                         *string                         `hcl:"space_id"`
	Status                          *string                         `hcl:"status"`
	StatusSummary                   *string                         `hcl:"status_summary"`
	TenantTags                      []string                        `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string                         `hcl:"tenanted_deployment_participation"`
	Tenants                         []string                        `hcl:"tenants"`
	TentacleVersionDetails          TerraformTentacleVersionDetails `hcl:"tentacle_version_details,block"`
	Uri                             *string                         `hcl:"uri"`
}

type TerraformListeningWorker added in v0.1.1454

type TerraformListeningWorker struct {
	Type            string   `hcl:"type,label"`
	Name            string   `hcl:"name,label"`
	Count           *string  `hcl:"count"`
	Id              *string  `hcl:"id"`
	SpaceId         *string  `hcl:"space_id"`
	ResourceName    string   `hcl:"name"`
	WorkerPoolIds   []string `hcl:"worker_pool_ids"`
	MachinePolicyId *string  `hcl:"machine_policy_id"`
	Thumbprint      string   `hcl:"thumbprint"`
	Uri             string   `hcl:"uri"`
	ProxyId         *string  `hcl:"proxy_id"`
	IsDisabled      *bool    `hcl:"is_disabled"`
}

type TerraformMachineCleanupPolicy

type TerraformMachineCleanupPolicy struct {
	DeleteMachinesBehavior        *string        `hcl:"delete_machines_behavior"`
	DeleteMachinesElapsedTimespan *time.Duration `hcl:"delete_machines_elapsed_timespan"`
}

type TerraformMachineConnectivityPolicy

type TerraformMachineConnectivityPolicy struct {
	MachineConnectivityBehavior string `hcl:"machine_connectivity_behavior"`
}

type TerraformMachineHealthCheckPolicy

type TerraformMachineHealthCheckPolicy struct {
	BashHealthCheckPolicy       TerraformBashHealthCheckPolicy       `hcl:"bash_health_check_policy,block"`
	PowershellHealthCheckPolicy TerraformPowershellHealthCheckPolicy `hcl:"powershell_health_check_policy,block"`
	HealthCheckCron             *string                              `hcl:"health_check_cron"`
	HealthCheckCronTimezone     *string                              `hcl:"health_check_cron_timezone"`
	HealthCheckInterval         *time.Duration                       `hcl:"health_check_interval"`
	HealthCheckType             *string                              `hcl:"health_check_type"`
}

type TerraformMachinePolicy

type TerraformMachinePolicy struct {
	Type                         string         `hcl:"type,label"`
	Name                         string         `hcl:"name,label"`
	Count                        *string        `hcl:"count"`
	ResourceName                 string         `hcl:"name"`
	Id                           *string        `hcl:"id"`
	SpaceId                      *string        `hcl:"space_id"`
	Description                  *string        `hcl:"description"`
	ConnectionConnectTimeout     *time.Duration `hcl:"connection_connect_timeout"`
	ConnectionRetryCountLimit    *int           `hcl:"connection_retry_count_limit"`
	ConnectionRetrySleepInterval *time.Duration `hcl:"connection_retry_sleep_interval"`
	ConnectionRetryTimeLimit     *time.Duration `hcl:"connection_retry_time_limit"`

	MachineCleanupPolicy               TerraformMachineCleanupPolicy      `hcl:"machine_cleanup_policy,block"`
	TerraformMachineConnectivityPolicy TerraformMachineConnectivityPolicy `hcl:"machine_connectivity_policy,block"`
	TerraformMachineHealthCheckPolicy  TerraformMachineHealthCheckPolicy  `hcl:"machine_health_check_policy,block"`
	TerraformMachineUpdatePolicy       TerraformMachineUpdatePolicy       `hcl:"machine_update_policy,block"`
	// contains filtered or unexported fields
}

type TerraformMachinePolicyData

type TerraformMachinePolicyData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName *string                         `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformMachineProxy added in v0.1.1463

type TerraformMachineProxy struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Count        *string `hcl:"count"`
	ResourceName string  `hcl:"name"`
	Id           *string `hcl:"id"`
	SpaceId      *string `hcl:"space_id"`
	Host         string  `hcl:"host"`
	Password     string  `hcl:"password"`
	Username     string  `hcl:"username"`
	Port         *int    `hcl:"port"`
}

type TerraformMachineUpdatePolicy

type TerraformMachineUpdatePolicy struct {
	CalamariUpdateBehavior        *string `hcl:"calamari_update_behavior"`
	TentacleUpdateAccountId       *string `hcl:"tentacle_update_account_id"`
	TentacleUpdateBehavior        *string `hcl:"tentacle_update_behavior"`
	KubernetesAgentUpdateBehavior *string `hcl:"kubernetes_agent_update_behavior"`
}

type TerraformMavenFeed

type TerraformMavenFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	Id                                *string  `hcl:"id"`
	Count                             *string  `hcl:"count"`
	ResourceName                      string   `hcl:"name"`
	FeedUri                           *string  `hcl:"feed_uri"`
	SpaceId                           *string  `hcl:"space_id"`
	Username                          *string  `hcl:"username"`
	Password                          *string  `hcl:"password"`
	PackageAcquisitionLocationOptions []string `hcl:"package_acquisition_location_options"`
	DownloadAttempts                  *int     `hcl:"download_attempts"`
	DownloadRetryBackoffSeconds       *int     `hcl:"download_retry_backoff_seconds"`
}

type TerraformNuGetFeed

type TerraformNuGetFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	Id                                *string  `hcl:"id"`
	Count                             *string  `hcl:"count"`
	ResourceName                      string   `hcl:"name"`
	FeedUri                           *string  `hcl:"feed_uri"`
	SpaceId                           *string  `hcl:"space_id"`
	Username                          *string  `hcl:"username"`
	Password                          *string  `hcl:"password"`
	IsEnhancedMode                    bool     `hcl:"is_enhanced_mode"`
	PackageAcquisitionLocationOptions []string `hcl:"package_acquisition_location_options"`
	DownloadAttempts                  *int     `hcl:"download_attempts"`
	DownloadRetryBackoffSeconds       *int     `hcl:"download_retry_backoff_seconds"`
}

type TerraformOfflineDropDeploymentTarget

type TerraformOfflineDropDeploymentTarget struct {
	Type                  string   `hcl:"type,label"`
	Name                  string   `hcl:"name,label"`
	Id                    *string  `hcl:"id"`
	Count                 *string  `hcl:"count"`
	ApplicationsDirectory string   `hcl:"applications_directory"`
	WorkingDirectory      string   `hcl:"working_directory"`
	Environments          []string `hcl:"environments"`
	ResourceName          string   `hcl:"name"`
	Roles                 []string `hcl:"roles"`

	HealthStatus                    *string  `hcl:"health_status"`
	IsDisabled                      *bool    `hcl:"is_disabled"`
	MachinePolicyId                 *string  `hcl:"machine_policy_id"`
	OperatingSystem                 *string  `hcl:"operating_system"`
	ShellName                       *string  `hcl:"shell_name"`
	ShellVersion                    *string  `hcl:"shell_version"`
	SpaceId                         *string  `hcl:"space_id"`
	Status                          *string  `hcl:"status"`
	StatusSummary                   *string  `hcl:"status_summary"`
	TenantTags                      []string `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	Tenants                         []string `hcl:"tenants"`
	Thumbprint                      *string  `hcl:"thumbprint"`
	Uri                             *string  `hcl:"uri"`
}

type TerraformOutput

type TerraformOutput struct {
	Name  string `hcl:"name,label"`
	Value string `hcl:"value"`
}

type TerraformPackage

type TerraformPackage struct {
	Name                    *string           `hcl:"name"`
	PackageID               *string           `hcl:"package_id"`
	AcquisitionLocation     *string           `hcl:"acquisition_location"`
	ExtractDuringDeployment *bool             `hcl:"extract_during_deployment"`
	FeedId                  *string           `hcl:"feed_id"`
	Id                      *string           `hcl:"id"`
	Properties              map[string]string `hcl:"properties"`
}

type TerraformPhase

type TerraformPhase struct {
	AutomaticDeploymentTargets         []string         `hcl:"automatic_deployment_targets"`
	OptionalDeploymentTargets          []string         `hcl:"optional_deployment_targets"`
	Name                               *string          `hcl:"name"`
	IsOptionalPhase                    bool             `hcl:"is_optional_phase"`
	MinimumEnvironmentsBeforePromotion int              `hcl:"minimum_environments_before_promotion"`
	ReleaseRetentionPolicy             *TerraformPolicy `hcl:"release_retention_policy,block"`
	TentacleRetentionPolicy            *TerraformPolicy `hcl:"tentacle_retention_policy,block"`
}

type TerraformPodAuthentication added in v0.1.593

type TerraformPodAuthentication struct {
	TokenPath string `hcl:"token_path"`
}

type TerraformPolicy

type TerraformPolicy struct {
	QuantityToKeep    int    `hcl:"quantity_to_keep"`
	ShouldKeepForever *bool  `hcl:"should_keep_forever"`
	Unit              string `hcl:"unit"`
}

type TerraformPollingTentacleDeploymentTarget

type TerraformPollingTentacleDeploymentTarget struct {
	Type         string   `hcl:"type,label"`
	Name         string   `hcl:"name,label"`
	Id           *string  `hcl:"id"`
	Count        *string  `hcl:"count"`
	Environments []string `hcl:"environments"`
	ResourceName string   `hcl:"name"`
	Roles        []string `hcl:"roles"`
	TentacleUrl  string   `hcl:"tentacle_url"`

	CertificateSignatureAlgorithm   *string                         `hcl:"certificate_signature_algorithm"`
	HealthStatus                    *string                         `hcl:"health_status"`
	IsDisabled                      *bool                           `hcl:"is_disabled"`
	MachinePolicyId                 *string                         `hcl:"machine_policy_id"`
	OperatingSystem                 *string                         `hcl:"operating_system"`
	ShellName                       *string                         `hcl:"shell_name"`
	ShellVersion                    *string                         `hcl:"shell_version"`
	SpaceId                         *string                         `hcl:"space_id"`
	Status                          *string                         `hcl:"status"`
	StatusSummary                   *string                         `hcl:"status_summary"`
	TenantTags                      []string                        `hcl:"tenant_tags"`
	TenantedDeploymentParticipation *string                         `hcl:"tenanted_deployment_participation"`
	Tenants                         []string                        `hcl:"tenants"`
	TentacleVersionDetails          TerraformTentacleVersionDetails `hcl:"tentacle_version_details,block"`
	Thumbprint                      string                          `hcl:"thumbprint"`
	Uri                             *string                         `hcl:"uri"`
}

type TerraformPowershellHealthCheckPolicy

type TerraformPowershellHealthCheckPolicy struct {
	RunType    string `hcl:"run_type"`
	ScriptBody string `hcl:"script_body"`
}

type TerraformProcess added in v0.1.1566

type TerraformProcess struct {
	Type      string  `hcl:"type,label"`
	Name      string  `hcl:"name,label"`
	Count     *string `hcl:"count"`
	Id        *string `hcl:"id"`
	SpaceId   *string `hcl:"space_id"`
	ProjectId *string `hcl:"project_id"`
	RunbookId *string `hcl:"runbook_id"`
}

type TerraformProcessChildStepsOrder added in v0.1.1566

type TerraformProcessChildStepsOrder struct {
	Type      string   `hcl:"type,label"`
	Name      string   `hcl:"name,label"`
	Count     *string  `hcl:"count"`
	Id        *string  `hcl:"id"`
	ProcessId string   `hcl:"process_id"`
	ParentId  string   `hcl:"parent_id"`
	Children  []string `hcl:"children"`
}

TerraformProcessStepsOrder represents the order of child steps in a parent step/

type TerraformProcessStep added in v0.1.1566

type TerraformProcessStep struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Count        *string `hcl:"count"`
	Id           *string `hcl:"id"`
	ResourceName string  `hcl:"name"`
	ResourceType string  `hcl:"type"`
	ProcessId    string  `hcl:"process_id"`
	// ParentId is the ID of the parent step, if this step is a child step.
	ParentId             *string                        `hcl:"parent_id"`
	Channels             []string                       `hcl:"channels"`
	Condition            *string                        `hcl:"condition"`
	Container            *TerraformProcessStepContainer `hcl:"container"`
	Environments         []string                       `hcl:"environments"`
	ExcludedEnvironments []string                       `hcl:"excluded_environments"`
	// ExecutionProperties are properties associated with the step.
	ExecutionProperties *map[string]string                              `hcl:"execution_properties"`
	GitDependencies     *map[string]TerraformProcessStepGitDependencies `hcl:"git_dependencies"`
	IsDisabled          *bool                                           `hcl:"is_disabled"`
	IsRequired          *bool                                           `hcl:"is_required"`
	Notes               *string                                         `hcl:"notes"`
	PackageRequirement  *string                                         `hcl:"package_requirement"`
	Packages            *map[string]TerraformProcessStepPackage         `hcl:"packages"`
	PrimaryPackage      *TerraformProcessStepPackage                    `hcl:"primary_package"`
	// Properties are properties associated with the first action.
	Properties         *map[string]string `hcl:"properties"`
	Slug               *string            `hcl:"slug"`
	SpaceId            *string            `hcl:"space_id"`
	StartTrigger       *string            `hcl:"start_trigger"`
	TenantTags         []string           `hcl:"tenant_tags"`
	WorkerPoolId       *string            `hcl:"worker_pool_id"`
	WorkerPoolVariable *string            `hcl:"worker_pool_variable"`
}

func (*TerraformProcessStep) SetWorkerPoolId added in v0.1.1593

func (a *TerraformProcessStep) SetWorkerPoolId(workerPool string)

type TerraformProcessStepContainer added in v0.1.1566

type TerraformProcessStepContainer struct {
	FeedId *string `cty:"feed_id"`
	Image  *string `cty:"image"`
}

type TerraformProcessStepGitDependencies added in v0.1.1566

type TerraformProcessStepGitDependencies struct {
	DefaultBranch     string    `cty:"default_branch"`
	GitCredentialType string    `cty:"git_credential_type"`
	RepositoryUri     string    `cty:"repository_uri"`
	FilePathFilters   *[]string `cty:"file_path_filters"`
	GitCredentialId   *string   `cty:"git_credential_id"`
}

type TerraformProcessStepPackage added in v0.1.1566

type TerraformProcessStepPackage struct {
	Id                  *string            `cty:"id"`
	PackageId           string             `cty:"package_id"`
	AcquisitionLocation *string            `cty:"acquisition_location"`
	FeedId              *string            `cty:"feed_id"`
	Properties          *map[string]string `cty:"properties"`
}

type TerraformProcessStepsOrder added in v0.1.1566

type TerraformProcessStepsOrder struct {
	Type      string   `hcl:"type,label"`
	Name      string   `hcl:"name,label"`
	Count     *string  `hcl:"count"`
	Id        *string  `hcl:"id"`
	ProcessId string   `hcl:"process_id"`
	Steps     []string `hcl:"steps"`
}

TerraformProcessStepsOrder represents the order of steps in a process.

type TerraformProcessTemplatedStep added in v0.1.1593

type TerraformProcessTemplatedStep struct {
	Type                 string                         `hcl:"type,label"`
	Name                 string                         `hcl:"name,label"`
	Count                *string                        `hcl:"count"`
	ResourceName         string                         `hcl:"name"`
	ParentId             *string                        `hcl:"parent_id"`
	ProcessId            string                         `hcl:"process_id"`
	TemplateId           string                         `hcl:"template_id"`
	TemplateVersion      string                         `hcl:"template_version"`
	Channels             []string                       `hcl:"channels"`
	Condition            *string                        `hcl:"condition"`
	Container            *TerraformProcessStepContainer `hcl:"container"`
	Environments         []string                       `hcl:"environments"`
	ExcludedEnvironments []string                       `hcl:"excluded_environments"`
	ExecutionProperties  *map[string]string             `hcl:"execution_properties"`
	IsDisabled           *bool                          `hcl:"is_disabled"`
	IsRequired           *bool                          `hcl:"is_required"`
	Notes                *string                        `hcl:"notes"`
	PackageRequirement   *string                        `hcl:"package_requirement"`
	Parameters           *map[string]string             `hcl:"parameters"`
	Properties           *map[string]string             `hcl:"properties"`
	Slug                 *string                        `hcl:"slug"`
	SpaceId              *string                        `hcl:"space_id"`
	StartTrigger         *string                        `hcl:"start_trigger"`
	TenantTags           []string                       `hcl:"tenant_tags"`
	WorkerPoolId         *string                        `hcl:"worker_pool_id"`
	WorkerPoolVariable   *string                        `hcl:"worker_pool_variable"`
}

TerraformProcessTemplatesStep defines the resource documented at https://registry.terraform.io/providers/OctopusDeploy/octopusdeploy/latest/docs/resources/process_templated_step

func (*TerraformProcessTemplatedStep) SetWorkerPoolId added in v0.1.1593

func (a *TerraformProcessTemplatedStep) SetWorkerPoolId(workerPool string)

type TerraformProject

type TerraformProject struct {
	Type                                   string                                                  `hcl:"type,label"`
	Name                                   string                                                  `hcl:"name,label"`
	Count                                  *string                                                 `hcl:"count"`
	Id                                     *string                                                 `hcl:"id"`
	SpaceId                                *string                                                 `hcl:"space_id"`
	ResourceName                           string                                                  `hcl:"name"`
	AutoCreateRelease                      *bool                                                   `hcl:"auto_create_release"`
	DefaultGuidedFailureMode               *string                                                 `hcl:"default_guided_failure_mode"`
	DefaultToSkipIfAlreadyInstalled        bool                                                    `hcl:"default_to_skip_if_already_installed"`
	Description                            *string                                                 `hcl:"description"`
	DiscreteChannelRelease                 bool                                                    `hcl:"discrete_channel_release"`
	IsDisabled                             bool                                                    `hcl:"is_disabled"`
	IsVersionControlled                    bool                                                    `hcl:"is_version_controlled"`
	LifecycleId                            string                                                  `hcl:"lifecycle_id"`
	ProjectGroupId                         string                                                  `hcl:"project_group_id"`
	IncludedLibraryVariableSets            []string                                                `hcl:"included_library_variable_sets"`
	TenantedDeploymentParticipation        *string                                                 `hcl:"tenanted_deployment_participation"`
	Template                               []TerraformTemplate                                     `hcl:"template,block"`
	ConnectivityPolicy                     *TerraformConnectivityPolicy                            `hcl:"connectivity_policy,block"`
	GitLibraryPersistenceSettings          *TerraformGitLibraryPersistenceSettings                 `hcl:"git_library_persistence_settings,block"`
	GitAnonymousPersistenceSettings        *TerraformGitAnonymousPersistenceSettings               `hcl:"git_anonymous_persistence_settings,block"`
	GitUsernamePasswordPersistenceSettings *TerraformGitUsernamePasswordPersistenceSettings        `hcl:"git_username_password_persistence_settings,block"`
	Lifecycle                              *TerraformLifecycleMetaArgument                         `hcl:"lifecycle,block"`
	JiraServiceManagementExtensionSettings *TerraformProjectJiraServiceManagementExtensionSettings `hcl:"jira_service_management_extension_settings,block"`
	ServicenowExtensionSettings            *TerraformProjectServicenowExtensionSettings            `hcl:"servicenow_extension_settings,block"`
}

func (TerraformProject) HasCacConfigured

func (t TerraformProject) HasCacConfigured() bool

type TerraformProjectData added in v0.1.717

type TerraformProjectData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformProjectEnvironment

type TerraformProjectEnvironment struct {
	Environments []string `hcl:"environments"`
	ProjectId    string   `hcl:"project_id"`
}

type TerraformProjectFeedTrigger added in v0.1.1113

type TerraformProjectFeedTrigger struct {
	Type         string                               `hcl:"type,label"`
	Name         string                               `hcl:"name,label"`
	Count        *string                              `hcl:"count"`
	Id           *string                              `hcl:"id"`
	SpaceId      *string                              `hcl:"space_id"`
	ProjectId    string                               `hcl:"project_id"`
	ResourceName string                               `hcl:"name"`
	ChannelId    *string                              `hcl:"channel_id"`
	IsDisabled   *bool                                `hcl:"is_disabled"`
	Package      []TerraformProjectFeedTriggerPackage `hcl:"package,block"`
}

type TerraformProjectFeedTriggerPackage added in v0.1.1113

type TerraformProjectFeedTriggerPackage struct {
	DeploymentActionSlug string `hcl:"deployment_action_slug"`
	PackageReference     string `hcl:"package_reference"`
}

type TerraformProjectGroup

type TerraformProjectGroup struct {
	Type              string  `hcl:"type,label"`
	Name              string  `hcl:"name,label"`
	Id                *string `hcl:"id"`
	Count             *string `hcl:"count"`
	ResourceName      string  `hcl:"name"`
	Description       *string `hcl:"description"`
	RetentionPolicyId *string `hcl:"retention_policy_id"`
	SpaceId           *string `hcl:"space_id"`
}

type TerraformProjectGroupData

type TerraformProjectGroupData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformProjectJiraServiceManagementExtensionSettings added in v1.1.47

type TerraformProjectJiraServiceManagementExtensionSettings struct {
	ConnectionId           string `hcl:"connection_id"`
	IsEnabled              bool   `hcl:"is_enabled"`
	ServiceDeskProjectName string `hcl:"service_desk_project_name"`
}

type TerraformProjectScheduledTrigger added in v0.1.1112

type TerraformProjectScheduledTrigger struct {
	Type                      string                                                     `hcl:"type,label"`
	Name                      string                                                     `hcl:"name,label"`
	Count                     *string                                                    `hcl:"count"`
	Id                        *string                                                    `hcl:"id"`
	SpaceId                   *string                                                    `hcl:"space_id"`
	ResourceName              string                                                     `hcl:"name"`
	Description               *string                                                    `hcl:"description"`
	Timezone                  *string                                                    `hcl:"timezone"`
	IsDisabled                bool                                                       `hcl:"is_disabled"`
	ChannelId                 *string                                                    `hcl:"channel_id"`
	ProjectId                 string                                                     `hcl:"project_id"`
	TenantIds                 []string                                                   `hcl:"tenant_ids"`
	DeployNewReleaseAction    *TerraformProjectScheduledTriggerDeployNewReleaseAction    `hcl:"deploy_new_release_action,block"`
	OnceDailySchedule         *TerraformProjectScheduledTriggerDaily                     `hcl:"once_daily_schedule,block"`
	ContinuousDailySchedule   *TerraformProjectScheduledTriggerContinuousDailySchedule   `hcl:"continuous_daily_schedule,block"`
	CronExpressionSchedule    *TerraformProjectScheduledTriggerCronExpressionSchedule    `hcl:"cron_expression_schedule,block"`
	RunRunbookAction          *TerraformProjectScheduledTriggerRunRunbookAction          `hcl:"run_runbook_action,block"`
	DeployLatestReleaseAction *TerraformProjectScheduledTriggerDeployLatestReleaseAction `hcl:"deploy_latest_release_action,block"`
	DaysPerMonthSchedule      *TerraformProjectScheduledTriggerDaysPerMonthSchedule      `hcl:"days_per_month_schedule,block"`
}

type TerraformProjectScheduledTriggerContinuousDailySchedule added in v0.1.1112

type TerraformProjectScheduledTriggerContinuousDailySchedule struct {
	Interval       string   `hcl:"interval"`
	RunAfter       string   `hcl:"run_after"`
	RunUntil       string   `hcl:"run_until"`
	HourInterval   int      `hcl:"hour_interval"`
	MinuteInterval int      `hcl:"minute_interval"`
	DaysOfWeek     []string `hcl:"days_of_week"`
}

type TerraformProjectScheduledTriggerCronExpressionSchedule added in v0.1.1112

type TerraformProjectScheduledTriggerCronExpressionSchedule struct {
	CronExpression string `hcl:"cron_expression"`
}

type TerraformProjectScheduledTriggerDaily added in v0.1.1112

type TerraformProjectScheduledTriggerDaily struct {
	StartTime  string   `hcl:"start_time"`
	DaysOfWeek []string `hcl:"days_of_week"`
}

type TerraformProjectScheduledTriggerDaysPerMonthSchedule added in v0.1.1112

type TerraformProjectScheduledTriggerDaysPerMonthSchedule struct {
	MonthlyScheduleType string  `hcl:"monthly_schedule_type"`
	StartTime           string  `hcl:"start_time"`
	DateOfMonth         *string `hcl:"date_of_month"`
	DayNumberOfMonth    *string `hcl:"day_number_of_month"`
	DayOfWeek           *string `hcl:"day_of_week"`
}

type TerraformProjectScheduledTriggerDeployLatestReleaseAction added in v0.1.1112

type TerraformProjectScheduledTriggerDeployLatestReleaseAction struct {
	SourceEnvironmentId      string `hcl:"source_environment_id"`
	DestinationEnvironmentId string `hcl:"destination_environment_id"`
	ShouldRedeploy           bool   `hcl:"should_redeploy"`
}

type TerraformProjectScheduledTriggerDeployNewReleaseAction added in v0.1.1112

type TerraformProjectScheduledTriggerDeployNewReleaseAction struct {
	DestinationEnvironmentId string `hcl:"destination_environment_id"`
}

type TerraformProjectScheduledTriggerRunRunbookAction added in v0.1.1112

type TerraformProjectScheduledTriggerRunRunbookAction struct {
	TargetEnvironmentIds []string `hcl:"target_environment_ids"`
	RunbookId            string   `hcl:"runbook_id"`
}

type TerraformProjectServicenowExtensionSettings added in v1.1.47

type TerraformProjectServicenowExtensionSettings struct {
	ConnectionId                     string  `hcl:"connection_id"`
	IsEnabled                        bool    `hcl:"is_enabled"`
	IsStateAutomaticallyTransitioned bool    `hcl:"is_state_automatically_transitioned"`
	StandardChangeTemplateName       *string `hcl:"standard_change_template_name"`
}

type TerraformProjectTrigger

type TerraformProjectTrigger struct {
	Type            string   `hcl:"type,label"`
	Name            string   `hcl:"name,label"`
	Count           *string  `hcl:"count"`
	ResourceName    string   `hcl:"name"`
	ProjectId       string   `hcl:"project_id"`
	EventCategories []string `hcl:"event_categories"`
	EnvironmentIds  []string `hcl:"environment_ids"`
	EventGroups     []string `hcl:"event_groups"`
	Roles           []string `hcl:"roles"`
	ShouldRedeploy  bool     `hcl:"should_redeploy"`
	Id              *string  `hcl:"id"`
}

type TerraformProjectVariable

type TerraformProjectVariable struct {
	Type           string                          `hcl:"type,label"`
	Name           string                          `hcl:"name,label"`
	Count          *string                         `hcl:"count"`
	OwnerId        string                          `hcl:"owner_id"`
	Value          *string                         `hcl:"value"`
	ResourceName   string                          `hcl:"name"`
	ResourceType   string                          `hcl:"type"`
	Description    *string                         `hcl:"description"`
	SensitiveValue *string                         `hcl:"sensitive_value"`
	IsSensitive    bool                            `hcl:"is_sensitive"`
	Prompt         *TerraformProjectVariablePrompt `hcl:"prompt,block"`
	Scope          *TerraformProjectVariableScope  `hcl:"scope,block"`
}

type TerraformProjectVariableDisplay

type TerraformProjectVariableDisplay struct {
	ControlType  *string                                        `hcl:"control_type"`
	SelectOption *[]TerraformProjectVariableDisplaySelectOption `hcl:"select_option,block"`
}

type TerraformProjectVariableDisplaySelectOption

type TerraformProjectVariableDisplaySelectOption struct {
	DisplayName string `hcl:"display_name"`
	Value       string `hcl:"value"`
}

type TerraformProjectVariablePrompt

type TerraformProjectVariablePrompt struct {
	Description     *string                          `hcl:"description"`
	Label           *string                          `hcl:"label"`
	IsRequired      bool                             `hcl:"is_required"`
	DisplaySettings *TerraformProjectVariableDisplay `hcl:"display_settings,block"`
}

type TerraformProjectVariableScope

type TerraformProjectVariableScope struct {
	Actions      []string `hcl:"actions"`
	Channels     []string `hcl:"channels"`
	Environments []string `hcl:"environments"`
	Machines     []string `hcl:"machines"`
	Roles        []string `hcl:"roles"`
	TenantTags   []string `hcl:"tenant_tags"`
}

type TerraformProjectVersioningStrategy added in v1.1.42

type TerraformProjectVersioningStrategy struct {
	Type               string                                          `hcl:"type,label"`
	Name               string                                          `hcl:"name,label"`
	Count              *string                                         `hcl:"count"`
	ProjectId          string                                          `hcl:"project_id"`
	SpaceId            *string                                         `hcl:"space_id"`
	DonorPackage       *TerraformProjectVersioningStrategyDonorPackage `hcl:"donor_package,block"`
	DonorPackageStepId *string                                         `hcl:"donor_package_step_id"`
	Template           *string                                         `hcl:"template"`
}

type TerraformProjectVersioningStrategyDonorPackage added in v1.1.42

type TerraformProjectVersioningStrategyDonorPackage struct {
	DeploymentAction string `hcl:"deployment_action"`
	PackageReference string `hcl:"package_reference"`
}

type TerraformProvider

type TerraformProvider struct {
	Type    string  `hcl:"type,label"`
	Address *string `hcl:"address"`
	ApiKey  *string `hcl:"api_key"`
	SpaceId *string `hcl:"space_id"`
}

type TerraformRule

type TerraformRule struct {
	ActionPackage []TerraformActionPackage `hcl:"action_package,block"`
	Tag           *string                  `hcl:"tag"`
	VersionRange  *string                  `hcl:"version_range"`
}

type TerraformRunbook

type TerraformRunbook struct {
	Type                     string                          `hcl:"type,label"`
	Name                     string                          `hcl:"name,label"`
	Id                       *string                         `hcl:"id"`
	SpaceId                  *string                         `hcl:"space_id"`
	Count                    *string                         `hcl:"count"`
	ResourceName             string                          `hcl:"name"`
	ProjectId                string                          `hcl:"project_id"`
	EnvironmentScope         *string                         `hcl:"environment_scope"`
	Environments             []string                        `hcl:"environments"`
	ForcePackageDownload     bool                            `hcl:"force_package_download "`
	DefaultGuidedFailureMode *string                         `hcl:"default_guided_failure_mode"`
	Description              *string                         `hcl:"description"`
	MultiTenancyMode         *string                         `hcl:"multi_tenancy_mode"`
	RetentionPolicy          *RetentionPolicy                `hcl:"retention_policy,block"`
	ConnectivityPolicy       *TerraformConnectivityPolicy    `hcl:"connectivity_policy,block"`
	Lifecycle                *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformRunbookProcess

type TerraformRunbookProcess struct {
	Type      string                          `hcl:"type,label"`
	Name      string                          `hcl:"name,label"`
	Count     *string                         `hcl:"count"`
	RunbookId string                          `hcl:"runbook_id"`
	Step      []TerraformStep                 `hcl:"step,block"`
	Lifecycle *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformS3Feed added in v0.1.1458

type TerraformS3Feed struct {
	Type                  string  `hcl:"type,label"`
	Name                  string  `hcl:"name,label"`
	Id                    *string `hcl:"id"`
	Count                 *string `hcl:"count"`
	ResourceName          string  `hcl:"name"`
	UseMachineCredentials bool    `hcl:"use_machine_credentials"`
	AccessKey             *string `hcl:"access_key"`
	Password              *string `hcl:"password"`
	SecretKey             *string `hcl:"secret_key"`
	Username              *string `hcl:"username"`
}

type TerraformScriptModule

type TerraformScriptModule struct {
	Type         string                      `hcl:"type,label"`
	Name         string                      `hcl:"name,label"`
	Id           *string                     `hcl:"id"`
	Count        *string                     `hcl:"count"`
	Description  *string                     `hcl:"description"`
	ResourceName string                      `hcl:"name"`
	Script       TerraformScriptModuleScript `hcl:"script,block"`
}

type TerraformScriptModuleScript

type TerraformScriptModuleScript struct {
	Body   string `hcl:"body"`
	Syntax string `hcl:"syntax"`
}

type TerraformServicenowExtensionSettings

type TerraformServicenowExtensionSettings struct {
	IsEnabled bool `hcl:"is_enabled"`
}

type TerraformShellProvider added in v0.1.1204

type TerraformShellProvider struct {
	Type              string   `hcl:"type,label"`
	Interpreter       []string `hcl:"interpreter"`
	EnableParallelism bool     `hcl:"enable_parallelism"`
}

type TerraformSpace

type TerraformSpace struct {
	Type                     string   `hcl:"type,label"`
	Name                     string   `hcl:"name,label"`
	Id                       *string  `hcl:"id"`
	Description              *string  `hcl:"description"`
	ResourceName             *string  `hcl:"name"`
	IsDefault                bool     `hcl:"is_default"`
	IsTaskQueueStopped       bool     `hcl:"is_task_queue_stopped"`
	SpaceManagersTeamMembers []string `hcl:"space_managers_team_members"`
	SpaceManagersTeams       []string `hcl:"space_managers_teams"`
}

type TerraformSpaceData added in v0.1.458

type TerraformSpaceData struct {
	Type         string   `hcl:"type,label"`
	Name         string   `hcl:"name,label"`
	ResourceName *string  `hcl:"name"`
	Ids          []string `hcl:"ids"`
	PartialName  *string  `hcl:"partial_name"`
	Skip         int      `hcl:"skip"`
	Take         int      `hcl:"take"`
}

type TerraformSshAccount

type TerraformSshAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	PrivateKeyFile                  *string  `hcl:"private_key_file"`
	Username                        *string  `hcl:"username"`
	PrivateKeyPassphrase            *string  `hcl:"private_key_passphrase"`
}

type TerraformSshConnectionDeploymentTarget

type TerraformSshConnectionDeploymentTarget struct {
	Id                 *string  `hcl:"id"`
	SpaceId            *string  `hcl:"space_id"`
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	Count              *string  `hcl:"count"`
	AccountId          string   `hcl:"account_id"`
	Environments       []string `hcl:"environments"`
	Fingerprint        string   `hcl:"fingerprint"`
	Host               string   `hcl:"host"`
	ResourceName       string   `hcl:"name"`
	Roles              []string `hcl:"roles"`
	DotNetCorePlatform *string  `hcl:"dot_net_core_platform"`
	MachinePolicyId    *string  `hcl:"machine_policy_id"`
	TenantTags         []string `hcl:"tenant_tags"`
}

type TerraformSshWorker added in v0.1.1456

type TerraformSshWorker struct {
	Type            string   `hcl:"type,label"`
	Name            string   `hcl:"name,label"`
	Count           *string  `hcl:"count"`
	Id              *string  `hcl:"id"`
	SpaceId         *string  `hcl:"space_id"`
	ResourceName    string   `hcl:"name"`
	AccountId       string   `hcl:"account_id"`
	DotnetPlatform  string   `hcl:"dotnet_platform"`
	Fingerprint     string   `hcl:"fingerprint"`
	Host            string   `hcl:"host"`
	Port            int      `hcl:"port"`
	WorkerPoolIds   []string `hcl:"worker_pool_ids"`
	MachinePolicyId *string  `hcl:"machine_policy_id"`
	ProxyId         *string  `hcl:"proxy_id"`
	IsDisabled      *bool    `hcl:"is_disabled"`
}

type TerraformStep

type TerraformStep struct {
	Condition           *string           `hcl:"condition"`
	ConditionExpression *string           `hcl:"condition_expression"`
	Name                *string           `hcl:"name"`
	PackageRequirement  *string           `hcl:"package_requirement"`
	StartTrigger        *string           `hcl:"start_trigger"`
	Action              []TerraformAction `hcl:"action,block"`
	Properties          map[string]string `hcl:"properties"`
	TargetRoles         []string          `hcl:"target_roles"`
}

type TerraformStepTemplate added in v0.1.1593

type TerraformStepTemplate struct {
	Type                      string                           `hcl:"type,label"`
	Name                      string                           `hcl:"name,label"`
	Count                     *string                          `hcl:"count"`
	ActionType                string                           `hcl:"action_type"`
	SpaceId                   *string                          `hcl:"space_id"`
	ResourceName              string                           `hcl:"name"`
	Description               *string                          `hcl:"description"`
	StepPackageId             string                           `hcl:"step_package_id"`
	CommunityActionTemplateId *string                          `hcl:"community_action_template_id"`
	Packages                  []TerraformStepTemplatePackage   `hcl:"packages"`
	Parameters                []TerraformStepTemplateParameter `hcl:"parameters"`
	Properties                map[string]string                `hcl:"properties"`
}

TerraformStepTemplate represents a step template in Terraform https://registry.terraform.io/providers/OctopusDeployLabs/octopusdeploy/latest/docs/resources/step_template

type TerraformStepTemplateData added in v0.1.1593

type TerraformStepTemplateData struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	SpaceId      *string `hcl:"space_id"`
	Id           *string `hcl:"id"`
	ResourceName *string `hcl:"name"`
}

TerraformStepTemplateData represents a step template in Terraform https://registry.terraform.io/providers/OctopusDeploy/octopusdeploy/latest/docs/data-sources/step_template

type TerraformStepTemplatePackage added in v0.1.1593

type TerraformStepTemplatePackage struct {
	Name                    string                                 `cty:"name"`
	PackageID               *string                                `cty:"package_id"`
	AcquisitionLocation     *string                                `cty:"acquisition_location"`
	ExtractDuringDeployment *bool                                  `cty:"extract_during_deployment"`
	FeedId                  string                                 `cty:"feed_id"`
	Properties              TerraformStepTemplatePackageProperties `cty:"properties"`
}

type TerraformStepTemplatePackageProperties added in v0.1.1593

type TerraformStepTemplatePackageProperties struct {
	SelectionMode        string `cty:"selection_mode"`
	Extract              string `cty:"selection_mode"`
	PackageParameterName string `cty:"package_parameter_name"`
	Purpose              string `cty:"purpose"`
}

type TerraformStepTemplateParameter added in v0.1.1593

type TerraformStepTemplateParameter struct {
	Id                    string            `cty:"id"`
	Name                  string            `cty:"name"`
	Label                 *string           `cty:"label"`
	HelpText              *string           `cty:"help_text"`
	DefaultValue          *string           `cty:"default_value"`
	DefaultSensitiveValue *string           `cty:"default_sensitive_value"`
	DisplaySettings       map[string]string `cty:"display_settings"`
}

type TerraformStepWithWorkerPool added in v0.1.1593

type TerraformStepWithWorkerPool interface {
	SetWorkerPoolId(workerPoolId string)
}

type TerraformTag

type TerraformTag struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Count        *string `hcl:"count"`
	ResourceName string  `hcl:"name"`
	TagSetId     string  `hcl:"tag_set_id"`
	Color        string  `hcl:"color"`
	Description  *string `hcl:"description"`
	SortOrder    *int    `hcl:"sort_order"`
}

type TerraformTagSet

type TerraformTagSet struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Id           *string `hcl:"id"`
	Count        *string `hcl:"count"`
	ResourceName string  `hcl:"name"`
	Description  *string `hcl:"description"`
	SortOrder    *int    `hcl:"sort_order"`
}

type TerraformTagSetData added in v0.1.565

type TerraformTagSetData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformTemplate

type TerraformTemplate struct {
	Id              *string            `hcl:"id"`
	Name            *string            `hcl:"name"`
	Label           *string            `hcl:"label"`
	HelpText        *string            `hcl:"help_text"`
	DefaultValue    *string            `hcl:"default_value"`
	DisplaySettings *map[string]string `hcl:"display_settings"`
}

type TerraformTenant

type TerraformTenant struct {
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	Count              *string  `hcl:"count"`
	ResourceName       string   `hcl:"name"`
	Id                 *string  `hcl:"id"`
	SpaceId            *string  `hcl:"space_id"`
	ClonedFromTenantId *string  `hcl:"cloned_from_tenant_id"`
	Description        *string  `hcl:"description"`
	TenantTags         []string `hcl:"tenant_tags"`
	DependsOn          []string `hcl:"depends_on"`
}

type TerraformTenantCommonVariable

type TerraformTenantCommonVariable struct {
	Type                 string  `hcl:"type,label"`
	Name                 string  `hcl:"name,label"`
	Count                *string `hcl:"count"`
	Id                   *string `hcl:"id"`
	LibraryVariableSetId string  `hcl:"library_variable_set_id"`
	TemplateId           string  `hcl:"template_id"`
	TenantId             string  `hcl:"tenant_id"`
	Value                *string `hcl:"value"`
}

type TerraformTenantData

type TerraformTenantData struct {
	Type        string                          `hcl:"type,label"`
	Name        string                          `hcl:"name,label"`
	Ids         []string                        `hcl:"ids"`
	PartialName string                          `hcl:"partial_name"`
	Skip        int                             `hcl:"skip"`
	Take        int                             `hcl:"take"`
	ProjectId   string                          `hcl:"project_id"`
	Tags        []string                        `hcl:"tags"`
	Lifecycle   *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformTenantProjectEnvironment added in v0.1.1211

type TerraformTenantProjectEnvironment struct {
	Type           string   `hcl:"type,label"`
	Name           string   `hcl:"name,label"`
	Count          *string  `hcl:"count"`
	SpaceId        *string  `hcl:"space_id"`
	TenantId       string   `hcl:"tenant_id"`
	ProjectId      string   `hcl:"project_id"`
	EnvironmentIds []string `hcl:"environment_ids"`
}

type TerraformTenantProjectVariable

type TerraformTenantProjectVariable struct {
	Type          string  `hcl:"type,label"`
	Name          string  `hcl:"name,label"`
	Count         *string `hcl:"count"`
	Id            *string `hcl:"id"`
	EnvironmentId string  `hcl:"environment_id"`
	ProjectId     string  `hcl:"project_id"`
	TemplateId    string  `hcl:"template_id"`
	TenantId      string  `hcl:"tenant_id"`
	Value         *string `hcl:"value"`
}

type TerraformTentacleVersionDetails

type TerraformTentacleVersionDetails struct {
	UpgradeLocked    *bool   `hcl:"upgrade_locked"`
	UpgradeRequired  *bool   `hcl:"upgrade_required"`
	UpgradeSuggested *bool   `hcl:"upgrade_suggested"`
	Version          *string `hcl:"version"`
}

type TerraformTokenAccount

type TerraformTokenAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	Token                           *string  `hcl:"token"`
}

type TerraformUsernamePasswordAccount

type TerraformUsernamePasswordAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	Id                              *string  `hcl:"id"`
	Count                           *string  `hcl:"count"`
	SpaceId                         *string  `hcl:"space_id"`
	ResourceName                    string   `hcl:"name"`
	Description                     *string  `hcl:"description"`
	Environments                    []string `hcl:"environments"`
	TenantTags                      []string `hcl:"tenant_tags"`
	Tenants                         []string `hcl:"tenants"`
	TenantedDeploymentParticipation *string  `hcl:"tenanted_deployment_participation"`
	Username                        *string  `hcl:"username"`
	Password                        *string  `hcl:"password"`
}

type TerraformVariable

type TerraformVariable struct {
	Name        string  `hcl:"name,label"`
	Type        string  `hcl:"type"`
	Nullable    bool    `hcl:"nullable"`
	Sensitive   bool    `hcl:"sensitive"`
	Description string  `hcl:"description"`
	Default     *string `hcl:"default"`
}

type TerraformWorkerPool

type TerraformWorkerPool struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	Id           *string `hcl:"id"`
	SpaceId      *string `hcl:"space_id"`
	Count        *string `hcl:"count"`
	ResourceName string  `hcl:"name"`
	Description  *string `hcl:"description"`
	IsDefault    bool    `hcl:"is_default"`
	SortOrder    *int    `hcl:"sort_order"`
	WorkerType   *string `hcl:"worker_type"`
}

type TerraformWorkerPoolData

type TerraformWorkerPoolData struct {
	Type         string                          `hcl:"type,label"`
	Name         string                          `hcl:"name,label"`
	Count        *string                         `hcl:"count"`
	ResourceName *string                         `hcl:"name"`
	Ids          []string                        `hcl:"ids"`
	PartialName  *string                         `hcl:"partial_name"`
	Skip         int                             `hcl:"skip"`
	Take         int                             `hcl:"take"`
	Lifecycle    *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformWorkersData added in v0.1.1452

type TerraformWorkersData struct {
	Type                string                          `hcl:"type,label"`
	Name                string                          `hcl:"name,label"`
	ResourceName        *string                         `hcl:"name"`
	Ids                 []string                        `hcl:"ids"`
	PartialName         *string                         `hcl:"partial_name"`
	Skip                int                             `hcl:"skip"`
	Take                int                             `hcl:"take"`
	HealthStatuses      []string                        `hcl:"health_statuses"`
	CommunicationStyles []string                        `hcl:"communication_styles"`
	IsDisabled          *bool                           `hcl:"is_disabled"`
	Lifecycle           *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL