terraform

package
v0.1.819 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 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 OctopusProvider

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

type RequiredProviders

type RequiredProviders struct {
	OctopusProvider OctopusProvider `hcl:"octopusdeploy"`
}

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"`
}

type TerraformActionPackage

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

type TerraformAwsAccount

type TerraformAwsAccount struct {
	Type                            string   `hcl:"type,label"`
	Name                            string   `hcl:"name,label"`
	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 TerraformAzureCloudServiceDeploymentTarget

type TerraformAzureCloudServiceDeploymentTarget struct {
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	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 TerraformAzureServiceFabricClusterDeploymentTarget

type TerraformAzureServiceFabricClusterDeploymentTarget struct {
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	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"`
	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"`
	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 is required, even if it is a blank string
	ManagementEndpoint string `hcl:"management_endpoint"`
	// StorageEndpointSuffix is required, even if it is a blank string
	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"`
	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 TerraformCertificate

type TerraformCertificate struct {
	Type                            string    `hcl:"type,label"`
	Name                            string    `hcl:"name,label"`
	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"`
	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"`
	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 TerraformConfig

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

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"`
}

type TerraformContainer

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

type TerraformDeploymentProcess

type TerraformDeploymentProcess struct {
	Type      string                          `hcl:"type,label"`
	Name      string                          `hcl:"name,label"`
	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"`
	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 TerraformDonorPackage

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

type TerraformEcrFeed

type TerraformEcrFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	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 TerraformEnvironment

type TerraformEnvironment struct {
	Type                                   string                                           `hcl:"type,label"`
	Name                                   string                                           `hcl:"name,label"`
	SpaceId                                *string                                          `hcl:"space_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"`
	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 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"`
	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"`
	Id           *string `hcl:"id"`
	Description  *string `hcl:"description"`
	ResourceName string  `hcl:"name"`
	ResourceType string  `hcl:"type"`
	Username     string  `hcl:"username"`
	Password     string  `hcl:"password"`
}

type TerraformGitHubRepoFeed

type TerraformGitHubRepoFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	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 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"`
	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 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"`
	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"`
	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"`
	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"`
	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 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"`
	ResourceName                                  string         `hcl:"name"`
	Id                                            *string        `hcl:"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"`
	PollingRequestMaximumMessageProcessingTimeout *time.Duration `hcl:"polling_request_maximum_message_processing_timeout"`

	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 TerraformMachineUpdatePolicy

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

type TerraformMavenFeed

type TerraformMavenFeed struct {
	Type                              string   `hcl:"type,label"`
	Name                              string   `hcl:"name,label"`
	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"`
	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"`
	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"`
	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 TerraformProject

type TerraformProject struct {
	Type                                   string                                           `hcl:"type,label"`
	Name                                   string                                           `hcl:"name,label"`
	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"`
	VersioningStrategy                     *TerraformVersioningStrategy                     `hcl:"versioning_strategy,block"`
	Lifecycle                              *TerraformLifecycleMetaArgument                  `hcl:"lifecycle,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 TerraformProjectGroup

type TerraformProjectGroup struct {
	Type              string  `hcl:"type,label"`
	Name              string  `hcl:"name,label"`
	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 TerraformProjectTrigger

type TerraformProjectTrigger struct {
	Type            string   `hcl:"type,label"`
	Name            string   `hcl:"name,label"`
	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"`
	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 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"`
	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"`
	RunbookId string                          `hcl:"runbook_id"`
	Step      []TerraformStep                 `hcl:"step,block"`
	Lifecycle *TerraformLifecycleMetaArgument `hcl:"lifecycle,block"`
}

type TerraformScriptModule

type TerraformScriptModule struct {
	Type         string                      `hcl:"type,label"`
	Name         string                      `hcl:"name,label"`
	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 TerraformSpace

type TerraformSpace struct {
	Type                     string   `hcl:"type,label"`
	Name                     string   `hcl:"name,label"`
	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"`
	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 {
	Type               string   `hcl:"type,label"`
	Name               string   `hcl:"name,label"`
	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 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 TerraformTag

type TerraformTag struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	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"`
	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"`
	ResourceName       string                        `hcl:"name"`
	Id                 *string                       `hcl:"id"`
	ClonedFromTenantId *string                       `hcl:"cloned_from_tenant_id"`
	Description        *string                       `hcl:"description"`
	TenantTags         []string                      `hcl:"tenant_tags"`
	ProjectEnvironment []TerraformProjectEnvironment `hcl:"project_environment,block"`
	DependsOn          []string                      `hcl:"depends_on"`
}

type TerraformTenantCommonVariable

type TerraformTenantCommonVariable struct {
	Type                 string  `hcl:"type,label"`
	Name                 string  `hcl:"name,label"`
	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 TerraformTenantProjectVariable

type TerraformTenantProjectVariable struct {
	Type          string  `hcl:"type,label"`
	Name          string  `hcl:"name,label"`
	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"`
	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"`
	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 TerraformVersioningStrategy

type TerraformVersioningStrategy struct {
	Template           string                 `hcl:"template"`
	DonorPackageStepId *string                `hcl:"donor_package_step_id"`
	DonorPackage       *TerraformDonorPackage `hcl:"donor_package,block"`
}

type TerraformWorkerPool

type TerraformWorkerPool struct {
	Type         string  `hcl:"type,label"`
	Name         string  `hcl:"name,label"`
	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"`
	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"`
}

Source Files

Jump to

Keyboard shortcuts

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