google_composer_environment

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// Config: optional
	Config *Config `hcl:"config,block"`
	// StorageConfig: optional
	StorageConfig *StorageConfig `hcl:"storage_config,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_composer_environment.

type Config

type Config struct {
	// EnvironmentSize: string, optional
	EnvironmentSize terra.StringValue `hcl:"environment_size,attr"`
	// NodeCount: number, optional
	NodeCount terra.NumberValue `hcl:"node_count,attr"`
	// ResilienceMode: string, optional
	ResilienceMode terra.StringValue `hcl:"resilience_mode,attr"`
	// ConfigDataRetentionConfig: optional
	DataRetentionConfig *ConfigDataRetentionConfig `hcl:"data_retention_config,block"`
	// ConfigDatabaseConfig: optional
	DatabaseConfig *ConfigDatabaseConfig `hcl:"database_config,block"`
	// ConfigEncryptionConfig: optional
	EncryptionConfig *ConfigEncryptionConfig `hcl:"encryption_config,block"`
	// ConfigMaintenanceWindow: optional
	MaintenanceWindow *ConfigMaintenanceWindow `hcl:"maintenance_window,block"`
	// ConfigMasterAuthorizedNetworksConfig: optional
	MasterAuthorizedNetworksConfig *ConfigMasterAuthorizedNetworksConfig `hcl:"master_authorized_networks_config,block"`
	// ConfigNodeConfig: optional
	NodeConfig *ConfigNodeConfig `hcl:"node_config,block"`
	// ConfigPrivateEnvironmentConfig: optional
	PrivateEnvironmentConfig *ConfigPrivateEnvironmentConfig `hcl:"private_environment_config,block"`
	// ConfigRecoveryConfig: optional
	RecoveryConfig *ConfigRecoveryConfig `hcl:"recovery_config,block"`
	// ConfigSoftwareConfig: optional
	SoftwareConfig *ConfigSoftwareConfig `hcl:"software_config,block"`
	// ConfigWebServerConfig: optional
	WebServerConfig *ConfigWebServerConfig `hcl:"web_server_config,block"`
	// ConfigWebServerNetworkAccessControl: optional
	WebServerNetworkAccessControl *ConfigWebServerNetworkAccessControl `hcl:"web_server_network_access_control,block"`
	// ConfigWorkloadsConfig: optional
	WorkloadsConfig *ConfigWorkloadsConfig `hcl:"workloads_config,block"`
}

type ConfigAttributes

type ConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigAttributes) AirflowUri

func (c ConfigAttributes) AirflowUri() terra.StringValue

func (ConfigAttributes) DagGcsPrefix

func (c ConfigAttributes) DagGcsPrefix() terra.StringValue

func (ConfigAttributes) DataRetentionConfig

func (ConfigAttributes) DatabaseConfig

func (ConfigAttributes) EncryptionConfig

func (ConfigAttributes) EnvironmentSize

func (c ConfigAttributes) EnvironmentSize() terra.StringValue

func (ConfigAttributes) GkeCluster

func (c ConfigAttributes) GkeCluster() terra.StringValue

func (ConfigAttributes) InternalRef

func (c ConfigAttributes) InternalRef() (terra.Reference, error)

func (ConfigAttributes) InternalTokens

func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigAttributes) InternalWithRef

func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes

func (ConfigAttributes) MaintenanceWindow

func (ConfigAttributes) MasterAuthorizedNetworksConfig

func (ConfigAttributes) NodeConfig

func (ConfigAttributes) NodeCount

func (c ConfigAttributes) NodeCount() terra.NumberValue

func (ConfigAttributes) PrivateEnvironmentConfig

func (ConfigAttributes) RecoveryConfig

func (ConfigAttributes) ResilienceMode

func (c ConfigAttributes) ResilienceMode() terra.StringValue

func (ConfigAttributes) SoftwareConfig

func (ConfigAttributes) WebServerConfig

func (ConfigAttributes) WebServerNetworkAccessControl

func (ConfigAttributes) WorkloadsConfig

type ConfigDataRetentionConfig

type ConfigDataRetentionConfig struct {
	// ConfigDataRetentionConfigTaskLogsRetentionConfig: min=1
	TaskLogsRetentionConfig []ConfigDataRetentionConfigTaskLogsRetentionConfig `hcl:"task_logs_retention_config,block" validate:"min=1"`
}

type ConfigDataRetentionConfigAttributes

type ConfigDataRetentionConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigDataRetentionConfigAttributes) InternalRef

func (ConfigDataRetentionConfigAttributes) InternalTokens

func (drc ConfigDataRetentionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigDataRetentionConfigAttributes) InternalWithRef

func (ConfigDataRetentionConfigAttributes) TaskLogsRetentionConfig

type ConfigDataRetentionConfigState

type ConfigDataRetentionConfigState struct {
	TaskLogsRetentionConfig []ConfigDataRetentionConfigTaskLogsRetentionConfigState `json:"task_logs_retention_config"`
}

type ConfigDataRetentionConfigTaskLogsRetentionConfig

type ConfigDataRetentionConfigTaskLogsRetentionConfig struct {
	// StorageMode: string, optional
	StorageMode terra.StringValue `hcl:"storage_mode,attr"`
}

type ConfigDataRetentionConfigTaskLogsRetentionConfigAttributes

type ConfigDataRetentionConfigTaskLogsRetentionConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) InternalRef

func (ConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) InternalTokens

func (ConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) InternalWithRef

func (ConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) StorageMode

type ConfigDataRetentionConfigTaskLogsRetentionConfigState

type ConfigDataRetentionConfigTaskLogsRetentionConfigState struct {
	StorageMode string `json:"storage_mode"`
}

type ConfigDatabaseConfig

type ConfigDatabaseConfig struct {
	// MachineType: string, optional
	MachineType terra.StringValue `hcl:"machine_type,attr"`
	// Zone: string, optional
	Zone terra.StringValue `hcl:"zone,attr"`
}

type ConfigDatabaseConfigAttributes

type ConfigDatabaseConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigDatabaseConfigAttributes) InternalRef

func (ConfigDatabaseConfigAttributes) InternalTokens

func (dc ConfigDatabaseConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigDatabaseConfigAttributes) InternalWithRef

func (ConfigDatabaseConfigAttributes) MachineType

func (ConfigDatabaseConfigAttributes) Zone

type ConfigDatabaseConfigState

type ConfigDatabaseConfigState struct {
	MachineType string `json:"machine_type"`
	Zone        string `json:"zone"`
}

type ConfigEncryptionConfig

type ConfigEncryptionConfig struct {
	// KmsKeyName: string, required
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr" validate:"required"`
}

type ConfigEncryptionConfigAttributes

type ConfigEncryptionConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigEncryptionConfigAttributes) InternalRef

func (ConfigEncryptionConfigAttributes) InternalTokens

func (ec ConfigEncryptionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigEncryptionConfigAttributes) InternalWithRef

func (ConfigEncryptionConfigAttributes) KmsKeyName

type ConfigEncryptionConfigState

type ConfigEncryptionConfigState struct {
	KmsKeyName string `json:"kms_key_name"`
}

type ConfigMaintenanceWindow

type ConfigMaintenanceWindow struct {
	// EndTime: string, required
	EndTime terra.StringValue `hcl:"end_time,attr" validate:"required"`
	// Recurrence: string, required
	Recurrence terra.StringValue `hcl:"recurrence,attr" validate:"required"`
	// StartTime: string, required
	StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"`
}

type ConfigMaintenanceWindowAttributes

type ConfigMaintenanceWindowAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigMaintenanceWindowAttributes) EndTime

func (ConfigMaintenanceWindowAttributes) InternalRef

func (ConfigMaintenanceWindowAttributes) InternalTokens

func (mw ConfigMaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigMaintenanceWindowAttributes) InternalWithRef

func (ConfigMaintenanceWindowAttributes) Recurrence

func (ConfigMaintenanceWindowAttributes) StartTime

type ConfigMaintenanceWindowState

type ConfigMaintenanceWindowState struct {
	EndTime    string `json:"end_time"`
	Recurrence string `json:"recurrence"`
	StartTime  string `json:"start_time"`
}

type ConfigMasterAuthorizedNetworksConfig

type ConfigMasterAuthorizedNetworksConfig struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// ConfigMasterAuthorizedNetworksConfigCidrBlocks: min=0
	CidrBlocks []ConfigMasterAuthorizedNetworksConfigCidrBlocks `hcl:"cidr_blocks,block" validate:"min=0"`
}

type ConfigMasterAuthorizedNetworksConfigAttributes

type ConfigMasterAuthorizedNetworksConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigMasterAuthorizedNetworksConfigAttributes) CidrBlocks

func (ConfigMasterAuthorizedNetworksConfigAttributes) Enabled

func (ConfigMasterAuthorizedNetworksConfigAttributes) InternalRef

func (ConfigMasterAuthorizedNetworksConfigAttributes) InternalTokens

func (ConfigMasterAuthorizedNetworksConfigAttributes) InternalWithRef

type ConfigMasterAuthorizedNetworksConfigCidrBlocks

type ConfigMasterAuthorizedNetworksConfigCidrBlocks struct {
	// CidrBlock: string, required
	CidrBlock terra.StringValue `hcl:"cidr_block,attr" validate:"required"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
}

type ConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes

type ConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) CidrBlock

func (ConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) DisplayName

func (ConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) InternalRef

func (ConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) InternalTokens

func (ConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) InternalWithRef

type ConfigMasterAuthorizedNetworksConfigCidrBlocksState

type ConfigMasterAuthorizedNetworksConfigCidrBlocksState struct {
	CidrBlock   string `json:"cidr_block"`
	DisplayName string `json:"display_name"`
}

type ConfigMasterAuthorizedNetworksConfigState

type ConfigMasterAuthorizedNetworksConfigState struct {
	Enabled    bool                                                  `json:"enabled"`
	CidrBlocks []ConfigMasterAuthorizedNetworksConfigCidrBlocksState `json:"cidr_blocks"`
}

type ConfigNodeConfig

type ConfigNodeConfig struct {
	// DiskSizeGb: number, optional
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"`
	// EnableIpMasqAgent: bool, optional
	EnableIpMasqAgent terra.BoolValue `hcl:"enable_ip_masq_agent,attr"`
	// MachineType: string, optional
	MachineType terra.StringValue `hcl:"machine_type,attr"`
	// Network: string, optional
	Network terra.StringValue `hcl:"network,attr"`
	// OauthScopes: set of string, optional
	OauthScopes terra.SetValue[terra.StringValue] `hcl:"oauth_scopes,attr"`
	// ServiceAccount: string, optional
	ServiceAccount terra.StringValue `hcl:"service_account,attr"`
	// Subnetwork: string, optional
	Subnetwork terra.StringValue `hcl:"subnetwork,attr"`
	// Tags: set of string, optional
	Tags terra.SetValue[terra.StringValue] `hcl:"tags,attr"`
	// Zone: string, optional
	Zone terra.StringValue `hcl:"zone,attr"`
	// ConfigNodeConfigIpAllocationPolicy: min=0
	IpAllocationPolicy []ConfigNodeConfigIpAllocationPolicy `hcl:"ip_allocation_policy,block" validate:"min=0"`
}

type ConfigNodeConfigAttributes

type ConfigNodeConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigNodeConfigAttributes) DiskSizeGb

func (ConfigNodeConfigAttributes) EnableIpMasqAgent

func (nc ConfigNodeConfigAttributes) EnableIpMasqAgent() terra.BoolValue

func (ConfigNodeConfigAttributes) InternalRef

func (nc ConfigNodeConfigAttributes) InternalRef() (terra.Reference, error)

func (ConfigNodeConfigAttributes) InternalTokens

func (nc ConfigNodeConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigNodeConfigAttributes) InternalWithRef

func (ConfigNodeConfigAttributes) IpAllocationPolicy

func (ConfigNodeConfigAttributes) MachineType

func (nc ConfigNodeConfigAttributes) MachineType() terra.StringValue

func (ConfigNodeConfigAttributes) Network

func (ConfigNodeConfigAttributes) OauthScopes

func (ConfigNodeConfigAttributes) ServiceAccount

func (nc ConfigNodeConfigAttributes) ServiceAccount() terra.StringValue

func (ConfigNodeConfigAttributes) Subnetwork

func (ConfigNodeConfigAttributes) Tags

func (ConfigNodeConfigAttributes) Zone

type ConfigNodeConfigIpAllocationPolicy

type ConfigNodeConfigIpAllocationPolicy struct {
	// ClusterIpv4CidrBlock: string, optional
	ClusterIpv4CidrBlock terra.StringValue `hcl:"cluster_ipv4_cidr_block,attr"`
	// ClusterSecondaryRangeName: string, optional
	ClusterSecondaryRangeName terra.StringValue `hcl:"cluster_secondary_range_name,attr"`
	// ServicesIpv4CidrBlock: string, optional
	ServicesIpv4CidrBlock terra.StringValue `hcl:"services_ipv4_cidr_block,attr"`
	// ServicesSecondaryRangeName: string, optional
	ServicesSecondaryRangeName terra.StringValue `hcl:"services_secondary_range_name,attr"`
	// UseIpAliases: bool, optional
	UseIpAliases terra.BoolValue `hcl:"use_ip_aliases,attr"`
}

type ConfigNodeConfigIpAllocationPolicyAttributes

type ConfigNodeConfigIpAllocationPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigNodeConfigIpAllocationPolicyAttributes) ClusterIpv4CidrBlock

func (ConfigNodeConfigIpAllocationPolicyAttributes) ClusterSecondaryRangeName

func (iap ConfigNodeConfigIpAllocationPolicyAttributes) ClusterSecondaryRangeName() terra.StringValue

func (ConfigNodeConfigIpAllocationPolicyAttributes) InternalRef

func (ConfigNodeConfigIpAllocationPolicyAttributes) InternalTokens

func (ConfigNodeConfigIpAllocationPolicyAttributes) InternalWithRef

func (ConfigNodeConfigIpAllocationPolicyAttributes) ServicesIpv4CidrBlock

func (ConfigNodeConfigIpAllocationPolicyAttributes) ServicesSecondaryRangeName

func (iap ConfigNodeConfigIpAllocationPolicyAttributes) ServicesSecondaryRangeName() terra.StringValue

func (ConfigNodeConfigIpAllocationPolicyAttributes) UseIpAliases

type ConfigNodeConfigIpAllocationPolicyState

type ConfigNodeConfigIpAllocationPolicyState struct {
	ClusterIpv4CidrBlock       string `json:"cluster_ipv4_cidr_block"`
	ClusterSecondaryRangeName  string `json:"cluster_secondary_range_name"`
	ServicesIpv4CidrBlock      string `json:"services_ipv4_cidr_block"`
	ServicesSecondaryRangeName string `json:"services_secondary_range_name"`
	UseIpAliases               bool   `json:"use_ip_aliases"`
}

type ConfigNodeConfigState

type ConfigNodeConfigState struct {
	DiskSizeGb         float64                                   `json:"disk_size_gb"`
	EnableIpMasqAgent  bool                                      `json:"enable_ip_masq_agent"`
	MachineType        string                                    `json:"machine_type"`
	Network            string                                    `json:"network"`
	OauthScopes        []string                                  `json:"oauth_scopes"`
	ServiceAccount     string                                    `json:"service_account"`
	Subnetwork         string                                    `json:"subnetwork"`
	Tags               []string                                  `json:"tags"`
	Zone               string                                    `json:"zone"`
	IpAllocationPolicy []ConfigNodeConfigIpAllocationPolicyState `json:"ip_allocation_policy"`
}

type ConfigPrivateEnvironmentConfig

type ConfigPrivateEnvironmentConfig struct {
	// CloudComposerConnectionSubnetwork: string, optional
	CloudComposerConnectionSubnetwork terra.StringValue `hcl:"cloud_composer_connection_subnetwork,attr"`
	// CloudComposerNetworkIpv4CidrBlock: string, optional
	CloudComposerNetworkIpv4CidrBlock terra.StringValue `hcl:"cloud_composer_network_ipv4_cidr_block,attr"`
	// CloudSqlIpv4CidrBlock: string, optional
	CloudSqlIpv4CidrBlock terra.StringValue `hcl:"cloud_sql_ipv4_cidr_block,attr"`
	// ConnectionType: string, optional
	ConnectionType terra.StringValue `hcl:"connection_type,attr"`
	// EnablePrivateEndpoint: bool, optional
	EnablePrivateEndpoint terra.BoolValue `hcl:"enable_private_endpoint,attr"`
	// EnablePrivatelyUsedPublicIps: bool, optional
	EnablePrivatelyUsedPublicIps terra.BoolValue `hcl:"enable_privately_used_public_ips,attr"`
	// MasterIpv4CidrBlock: string, optional
	MasterIpv4CidrBlock terra.StringValue `hcl:"master_ipv4_cidr_block,attr"`
	// WebServerIpv4CidrBlock: string, optional
	WebServerIpv4CidrBlock terra.StringValue `hcl:"web_server_ipv4_cidr_block,attr"`
}

type ConfigPrivateEnvironmentConfigAttributes

type ConfigPrivateEnvironmentConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigPrivateEnvironmentConfigAttributes) CloudComposerConnectionSubnetwork

func (pec ConfigPrivateEnvironmentConfigAttributes) CloudComposerConnectionSubnetwork() terra.StringValue

func (ConfigPrivateEnvironmentConfigAttributes) CloudComposerNetworkIpv4CidrBlock

func (pec ConfigPrivateEnvironmentConfigAttributes) CloudComposerNetworkIpv4CidrBlock() terra.StringValue

func (ConfigPrivateEnvironmentConfigAttributes) CloudSqlIpv4CidrBlock

func (pec ConfigPrivateEnvironmentConfigAttributes) CloudSqlIpv4CidrBlock() terra.StringValue

func (ConfigPrivateEnvironmentConfigAttributes) ConnectionType

func (ConfigPrivateEnvironmentConfigAttributes) EnablePrivateEndpoint

func (pec ConfigPrivateEnvironmentConfigAttributes) EnablePrivateEndpoint() terra.BoolValue

func (ConfigPrivateEnvironmentConfigAttributes) EnablePrivatelyUsedPublicIps

func (pec ConfigPrivateEnvironmentConfigAttributes) EnablePrivatelyUsedPublicIps() terra.BoolValue

func (ConfigPrivateEnvironmentConfigAttributes) InternalRef

func (ConfigPrivateEnvironmentConfigAttributes) InternalTokens

func (ConfigPrivateEnvironmentConfigAttributes) InternalWithRef

func (ConfigPrivateEnvironmentConfigAttributes) MasterIpv4CidrBlock

func (ConfigPrivateEnvironmentConfigAttributes) WebServerIpv4CidrBlock

func (pec ConfigPrivateEnvironmentConfigAttributes) WebServerIpv4CidrBlock() terra.StringValue

type ConfigPrivateEnvironmentConfigState

type ConfigPrivateEnvironmentConfigState struct {
	CloudComposerConnectionSubnetwork string `json:"cloud_composer_connection_subnetwork"`
	CloudComposerNetworkIpv4CidrBlock string `json:"cloud_composer_network_ipv4_cidr_block"`
	CloudSqlIpv4CidrBlock             string `json:"cloud_sql_ipv4_cidr_block"`
	ConnectionType                    string `json:"connection_type"`
	EnablePrivateEndpoint             bool   `json:"enable_private_endpoint"`
	EnablePrivatelyUsedPublicIps      bool   `json:"enable_privately_used_public_ips"`
	MasterIpv4CidrBlock               string `json:"master_ipv4_cidr_block"`
	WebServerIpv4CidrBlock            string `json:"web_server_ipv4_cidr_block"`
}

type ConfigRecoveryConfig

type ConfigRecoveryConfig struct {
	// ConfigRecoveryConfigScheduledSnapshotsConfig: optional
	ScheduledSnapshotsConfig *ConfigRecoveryConfigScheduledSnapshotsConfig `hcl:"scheduled_snapshots_config,block"`
}

type ConfigRecoveryConfigAttributes

type ConfigRecoveryConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigRecoveryConfigAttributes) InternalRef

func (ConfigRecoveryConfigAttributes) InternalTokens

func (rc ConfigRecoveryConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigRecoveryConfigAttributes) InternalWithRef

func (ConfigRecoveryConfigAttributes) ScheduledSnapshotsConfig

type ConfigRecoveryConfigScheduledSnapshotsConfig

type ConfigRecoveryConfigScheduledSnapshotsConfig struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// SnapshotCreationSchedule: string, optional
	SnapshotCreationSchedule terra.StringValue `hcl:"snapshot_creation_schedule,attr"`
	// SnapshotLocation: string, optional
	SnapshotLocation terra.StringValue `hcl:"snapshot_location,attr"`
	// TimeZone: string, optional
	TimeZone terra.StringValue `hcl:"time_zone,attr"`
}

type ConfigRecoveryConfigScheduledSnapshotsConfigAttributes

type ConfigRecoveryConfigScheduledSnapshotsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigRecoveryConfigScheduledSnapshotsConfigAttributes) Enabled

func (ConfigRecoveryConfigScheduledSnapshotsConfigAttributes) InternalRef

func (ConfigRecoveryConfigScheduledSnapshotsConfigAttributes) InternalTokens

func (ConfigRecoveryConfigScheduledSnapshotsConfigAttributes) InternalWithRef

func (ConfigRecoveryConfigScheduledSnapshotsConfigAttributes) SnapshotCreationSchedule

func (ConfigRecoveryConfigScheduledSnapshotsConfigAttributes) SnapshotLocation

func (ConfigRecoveryConfigScheduledSnapshotsConfigAttributes) TimeZone

type ConfigRecoveryConfigScheduledSnapshotsConfigState

type ConfigRecoveryConfigScheduledSnapshotsConfigState struct {
	Enabled                  bool   `json:"enabled"`
	SnapshotCreationSchedule string `json:"snapshot_creation_schedule"`
	SnapshotLocation         string `json:"snapshot_location"`
	TimeZone                 string `json:"time_zone"`
}

type ConfigRecoveryConfigState

type ConfigRecoveryConfigState struct {
	ScheduledSnapshotsConfig []ConfigRecoveryConfigScheduledSnapshotsConfigState `json:"scheduled_snapshots_config"`
}

type ConfigSoftwareConfig

type ConfigSoftwareConfig struct {
	// AirflowConfigOverrides: map of string, optional
	AirflowConfigOverrides terra.MapValue[terra.StringValue] `hcl:"airflow_config_overrides,attr"`
	// EnvVariables: map of string, optional
	EnvVariables terra.MapValue[terra.StringValue] `hcl:"env_variables,attr"`
	// ImageVersion: string, optional
	ImageVersion terra.StringValue `hcl:"image_version,attr"`
	// PypiPackages: map of string, optional
	PypiPackages terra.MapValue[terra.StringValue] `hcl:"pypi_packages,attr"`
	// PythonVersion: string, optional
	PythonVersion terra.StringValue `hcl:"python_version,attr"`
	// SchedulerCount: number, optional
	SchedulerCount terra.NumberValue `hcl:"scheduler_count,attr"`
}

type ConfigSoftwareConfigAttributes

type ConfigSoftwareConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigSoftwareConfigAttributes) AirflowConfigOverrides

func (sc ConfigSoftwareConfigAttributes) AirflowConfigOverrides() terra.MapValue[terra.StringValue]

func (ConfigSoftwareConfigAttributes) EnvVariables

func (ConfigSoftwareConfigAttributes) ImageVersion

func (ConfigSoftwareConfigAttributes) InternalRef

func (ConfigSoftwareConfigAttributes) InternalTokens

func (sc ConfigSoftwareConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigSoftwareConfigAttributes) InternalWithRef

func (ConfigSoftwareConfigAttributes) PypiPackages

func (ConfigSoftwareConfigAttributes) PythonVersion

func (ConfigSoftwareConfigAttributes) SchedulerCount

func (sc ConfigSoftwareConfigAttributes) SchedulerCount() terra.NumberValue

type ConfigSoftwareConfigState

type ConfigSoftwareConfigState struct {
	AirflowConfigOverrides map[string]string `json:"airflow_config_overrides"`
	EnvVariables           map[string]string `json:"env_variables"`
	ImageVersion           string            `json:"image_version"`
	PypiPackages           map[string]string `json:"pypi_packages"`
	PythonVersion          string            `json:"python_version"`
	SchedulerCount         float64           `json:"scheduler_count"`
}

type ConfigState

type ConfigState struct {
	AirflowUri                     string                                      `json:"airflow_uri"`
	DagGcsPrefix                   string                                      `json:"dag_gcs_prefix"`
	EnvironmentSize                string                                      `json:"environment_size"`
	GkeCluster                     string                                      `json:"gke_cluster"`
	NodeCount                      float64                                     `json:"node_count"`
	ResilienceMode                 string                                      `json:"resilience_mode"`
	DataRetentionConfig            []ConfigDataRetentionConfigState            `json:"data_retention_config"`
	DatabaseConfig                 []ConfigDatabaseConfigState                 `json:"database_config"`
	EncryptionConfig               []ConfigEncryptionConfigState               `json:"encryption_config"`
	MaintenanceWindow              []ConfigMaintenanceWindowState              `json:"maintenance_window"`
	MasterAuthorizedNetworksConfig []ConfigMasterAuthorizedNetworksConfigState `json:"master_authorized_networks_config"`
	NodeConfig                     []ConfigNodeConfigState                     `json:"node_config"`
	PrivateEnvironmentConfig       []ConfigPrivateEnvironmentConfigState       `json:"private_environment_config"`
	RecoveryConfig                 []ConfigRecoveryConfigState                 `json:"recovery_config"`
	SoftwareConfig                 []ConfigSoftwareConfigState                 `json:"software_config"`
	WebServerConfig                []ConfigWebServerConfigState                `json:"web_server_config"`
	WebServerNetworkAccessControl  []ConfigWebServerNetworkAccessControlState  `json:"web_server_network_access_control"`
	WorkloadsConfig                []ConfigWorkloadsConfigState                `json:"workloads_config"`
}

type ConfigWebServerConfig

type ConfigWebServerConfig struct {
	// MachineType: string, required
	MachineType terra.StringValue `hcl:"machine_type,attr" validate:"required"`
}

type ConfigWebServerConfigAttributes

type ConfigWebServerConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWebServerConfigAttributes) InternalRef

func (ConfigWebServerConfigAttributes) InternalTokens

func (wsc ConfigWebServerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigWebServerConfigAttributes) InternalWithRef

func (ConfigWebServerConfigAttributes) MachineType

type ConfigWebServerConfigState

type ConfigWebServerConfigState struct {
	MachineType string `json:"machine_type"`
}

type ConfigWebServerNetworkAccessControl

type ConfigWebServerNetworkAccessControl struct {
	// ConfigWebServerNetworkAccessControlAllowedIpRange: min=0
	AllowedIpRange []ConfigWebServerNetworkAccessControlAllowedIpRange `hcl:"allowed_ip_range,block" validate:"min=0"`
}

type ConfigWebServerNetworkAccessControlAllowedIpRange

type ConfigWebServerNetworkAccessControlAllowedIpRange struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ConfigWebServerNetworkAccessControlAllowedIpRangeAttributes

type ConfigWebServerNetworkAccessControlAllowedIpRangeAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) Description

func (ConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) InternalRef

func (ConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) InternalTokens

func (ConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) InternalWithRef

func (ConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) Value

type ConfigWebServerNetworkAccessControlAllowedIpRangeState

type ConfigWebServerNetworkAccessControlAllowedIpRangeState struct {
	Description string `json:"description"`
	Value       string `json:"value"`
}

type ConfigWebServerNetworkAccessControlAttributes

type ConfigWebServerNetworkAccessControlAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWebServerNetworkAccessControlAttributes) AllowedIpRange

func (ConfigWebServerNetworkAccessControlAttributes) InternalRef

func (ConfigWebServerNetworkAccessControlAttributes) InternalTokens

func (ConfigWebServerNetworkAccessControlAttributes) InternalWithRef

type ConfigWebServerNetworkAccessControlState

type ConfigWebServerNetworkAccessControlState struct {
	AllowedIpRange []ConfigWebServerNetworkAccessControlAllowedIpRangeState `json:"allowed_ip_range"`
}

type ConfigWorkloadsConfig

type ConfigWorkloadsConfig struct {
	// ConfigWorkloadsConfigScheduler: optional
	Scheduler *ConfigWorkloadsConfigScheduler `hcl:"scheduler,block"`
	// ConfigWorkloadsConfigTriggerer: optional
	Triggerer *ConfigWorkloadsConfigTriggerer `hcl:"triggerer,block"`
	// ConfigWorkloadsConfigWebServer: optional
	WebServer *ConfigWorkloadsConfigWebServer `hcl:"web_server,block"`
	// ConfigWorkloadsConfigWorker: optional
	Worker *ConfigWorkloadsConfigWorker `hcl:"worker,block"`
}

type ConfigWorkloadsConfigAttributes

type ConfigWorkloadsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWorkloadsConfigAttributes) InternalRef

func (ConfigWorkloadsConfigAttributes) InternalTokens

func (wc ConfigWorkloadsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigWorkloadsConfigAttributes) InternalWithRef

func (ConfigWorkloadsConfigAttributes) Scheduler

func (ConfigWorkloadsConfigAttributes) Triggerer

func (ConfigWorkloadsConfigAttributes) WebServer

func (ConfigWorkloadsConfigAttributes) Worker

type ConfigWorkloadsConfigScheduler

type ConfigWorkloadsConfigScheduler struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
	// Cpu: number, optional
	Cpu terra.NumberValue `hcl:"cpu,attr"`
	// MemoryGb: number, optional
	MemoryGb terra.NumberValue `hcl:"memory_gb,attr"`
	// StorageGb: number, optional
	StorageGb terra.NumberValue `hcl:"storage_gb,attr"`
}

type ConfigWorkloadsConfigSchedulerAttributes

type ConfigWorkloadsConfigSchedulerAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWorkloadsConfigSchedulerAttributes) Count

func (ConfigWorkloadsConfigSchedulerAttributes) Cpu

func (ConfigWorkloadsConfigSchedulerAttributes) InternalRef

func (ConfigWorkloadsConfigSchedulerAttributes) InternalTokens

func (ConfigWorkloadsConfigSchedulerAttributes) InternalWithRef

func (ConfigWorkloadsConfigSchedulerAttributes) MemoryGb

func (ConfigWorkloadsConfigSchedulerAttributes) StorageGb

type ConfigWorkloadsConfigSchedulerState

type ConfigWorkloadsConfigSchedulerState struct {
	Count     float64 `json:"count"`
	Cpu       float64 `json:"cpu"`
	MemoryGb  float64 `json:"memory_gb"`
	StorageGb float64 `json:"storage_gb"`
}

type ConfigWorkloadsConfigState

type ConfigWorkloadsConfigState struct {
	Scheduler []ConfigWorkloadsConfigSchedulerState `json:"scheduler"`
	Triggerer []ConfigWorkloadsConfigTriggererState `json:"triggerer"`
	WebServer []ConfigWorkloadsConfigWebServerState `json:"web_server"`
	Worker    []ConfigWorkloadsConfigWorkerState    `json:"worker"`
}

type ConfigWorkloadsConfigTriggerer

type ConfigWorkloadsConfigTriggerer struct {
	// Count: number, required
	Count terra.NumberValue `hcl:"count,attr" validate:"required"`
	// Cpu: number, required
	Cpu terra.NumberValue `hcl:"cpu,attr" validate:"required"`
	// MemoryGb: number, required
	MemoryGb terra.NumberValue `hcl:"memory_gb,attr" validate:"required"`
}

type ConfigWorkloadsConfigTriggererAttributes

type ConfigWorkloadsConfigTriggererAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWorkloadsConfigTriggererAttributes) Count

func (ConfigWorkloadsConfigTriggererAttributes) Cpu

func (ConfigWorkloadsConfigTriggererAttributes) InternalRef

func (ConfigWorkloadsConfigTriggererAttributes) InternalTokens

func (ConfigWorkloadsConfigTriggererAttributes) InternalWithRef

func (ConfigWorkloadsConfigTriggererAttributes) MemoryGb

type ConfigWorkloadsConfigTriggererState

type ConfigWorkloadsConfigTriggererState struct {
	Count    float64 `json:"count"`
	Cpu      float64 `json:"cpu"`
	MemoryGb float64 `json:"memory_gb"`
}

type ConfigWorkloadsConfigWebServer

type ConfigWorkloadsConfigWebServer struct {
	// Cpu: number, optional
	Cpu terra.NumberValue `hcl:"cpu,attr"`
	// MemoryGb: number, optional
	MemoryGb terra.NumberValue `hcl:"memory_gb,attr"`
	// StorageGb: number, optional
	StorageGb terra.NumberValue `hcl:"storage_gb,attr"`
}

type ConfigWorkloadsConfigWebServerAttributes

type ConfigWorkloadsConfigWebServerAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWorkloadsConfigWebServerAttributes) Cpu

func (ConfigWorkloadsConfigWebServerAttributes) InternalRef

func (ConfigWorkloadsConfigWebServerAttributes) InternalTokens

func (ConfigWorkloadsConfigWebServerAttributes) InternalWithRef

func (ConfigWorkloadsConfigWebServerAttributes) MemoryGb

func (ConfigWorkloadsConfigWebServerAttributes) StorageGb

type ConfigWorkloadsConfigWebServerState

type ConfigWorkloadsConfigWebServerState struct {
	Cpu       float64 `json:"cpu"`
	MemoryGb  float64 `json:"memory_gb"`
	StorageGb float64 `json:"storage_gb"`
}

type ConfigWorkloadsConfigWorker

type ConfigWorkloadsConfigWorker struct {
	// Cpu: number, optional
	Cpu terra.NumberValue `hcl:"cpu,attr"`
	// MaxCount: number, optional
	MaxCount terra.NumberValue `hcl:"max_count,attr"`
	// MemoryGb: number, optional
	MemoryGb terra.NumberValue `hcl:"memory_gb,attr"`
	// MinCount: number, optional
	MinCount terra.NumberValue `hcl:"min_count,attr"`
	// StorageGb: number, optional
	StorageGb terra.NumberValue `hcl:"storage_gb,attr"`
}

type ConfigWorkloadsConfigWorkerAttributes

type ConfigWorkloadsConfigWorkerAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigWorkloadsConfigWorkerAttributes) Cpu

func (ConfigWorkloadsConfigWorkerAttributes) InternalRef

func (ConfigWorkloadsConfigWorkerAttributes) InternalTokens

func (ConfigWorkloadsConfigWorkerAttributes) InternalWithRef

func (ConfigWorkloadsConfigWorkerAttributes) MaxCount

func (ConfigWorkloadsConfigWorkerAttributes) MemoryGb

func (ConfigWorkloadsConfigWorkerAttributes) MinCount

func (ConfigWorkloadsConfigWorkerAttributes) StorageGb

type ConfigWorkloadsConfigWorkerState

type ConfigWorkloadsConfigWorkerState struct {
	Cpu       float64 `json:"cpu"`
	MaxCount  float64 `json:"max_count"`
	MemoryGb  float64 `json:"memory_gb"`
	MinCount  float64 `json:"min_count"`
	StorageGb float64 `json:"storage_gb"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
}

DataArgs contains the configurations for google_composer_environment.

type DataConfigAttributes

type DataConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigAttributes) AirflowUri

func (c DataConfigAttributes) AirflowUri() terra.StringValue

func (DataConfigAttributes) DagGcsPrefix

func (c DataConfigAttributes) DagGcsPrefix() terra.StringValue

func (DataConfigAttributes) DataRetentionConfig

func (DataConfigAttributes) DatabaseConfig

func (DataConfigAttributes) EncryptionConfig

func (DataConfigAttributes) EnvironmentSize

func (c DataConfigAttributes) EnvironmentSize() terra.StringValue

func (DataConfigAttributes) GkeCluster

func (c DataConfigAttributes) GkeCluster() terra.StringValue

func (DataConfigAttributes) InternalRef

func (c DataConfigAttributes) InternalRef() (terra.Reference, error)

func (DataConfigAttributes) InternalTokens

func (c DataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataConfigAttributes) InternalWithRef

func (DataConfigAttributes) MaintenanceWindow

func (DataConfigAttributes) MasterAuthorizedNetworksConfig

func (DataConfigAttributes) NodeConfig

func (DataConfigAttributes) NodeCount

func (c DataConfigAttributes) NodeCount() terra.NumberValue

func (DataConfigAttributes) PrivateEnvironmentConfig

func (DataConfigAttributes) RecoveryConfig

func (DataConfigAttributes) ResilienceMode

func (c DataConfigAttributes) ResilienceMode() terra.StringValue

func (DataConfigAttributes) SoftwareConfig

func (DataConfigAttributes) WebServerConfig

func (DataConfigAttributes) WebServerNetworkAccessControl

func (DataConfigAttributes) WorkloadsConfig

type DataConfigDataRetentionConfigAttributes

type DataConfigDataRetentionConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigDataRetentionConfigAttributes) InternalRef

func (DataConfigDataRetentionConfigAttributes) InternalTokens

func (DataConfigDataRetentionConfigAttributes) InternalWithRef

type DataConfigDataRetentionConfigState

type DataConfigDataRetentionConfigState struct {
	TaskLogsRetentionConfig []DataConfigDataRetentionConfigTaskLogsRetentionConfigState `json:"task_logs_retention_config"`
}

type DataConfigDataRetentionConfigTaskLogsRetentionConfigAttributes

type DataConfigDataRetentionConfigTaskLogsRetentionConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) InternalRef

func (DataConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) InternalTokens

func (DataConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) InternalWithRef

func (DataConfigDataRetentionConfigTaskLogsRetentionConfigAttributes) StorageMode

type DataConfigDataRetentionConfigTaskLogsRetentionConfigState

type DataConfigDataRetentionConfigTaskLogsRetentionConfigState struct {
	StorageMode string `json:"storage_mode"`
}

type DataConfigDatabaseConfigAttributes

type DataConfigDatabaseConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigDatabaseConfigAttributes) InternalRef

func (DataConfigDatabaseConfigAttributes) InternalTokens

func (DataConfigDatabaseConfigAttributes) InternalWithRef

func (DataConfigDatabaseConfigAttributes) MachineType

func (DataConfigDatabaseConfigAttributes) Zone

type DataConfigDatabaseConfigState

type DataConfigDatabaseConfigState struct {
	MachineType string `json:"machine_type"`
	Zone        string `json:"zone"`
}

type DataConfigEncryptionConfigAttributes

type DataConfigEncryptionConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigEncryptionConfigAttributes) InternalRef

func (DataConfigEncryptionConfigAttributes) InternalTokens

func (DataConfigEncryptionConfigAttributes) InternalWithRef

func (DataConfigEncryptionConfigAttributes) KmsKeyName

type DataConfigEncryptionConfigState

type DataConfigEncryptionConfigState struct {
	KmsKeyName string `json:"kms_key_name"`
}

type DataConfigMaintenanceWindowAttributes

type DataConfigMaintenanceWindowAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigMaintenanceWindowAttributes) EndTime

func (DataConfigMaintenanceWindowAttributes) InternalRef

func (DataConfigMaintenanceWindowAttributes) InternalTokens

func (DataConfigMaintenanceWindowAttributes) InternalWithRef

func (DataConfigMaintenanceWindowAttributes) Recurrence

func (DataConfigMaintenanceWindowAttributes) StartTime

type DataConfigMaintenanceWindowState

type DataConfigMaintenanceWindowState struct {
	EndTime    string `json:"end_time"`
	Recurrence string `json:"recurrence"`
	StartTime  string `json:"start_time"`
}

type DataConfigMasterAuthorizedNetworksConfigAttributes

type DataConfigMasterAuthorizedNetworksConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigMasterAuthorizedNetworksConfigAttributes) CidrBlocks

func (DataConfigMasterAuthorizedNetworksConfigAttributes) Enabled

func (DataConfigMasterAuthorizedNetworksConfigAttributes) InternalRef

func (DataConfigMasterAuthorizedNetworksConfigAttributes) InternalTokens

func (DataConfigMasterAuthorizedNetworksConfigAttributes) InternalWithRef

type DataConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes

type DataConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) CidrBlock

func (DataConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) DisplayName

func (DataConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) InternalRef

func (DataConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) InternalTokens

func (DataConfigMasterAuthorizedNetworksConfigCidrBlocksAttributes) InternalWithRef

type DataConfigMasterAuthorizedNetworksConfigCidrBlocksState

type DataConfigMasterAuthorizedNetworksConfigCidrBlocksState struct {
	CidrBlock   string `json:"cidr_block"`
	DisplayName string `json:"display_name"`
}

type DataConfigMasterAuthorizedNetworksConfigState

type DataConfigMasterAuthorizedNetworksConfigState struct {
	Enabled    bool                                                      `json:"enabled"`
	CidrBlocks []DataConfigMasterAuthorizedNetworksConfigCidrBlocksState `json:"cidr_blocks"`
}

type DataConfigNodeConfigAttributes

type DataConfigNodeConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigNodeConfigAttributes) DiskSizeGb

func (DataConfigNodeConfigAttributes) EnableIpMasqAgent

func (nc DataConfigNodeConfigAttributes) EnableIpMasqAgent() terra.BoolValue

func (DataConfigNodeConfigAttributes) InternalRef

func (DataConfigNodeConfigAttributes) InternalTokens

func (nc DataConfigNodeConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataConfigNodeConfigAttributes) InternalWithRef

func (DataConfigNodeConfigAttributes) IpAllocationPolicy

func (DataConfigNodeConfigAttributes) MachineType

func (DataConfigNodeConfigAttributes) Network

func (DataConfigNodeConfigAttributes) OauthScopes

func (DataConfigNodeConfigAttributes) ServiceAccount

func (nc DataConfigNodeConfigAttributes) ServiceAccount() terra.StringValue

func (DataConfigNodeConfigAttributes) Subnetwork

func (DataConfigNodeConfigAttributes) Tags

func (DataConfigNodeConfigAttributes) Zone

type DataConfigNodeConfigIpAllocationPolicyAttributes

type DataConfigNodeConfigIpAllocationPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigNodeConfigIpAllocationPolicyAttributes) ClusterIpv4CidrBlock

func (DataConfigNodeConfigIpAllocationPolicyAttributes) ClusterSecondaryRangeName

func (iap DataConfigNodeConfigIpAllocationPolicyAttributes) ClusterSecondaryRangeName() terra.StringValue

func (DataConfigNodeConfigIpAllocationPolicyAttributes) InternalRef

func (DataConfigNodeConfigIpAllocationPolicyAttributes) InternalTokens

func (DataConfigNodeConfigIpAllocationPolicyAttributes) InternalWithRef

func (DataConfigNodeConfigIpAllocationPolicyAttributes) ServicesIpv4CidrBlock

func (DataConfigNodeConfigIpAllocationPolicyAttributes) ServicesSecondaryRangeName

func (iap DataConfigNodeConfigIpAllocationPolicyAttributes) ServicesSecondaryRangeName() terra.StringValue

func (DataConfigNodeConfigIpAllocationPolicyAttributes) UseIpAliases

type DataConfigNodeConfigIpAllocationPolicyState

type DataConfigNodeConfigIpAllocationPolicyState struct {
	ClusterIpv4CidrBlock       string `json:"cluster_ipv4_cidr_block"`
	ClusterSecondaryRangeName  string `json:"cluster_secondary_range_name"`
	ServicesIpv4CidrBlock      string `json:"services_ipv4_cidr_block"`
	ServicesSecondaryRangeName string `json:"services_secondary_range_name"`
	UseIpAliases               bool   `json:"use_ip_aliases"`
}

type DataConfigNodeConfigState

type DataConfigNodeConfigState struct {
	DiskSizeGb         float64                                       `json:"disk_size_gb"`
	EnableIpMasqAgent  bool                                          `json:"enable_ip_masq_agent"`
	MachineType        string                                        `json:"machine_type"`
	Network            string                                        `json:"network"`
	OauthScopes        []string                                      `json:"oauth_scopes"`
	ServiceAccount     string                                        `json:"service_account"`
	Subnetwork         string                                        `json:"subnetwork"`
	Tags               []string                                      `json:"tags"`
	Zone               string                                        `json:"zone"`
	IpAllocationPolicy []DataConfigNodeConfigIpAllocationPolicyState `json:"ip_allocation_policy"`
}

type DataConfigPrivateEnvironmentConfigAttributes

type DataConfigPrivateEnvironmentConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigPrivateEnvironmentConfigAttributes) CloudComposerConnectionSubnetwork

func (pec DataConfigPrivateEnvironmentConfigAttributes) CloudComposerConnectionSubnetwork() terra.StringValue

func (DataConfigPrivateEnvironmentConfigAttributes) CloudComposerNetworkIpv4CidrBlock

func (pec DataConfigPrivateEnvironmentConfigAttributes) CloudComposerNetworkIpv4CidrBlock() terra.StringValue

func (DataConfigPrivateEnvironmentConfigAttributes) CloudSqlIpv4CidrBlock

func (DataConfigPrivateEnvironmentConfigAttributes) ConnectionType

func (DataConfigPrivateEnvironmentConfigAttributes) EnablePrivateEndpoint

func (pec DataConfigPrivateEnvironmentConfigAttributes) EnablePrivateEndpoint() terra.BoolValue

func (DataConfigPrivateEnvironmentConfigAttributes) EnablePrivatelyUsedPublicIps

func (pec DataConfigPrivateEnvironmentConfigAttributes) EnablePrivatelyUsedPublicIps() terra.BoolValue

func (DataConfigPrivateEnvironmentConfigAttributes) InternalRef

func (DataConfigPrivateEnvironmentConfigAttributes) InternalTokens

func (DataConfigPrivateEnvironmentConfigAttributes) InternalWithRef

func (DataConfigPrivateEnvironmentConfigAttributes) MasterIpv4CidrBlock

func (DataConfigPrivateEnvironmentConfigAttributes) WebServerIpv4CidrBlock

func (pec DataConfigPrivateEnvironmentConfigAttributes) WebServerIpv4CidrBlock() terra.StringValue

type DataConfigPrivateEnvironmentConfigState

type DataConfigPrivateEnvironmentConfigState struct {
	CloudComposerConnectionSubnetwork string `json:"cloud_composer_connection_subnetwork"`
	CloudComposerNetworkIpv4CidrBlock string `json:"cloud_composer_network_ipv4_cidr_block"`
	CloudSqlIpv4CidrBlock             string `json:"cloud_sql_ipv4_cidr_block"`
	ConnectionType                    string `json:"connection_type"`
	EnablePrivateEndpoint             bool   `json:"enable_private_endpoint"`
	EnablePrivatelyUsedPublicIps      bool   `json:"enable_privately_used_public_ips"`
	MasterIpv4CidrBlock               string `json:"master_ipv4_cidr_block"`
	WebServerIpv4CidrBlock            string `json:"web_server_ipv4_cidr_block"`
}

type DataConfigRecoveryConfigAttributes

type DataConfigRecoveryConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigRecoveryConfigAttributes) InternalRef

func (DataConfigRecoveryConfigAttributes) InternalTokens

func (DataConfigRecoveryConfigAttributes) InternalWithRef

type DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes

type DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes) Enabled

func (DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes) InternalRef

func (DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes) InternalTokens

func (DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes) InternalWithRef

func (DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes) SnapshotCreationSchedule

func (DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes) SnapshotLocation

func (DataConfigRecoveryConfigScheduledSnapshotsConfigAttributes) TimeZone

type DataConfigRecoveryConfigScheduledSnapshotsConfigState

type DataConfigRecoveryConfigScheduledSnapshotsConfigState struct {
	Enabled                  bool   `json:"enabled"`
	SnapshotCreationSchedule string `json:"snapshot_creation_schedule"`
	SnapshotLocation         string `json:"snapshot_location"`
	TimeZone                 string `json:"time_zone"`
}

type DataConfigRecoveryConfigState

type DataConfigRecoveryConfigState struct {
	ScheduledSnapshotsConfig []DataConfigRecoveryConfigScheduledSnapshotsConfigState `json:"scheduled_snapshots_config"`
}

type DataConfigSoftwareConfigAttributes

type DataConfigSoftwareConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigSoftwareConfigAttributes) AirflowConfigOverrides

func (sc DataConfigSoftwareConfigAttributes) AirflowConfigOverrides() terra.MapValue[terra.StringValue]

func (DataConfigSoftwareConfigAttributes) EnvVariables

func (DataConfigSoftwareConfigAttributes) ImageVersion

func (DataConfigSoftwareConfigAttributes) InternalRef

func (DataConfigSoftwareConfigAttributes) InternalTokens

func (DataConfigSoftwareConfigAttributes) InternalWithRef

func (DataConfigSoftwareConfigAttributes) PypiPackages

func (DataConfigSoftwareConfigAttributes) PythonVersion

func (DataConfigSoftwareConfigAttributes) SchedulerCount

type DataConfigSoftwareConfigState

type DataConfigSoftwareConfigState struct {
	AirflowConfigOverrides map[string]string `json:"airflow_config_overrides"`
	EnvVariables           map[string]string `json:"env_variables"`
	ImageVersion           string            `json:"image_version"`
	PypiPackages           map[string]string `json:"pypi_packages"`
	PythonVersion          string            `json:"python_version"`
	SchedulerCount         float64           `json:"scheduler_count"`
}

type DataConfigState

type DataConfigState struct {
	AirflowUri                     string                                          `json:"airflow_uri"`
	DagGcsPrefix                   string                                          `json:"dag_gcs_prefix"`
	EnvironmentSize                string                                          `json:"environment_size"`
	GkeCluster                     string                                          `json:"gke_cluster"`
	NodeCount                      float64                                         `json:"node_count"`
	ResilienceMode                 string                                          `json:"resilience_mode"`
	DataRetentionConfig            []DataConfigDataRetentionConfigState            `json:"data_retention_config"`
	DatabaseConfig                 []DataConfigDatabaseConfigState                 `json:"database_config"`
	EncryptionConfig               []DataConfigEncryptionConfigState               `json:"encryption_config"`
	MaintenanceWindow              []DataConfigMaintenanceWindowState              `json:"maintenance_window"`
	MasterAuthorizedNetworksConfig []DataConfigMasterAuthorizedNetworksConfigState `json:"master_authorized_networks_config"`
	NodeConfig                     []DataConfigNodeConfigState                     `json:"node_config"`
	PrivateEnvironmentConfig       []DataConfigPrivateEnvironmentConfigState       `json:"private_environment_config"`
	RecoveryConfig                 []DataConfigRecoveryConfigState                 `json:"recovery_config"`
	SoftwareConfig                 []DataConfigSoftwareConfigState                 `json:"software_config"`
	WebServerConfig                []DataConfigWebServerConfigState                `json:"web_server_config"`
	WebServerNetworkAccessControl  []DataConfigWebServerNetworkAccessControlState  `json:"web_server_network_access_control"`
	WorkloadsConfig                []DataConfigWorkloadsConfigState                `json:"workloads_config"`
}

type DataConfigWebServerConfigAttributes

type DataConfigWebServerConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWebServerConfigAttributes) InternalRef

func (DataConfigWebServerConfigAttributes) InternalTokens

func (wsc DataConfigWebServerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataConfigWebServerConfigAttributes) InternalWithRef

func (DataConfigWebServerConfigAttributes) MachineType

type DataConfigWebServerConfigState

type DataConfigWebServerConfigState struct {
	MachineType string `json:"machine_type"`
}

type DataConfigWebServerNetworkAccessControlAllowedIpRangeAttributes

type DataConfigWebServerNetworkAccessControlAllowedIpRangeAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) Description

func (DataConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) InternalRef

func (DataConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) InternalTokens

func (DataConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) InternalWithRef

func (DataConfigWebServerNetworkAccessControlAllowedIpRangeAttributes) Value

type DataConfigWebServerNetworkAccessControlAllowedIpRangeState

type DataConfigWebServerNetworkAccessControlAllowedIpRangeState struct {
	Description string `json:"description"`
	Value       string `json:"value"`
}

type DataConfigWebServerNetworkAccessControlAttributes

type DataConfigWebServerNetworkAccessControlAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWebServerNetworkAccessControlAttributes) AllowedIpRange

func (DataConfigWebServerNetworkAccessControlAttributes) InternalRef

func (DataConfigWebServerNetworkAccessControlAttributes) InternalTokens

func (DataConfigWebServerNetworkAccessControlAttributes) InternalWithRef

type DataConfigWebServerNetworkAccessControlState

type DataConfigWebServerNetworkAccessControlState struct {
	AllowedIpRange []DataConfigWebServerNetworkAccessControlAllowedIpRangeState `json:"allowed_ip_range"`
}

type DataConfigWorkloadsConfigAttributes

type DataConfigWorkloadsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWorkloadsConfigAttributes) InternalRef

func (DataConfigWorkloadsConfigAttributes) InternalTokens

func (DataConfigWorkloadsConfigAttributes) InternalWithRef

func (DataConfigWorkloadsConfigAttributes) Scheduler

func (DataConfigWorkloadsConfigAttributes) Triggerer

func (DataConfigWorkloadsConfigAttributes) WebServer

func (DataConfigWorkloadsConfigAttributes) Worker

type DataConfigWorkloadsConfigSchedulerAttributes

type DataConfigWorkloadsConfigSchedulerAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWorkloadsConfigSchedulerAttributes) Count

func (DataConfigWorkloadsConfigSchedulerAttributes) Cpu

func (DataConfigWorkloadsConfigSchedulerAttributes) InternalRef

func (DataConfigWorkloadsConfigSchedulerAttributes) InternalTokens

func (DataConfigWorkloadsConfigSchedulerAttributes) InternalWithRef

func (DataConfigWorkloadsConfigSchedulerAttributes) MemoryGb

func (DataConfigWorkloadsConfigSchedulerAttributes) StorageGb

type DataConfigWorkloadsConfigSchedulerState

type DataConfigWorkloadsConfigSchedulerState struct {
	Count     float64 `json:"count"`
	Cpu       float64 `json:"cpu"`
	MemoryGb  float64 `json:"memory_gb"`
	StorageGb float64 `json:"storage_gb"`
}

type DataConfigWorkloadsConfigState

type DataConfigWorkloadsConfigState struct {
	Scheduler []DataConfigWorkloadsConfigSchedulerState `json:"scheduler"`
	Triggerer []DataConfigWorkloadsConfigTriggererState `json:"triggerer"`
	WebServer []DataConfigWorkloadsConfigWebServerState `json:"web_server"`
	Worker    []DataConfigWorkloadsConfigWorkerState    `json:"worker"`
}

type DataConfigWorkloadsConfigTriggererAttributes

type DataConfigWorkloadsConfigTriggererAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWorkloadsConfigTriggererAttributes) Count

func (DataConfigWorkloadsConfigTriggererAttributes) Cpu

func (DataConfigWorkloadsConfigTriggererAttributes) InternalRef

func (DataConfigWorkloadsConfigTriggererAttributes) InternalTokens

func (DataConfigWorkloadsConfigTriggererAttributes) InternalWithRef

func (DataConfigWorkloadsConfigTriggererAttributes) MemoryGb

type DataConfigWorkloadsConfigTriggererState

type DataConfigWorkloadsConfigTriggererState struct {
	Count    float64 `json:"count"`
	Cpu      float64 `json:"cpu"`
	MemoryGb float64 `json:"memory_gb"`
}

type DataConfigWorkloadsConfigWebServerAttributes

type DataConfigWorkloadsConfigWebServerAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWorkloadsConfigWebServerAttributes) Cpu

func (DataConfigWorkloadsConfigWebServerAttributes) InternalRef

func (DataConfigWorkloadsConfigWebServerAttributes) InternalTokens

func (DataConfigWorkloadsConfigWebServerAttributes) InternalWithRef

func (DataConfigWorkloadsConfigWebServerAttributes) MemoryGb

func (DataConfigWorkloadsConfigWebServerAttributes) StorageGb

type DataConfigWorkloadsConfigWebServerState

type DataConfigWorkloadsConfigWebServerState struct {
	Cpu       float64 `json:"cpu"`
	MemoryGb  float64 `json:"memory_gb"`
	StorageGb float64 `json:"storage_gb"`
}

type DataConfigWorkloadsConfigWorkerAttributes

type DataConfigWorkloadsConfigWorkerAttributes struct {
	// contains filtered or unexported fields
}

func (DataConfigWorkloadsConfigWorkerAttributes) Cpu

func (DataConfigWorkloadsConfigWorkerAttributes) InternalRef

func (DataConfigWorkloadsConfigWorkerAttributes) InternalTokens

func (DataConfigWorkloadsConfigWorkerAttributes) InternalWithRef

func (DataConfigWorkloadsConfigWorkerAttributes) MaxCount

func (DataConfigWorkloadsConfigWorkerAttributes) MemoryGb

func (DataConfigWorkloadsConfigWorkerAttributes) MinCount

func (DataConfigWorkloadsConfigWorkerAttributes) StorageGb

type DataConfigWorkloadsConfigWorkerState

type DataConfigWorkloadsConfigWorkerState struct {
	Cpu       float64 `json:"cpu"`
	MaxCount  float64 `json:"max_count"`
	MemoryGb  float64 `json:"memory_gb"`
	MinCount  float64 `json:"min_count"`
	StorageGb float64 `json:"storage_gb"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_composer_environment.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gce *DataSource) Attributes() dataGoogleComposerEnvironmentAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gce *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gce *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gce *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataStorageConfigAttributes

type DataStorageConfigAttributes struct {
	// contains filtered or unexported fields
}

func (DataStorageConfigAttributes) Bucket

func (DataStorageConfigAttributes) InternalRef

func (sc DataStorageConfigAttributes) InternalRef() (terra.Reference, error)

func (DataStorageConfigAttributes) InternalTokens

func (sc DataStorageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataStorageConfigAttributes) InternalWithRef

type DataStorageConfigState

type DataStorageConfigState struct {
	Bucket string `json:"bucket"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_composer_environment.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gce *Resource) Attributes() googleComposerEnvironmentAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gce *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gce *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gce *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gce *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gce *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gce *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gce *Resource) State() (*googleComposerEnvironmentState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gce *Resource) StateMust() *googleComposerEnvironmentState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gce *Resource) Type() string

Type returns the Terraform object type for Resource.

type StorageConfig

type StorageConfig struct {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
}

type StorageConfigAttributes

type StorageConfigAttributes struct {
	// contains filtered or unexported fields
}

func (StorageConfigAttributes) Bucket

func (StorageConfigAttributes) InternalRef

func (sc StorageConfigAttributes) InternalRef() (terra.Reference, error)

func (StorageConfigAttributes) InternalTokens

func (sc StorageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageConfigAttributes) InternalWithRef

type StorageConfigState

type StorageConfigState struct {
	Bucket string `json:"bucket"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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