google_app_engine_flexible_app_version

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 ApiConfig

type ApiConfig struct {
	// AuthFailAction: string, optional
	AuthFailAction terra.StringValue `hcl:"auth_fail_action,attr"`
	// Login: string, optional
	Login terra.StringValue `hcl:"login,attr"`
	// Script: string, required
	Script terra.StringValue `hcl:"script,attr" validate:"required"`
	// SecurityLevel: string, optional
	SecurityLevel terra.StringValue `hcl:"security_level,attr"`
	// Url: string, optional
	Url terra.StringValue `hcl:"url,attr"`
}

type ApiConfigAttributes

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

func (ApiConfigAttributes) AuthFailAction

func (ac ApiConfigAttributes) AuthFailAction() terra.StringValue

func (ApiConfigAttributes) InternalRef

func (ac ApiConfigAttributes) InternalRef() (terra.Reference, error)

func (ApiConfigAttributes) InternalTokens

func (ac ApiConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApiConfigAttributes) InternalWithRef

func (ac ApiConfigAttributes) InternalWithRef(ref terra.Reference) ApiConfigAttributes

func (ApiConfigAttributes) Login

func (ApiConfigAttributes) Script

func (ApiConfigAttributes) SecurityLevel

func (ac ApiConfigAttributes) SecurityLevel() terra.StringValue

func (ApiConfigAttributes) Url

type ApiConfigState

type ApiConfigState struct {
	AuthFailAction string `json:"auth_fail_action"`
	Login          string `json:"login"`
	Script         string `json:"script"`
	SecurityLevel  string `json:"security_level"`
	Url            string `json:"url"`
}

type Args

type Args struct {
	// BetaSettings: map of string, optional
	BetaSettings terra.MapValue[terra.StringValue] `hcl:"beta_settings,attr"`
	// DefaultExpiration: string, optional
	DefaultExpiration terra.StringValue `hcl:"default_expiration,attr"`
	// DeleteServiceOnDestroy: bool, optional
	DeleteServiceOnDestroy terra.BoolValue `hcl:"delete_service_on_destroy,attr"`
	// EnvVariables: map of string, optional
	EnvVariables terra.MapValue[terra.StringValue] `hcl:"env_variables,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InboundServices: set of string, optional
	InboundServices terra.SetValue[terra.StringValue] `hcl:"inbound_services,attr"`
	// InstanceClass: string, optional
	InstanceClass terra.StringValue `hcl:"instance_class,attr"`
	// NobuildFilesRegex: string, optional
	NobuildFilesRegex terra.StringValue `hcl:"nobuild_files_regex,attr"`
	// NoopOnDestroy: bool, optional
	NoopOnDestroy terra.BoolValue `hcl:"noop_on_destroy,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Runtime: string, required
	Runtime terra.StringValue `hcl:"runtime,attr" validate:"required"`
	// RuntimeApiVersion: string, optional
	RuntimeApiVersion terra.StringValue `hcl:"runtime_api_version,attr"`
	// RuntimeChannel: string, optional
	RuntimeChannel terra.StringValue `hcl:"runtime_channel,attr"`
	// RuntimeMainExecutablePath: string, optional
	RuntimeMainExecutablePath terra.StringValue `hcl:"runtime_main_executable_path,attr"`
	// Service: string, required
	Service terra.StringValue `hcl:"service,attr" validate:"required"`
	// ServiceAccount: string, optional
	ServiceAccount terra.StringValue `hcl:"service_account,attr"`
	// ServingStatus: string, optional
	ServingStatus terra.StringValue `hcl:"serving_status,attr"`
	// VersionId: string, optional
	VersionId terra.StringValue `hcl:"version_id,attr"`
	// ApiConfig: optional
	ApiConfig *ApiConfig `hcl:"api_config,block"`
	// AutomaticScaling: optional
	AutomaticScaling *AutomaticScaling `hcl:"automatic_scaling,block"`
	// Deployment: optional
	Deployment *Deployment `hcl:"deployment,block"`
	// EndpointsApiService: optional
	EndpointsApiService *EndpointsApiService `hcl:"endpoints_api_service,block"`
	// Entrypoint: optional
	Entrypoint *Entrypoint `hcl:"entrypoint,block"`
	// Handlers: min=0
	Handlers []Handlers `hcl:"handlers,block" validate:"min=0"`
	// LivenessCheck: required
	LivenessCheck *LivenessCheck `hcl:"liveness_check,block" validate:"required"`
	// ManualScaling: optional
	ManualScaling *ManualScaling `hcl:"manual_scaling,block"`
	// Network: optional
	Network *Network `hcl:"network,block"`
	// ReadinessCheck: required
	ReadinessCheck *ReadinessCheck `hcl:"readiness_check,block" validate:"required"`
	// Resources: optional
	Resources *Resources `hcl:"resources,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// VpcAccessConnector: optional
	VpcAccessConnector *VpcAccessConnector `hcl:"vpc_access_connector,block"`
}

Args contains the configurations for google_app_engine_flexible_app_version.

type AutomaticScaling

type AutomaticScaling struct {
	// CoolDownPeriod: string, optional
	CoolDownPeriod terra.StringValue `hcl:"cool_down_period,attr"`
	// MaxConcurrentRequests: number, optional
	MaxConcurrentRequests terra.NumberValue `hcl:"max_concurrent_requests,attr"`
	// MaxIdleInstances: number, optional
	MaxIdleInstances terra.NumberValue `hcl:"max_idle_instances,attr"`
	// MaxPendingLatency: string, optional
	MaxPendingLatency terra.StringValue `hcl:"max_pending_latency,attr"`
	// MaxTotalInstances: number, optional
	MaxTotalInstances terra.NumberValue `hcl:"max_total_instances,attr"`
	// MinIdleInstances: number, optional
	MinIdleInstances terra.NumberValue `hcl:"min_idle_instances,attr"`
	// MinPendingLatency: string, optional
	MinPendingLatency terra.StringValue `hcl:"min_pending_latency,attr"`
	// MinTotalInstances: number, optional
	MinTotalInstances terra.NumberValue `hcl:"min_total_instances,attr"`
	// AutomaticScalingCpuUtilization: required
	CpuUtilization *AutomaticScalingCpuUtilization `hcl:"cpu_utilization,block" validate:"required"`
	// AutomaticScalingDiskUtilization: optional
	DiskUtilization *AutomaticScalingDiskUtilization `hcl:"disk_utilization,block"`
	// AutomaticScalingNetworkUtilization: optional
	NetworkUtilization *AutomaticScalingNetworkUtilization `hcl:"network_utilization,block"`
	// AutomaticScalingRequestUtilization: optional
	RequestUtilization *AutomaticScalingRequestUtilization `hcl:"request_utilization,block"`
}

type AutomaticScalingAttributes

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

func (AutomaticScalingAttributes) CoolDownPeriod

func (as AutomaticScalingAttributes) CoolDownPeriod() terra.StringValue

func (AutomaticScalingAttributes) CpuUtilization

func (AutomaticScalingAttributes) DiskUtilization

func (AutomaticScalingAttributes) InternalRef

func (as AutomaticScalingAttributes) InternalRef() (terra.Reference, error)

func (AutomaticScalingAttributes) InternalTokens

func (as AutomaticScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutomaticScalingAttributes) InternalWithRef

func (AutomaticScalingAttributes) MaxConcurrentRequests

func (as AutomaticScalingAttributes) MaxConcurrentRequests() terra.NumberValue

func (AutomaticScalingAttributes) MaxIdleInstances

func (as AutomaticScalingAttributes) MaxIdleInstances() terra.NumberValue

func (AutomaticScalingAttributes) MaxPendingLatency

func (as AutomaticScalingAttributes) MaxPendingLatency() terra.StringValue

func (AutomaticScalingAttributes) MaxTotalInstances

func (as AutomaticScalingAttributes) MaxTotalInstances() terra.NumberValue

func (AutomaticScalingAttributes) MinIdleInstances

func (as AutomaticScalingAttributes) MinIdleInstances() terra.NumberValue

func (AutomaticScalingAttributes) MinPendingLatency

func (as AutomaticScalingAttributes) MinPendingLatency() terra.StringValue

func (AutomaticScalingAttributes) MinTotalInstances

func (as AutomaticScalingAttributes) MinTotalInstances() terra.NumberValue

func (AutomaticScalingAttributes) NetworkUtilization

func (AutomaticScalingAttributes) RequestUtilization

type AutomaticScalingCpuUtilization

type AutomaticScalingCpuUtilization struct {
	// AggregationWindowLength: string, optional
	AggregationWindowLength terra.StringValue `hcl:"aggregation_window_length,attr"`
	// TargetUtilization: number, required
	TargetUtilization terra.NumberValue `hcl:"target_utilization,attr" validate:"required"`
}

type AutomaticScalingCpuUtilizationAttributes

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

func (AutomaticScalingCpuUtilizationAttributes) AggregationWindowLength

func (cu AutomaticScalingCpuUtilizationAttributes) AggregationWindowLength() terra.StringValue

func (AutomaticScalingCpuUtilizationAttributes) InternalRef

func (AutomaticScalingCpuUtilizationAttributes) InternalTokens

func (AutomaticScalingCpuUtilizationAttributes) InternalWithRef

func (AutomaticScalingCpuUtilizationAttributes) TargetUtilization

type AutomaticScalingCpuUtilizationState

type AutomaticScalingCpuUtilizationState struct {
	AggregationWindowLength string  `json:"aggregation_window_length"`
	TargetUtilization       float64 `json:"target_utilization"`
}

type AutomaticScalingDiskUtilization

type AutomaticScalingDiskUtilization struct {
	// TargetReadBytesPerSecond: number, optional
	TargetReadBytesPerSecond terra.NumberValue `hcl:"target_read_bytes_per_second,attr"`
	// TargetReadOpsPerSecond: number, optional
	TargetReadOpsPerSecond terra.NumberValue `hcl:"target_read_ops_per_second,attr"`
	// TargetWriteBytesPerSecond: number, optional
	TargetWriteBytesPerSecond terra.NumberValue `hcl:"target_write_bytes_per_second,attr"`
	// TargetWriteOpsPerSecond: number, optional
	TargetWriteOpsPerSecond terra.NumberValue `hcl:"target_write_ops_per_second,attr"`
}

type AutomaticScalingDiskUtilizationAttributes

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

func (AutomaticScalingDiskUtilizationAttributes) InternalRef

func (AutomaticScalingDiskUtilizationAttributes) InternalTokens

func (AutomaticScalingDiskUtilizationAttributes) InternalWithRef

func (AutomaticScalingDiskUtilizationAttributes) TargetReadBytesPerSecond

func (du AutomaticScalingDiskUtilizationAttributes) TargetReadBytesPerSecond() terra.NumberValue

func (AutomaticScalingDiskUtilizationAttributes) TargetReadOpsPerSecond

func (du AutomaticScalingDiskUtilizationAttributes) TargetReadOpsPerSecond() terra.NumberValue

func (AutomaticScalingDiskUtilizationAttributes) TargetWriteBytesPerSecond

func (du AutomaticScalingDiskUtilizationAttributes) TargetWriteBytesPerSecond() terra.NumberValue

func (AutomaticScalingDiskUtilizationAttributes) TargetWriteOpsPerSecond

func (du AutomaticScalingDiskUtilizationAttributes) TargetWriteOpsPerSecond() terra.NumberValue

type AutomaticScalingDiskUtilizationState

type AutomaticScalingDiskUtilizationState struct {
	TargetReadBytesPerSecond  float64 `json:"target_read_bytes_per_second"`
	TargetReadOpsPerSecond    float64 `json:"target_read_ops_per_second"`
	TargetWriteBytesPerSecond float64 `json:"target_write_bytes_per_second"`
	TargetWriteOpsPerSecond   float64 `json:"target_write_ops_per_second"`
}

type AutomaticScalingNetworkUtilization

type AutomaticScalingNetworkUtilization struct {
	// TargetReceivedBytesPerSecond: number, optional
	TargetReceivedBytesPerSecond terra.NumberValue `hcl:"target_received_bytes_per_second,attr"`
	// TargetReceivedPacketsPerSecond: number, optional
	TargetReceivedPacketsPerSecond terra.NumberValue `hcl:"target_received_packets_per_second,attr"`
	// TargetSentBytesPerSecond: number, optional
	TargetSentBytesPerSecond terra.NumberValue `hcl:"target_sent_bytes_per_second,attr"`
	// TargetSentPacketsPerSecond: number, optional
	TargetSentPacketsPerSecond terra.NumberValue `hcl:"target_sent_packets_per_second,attr"`
}

type AutomaticScalingNetworkUtilizationAttributes

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

func (AutomaticScalingNetworkUtilizationAttributes) InternalRef

func (AutomaticScalingNetworkUtilizationAttributes) InternalTokens

func (AutomaticScalingNetworkUtilizationAttributes) InternalWithRef

func (AutomaticScalingNetworkUtilizationAttributes) TargetReceivedBytesPerSecond

func (nu AutomaticScalingNetworkUtilizationAttributes) TargetReceivedBytesPerSecond() terra.NumberValue

func (AutomaticScalingNetworkUtilizationAttributes) TargetReceivedPacketsPerSecond

func (nu AutomaticScalingNetworkUtilizationAttributes) TargetReceivedPacketsPerSecond() terra.NumberValue

func (AutomaticScalingNetworkUtilizationAttributes) TargetSentBytesPerSecond

func (nu AutomaticScalingNetworkUtilizationAttributes) TargetSentBytesPerSecond() terra.NumberValue

func (AutomaticScalingNetworkUtilizationAttributes) TargetSentPacketsPerSecond

func (nu AutomaticScalingNetworkUtilizationAttributes) TargetSentPacketsPerSecond() terra.NumberValue

type AutomaticScalingNetworkUtilizationState

type AutomaticScalingNetworkUtilizationState struct {
	TargetReceivedBytesPerSecond   float64 `json:"target_received_bytes_per_second"`
	TargetReceivedPacketsPerSecond float64 `json:"target_received_packets_per_second"`
	TargetSentBytesPerSecond       float64 `json:"target_sent_bytes_per_second"`
	TargetSentPacketsPerSecond     float64 `json:"target_sent_packets_per_second"`
}

type AutomaticScalingRequestUtilization

type AutomaticScalingRequestUtilization struct {
	// TargetConcurrentRequests: number, optional
	TargetConcurrentRequests terra.NumberValue `hcl:"target_concurrent_requests,attr"`
	// TargetRequestCountPerSecond: string, optional
	TargetRequestCountPerSecond terra.StringValue `hcl:"target_request_count_per_second,attr"`
}

type AutomaticScalingRequestUtilizationAttributes

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

func (AutomaticScalingRequestUtilizationAttributes) InternalRef

func (AutomaticScalingRequestUtilizationAttributes) InternalTokens

func (AutomaticScalingRequestUtilizationAttributes) InternalWithRef

func (AutomaticScalingRequestUtilizationAttributes) TargetConcurrentRequests

func (ru AutomaticScalingRequestUtilizationAttributes) TargetConcurrentRequests() terra.NumberValue

func (AutomaticScalingRequestUtilizationAttributes) TargetRequestCountPerSecond

func (ru AutomaticScalingRequestUtilizationAttributes) TargetRequestCountPerSecond() terra.StringValue

type AutomaticScalingRequestUtilizationState

type AutomaticScalingRequestUtilizationState struct {
	TargetConcurrentRequests    float64 `json:"target_concurrent_requests"`
	TargetRequestCountPerSecond string  `json:"target_request_count_per_second"`
}

type AutomaticScalingState

type AutomaticScalingState struct {
	CoolDownPeriod        string                                    `json:"cool_down_period"`
	MaxConcurrentRequests float64                                   `json:"max_concurrent_requests"`
	MaxIdleInstances      float64                                   `json:"max_idle_instances"`
	MaxPendingLatency     string                                    `json:"max_pending_latency"`
	MaxTotalInstances     float64                                   `json:"max_total_instances"`
	MinIdleInstances      float64                                   `json:"min_idle_instances"`
	MinPendingLatency     string                                    `json:"min_pending_latency"`
	MinTotalInstances     float64                                   `json:"min_total_instances"`
	CpuUtilization        []AutomaticScalingCpuUtilizationState     `json:"cpu_utilization"`
	DiskUtilization       []AutomaticScalingDiskUtilizationState    `json:"disk_utilization"`
	NetworkUtilization    []AutomaticScalingNetworkUtilizationState `json:"network_utilization"`
	RequestUtilization    []AutomaticScalingRequestUtilizationState `json:"request_utilization"`
}

type Deployment

type Deployment struct {
	// DeploymentCloudBuildOptions: optional
	CloudBuildOptions *DeploymentCloudBuildOptions `hcl:"cloud_build_options,block"`
	// DeploymentContainer: optional
	Container *DeploymentContainer `hcl:"container,block"`
	// DeploymentFiles: min=0
	Files []DeploymentFiles `hcl:"files,block" validate:"min=0"`
	// DeploymentZip: optional
	Zip *DeploymentZip `hcl:"zip,block"`
}

type DeploymentAttributes

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

func (DeploymentAttributes) CloudBuildOptions

func (DeploymentAttributes) Container

func (DeploymentAttributes) Files

func (DeploymentAttributes) InternalRef

func (d DeploymentAttributes) InternalRef() (terra.Reference, error)

func (DeploymentAttributes) InternalTokens

func (d DeploymentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeploymentAttributes) InternalWithRef

func (DeploymentAttributes) Zip

type DeploymentCloudBuildOptions

type DeploymentCloudBuildOptions struct {
	// AppYamlPath: string, required
	AppYamlPath terra.StringValue `hcl:"app_yaml_path,attr" validate:"required"`
	// CloudBuildTimeout: string, optional
	CloudBuildTimeout terra.StringValue `hcl:"cloud_build_timeout,attr"`
}

type DeploymentCloudBuildOptionsAttributes

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

func (DeploymentCloudBuildOptionsAttributes) AppYamlPath

func (DeploymentCloudBuildOptionsAttributes) CloudBuildTimeout

func (DeploymentCloudBuildOptionsAttributes) InternalRef

func (DeploymentCloudBuildOptionsAttributes) InternalTokens

func (DeploymentCloudBuildOptionsAttributes) InternalWithRef

type DeploymentCloudBuildOptionsState

type DeploymentCloudBuildOptionsState struct {
	AppYamlPath       string `json:"app_yaml_path"`
	CloudBuildTimeout string `json:"cloud_build_timeout"`
}

type DeploymentContainer

type DeploymentContainer struct {
	// Image: string, required
	Image terra.StringValue `hcl:"image,attr" validate:"required"`
}

type DeploymentContainerAttributes

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

func (DeploymentContainerAttributes) Image

func (DeploymentContainerAttributes) InternalRef

func (DeploymentContainerAttributes) InternalTokens

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

func (DeploymentContainerAttributes) InternalWithRef

type DeploymentContainerState

type DeploymentContainerState struct {
	Image string `json:"image"`
}

type DeploymentFiles

type DeploymentFiles struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Sha1Sum: string, optional
	Sha1Sum terra.StringValue `hcl:"sha1_sum,attr"`
	// SourceUrl: string, required
	SourceUrl terra.StringValue `hcl:"source_url,attr" validate:"required"`
}

type DeploymentFilesAttributes

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

func (DeploymentFilesAttributes) InternalRef

func (f DeploymentFilesAttributes) InternalRef() (terra.Reference, error)

func (DeploymentFilesAttributes) InternalTokens

func (f DeploymentFilesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeploymentFilesAttributes) InternalWithRef

func (DeploymentFilesAttributes) Name

func (DeploymentFilesAttributes) Sha1Sum

func (DeploymentFilesAttributes) SourceUrl

type DeploymentFilesState

type DeploymentFilesState struct {
	Name      string `json:"name"`
	Sha1Sum   string `json:"sha1_sum"`
	SourceUrl string `json:"source_url"`
}

type DeploymentState

type DeploymentState struct {
	CloudBuildOptions []DeploymentCloudBuildOptionsState `json:"cloud_build_options"`
	Container         []DeploymentContainerState         `json:"container"`
	Files             []DeploymentFilesState             `json:"files"`
	Zip               []DeploymentZipState               `json:"zip"`
}

type DeploymentZip

type DeploymentZip struct {
	// FilesCount: number, optional
	FilesCount terra.NumberValue `hcl:"files_count,attr"`
	// SourceUrl: string, required
	SourceUrl terra.StringValue `hcl:"source_url,attr" validate:"required"`
}

type DeploymentZipAttributes

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

func (DeploymentZipAttributes) FilesCount

func (z DeploymentZipAttributes) FilesCount() terra.NumberValue

func (DeploymentZipAttributes) InternalRef

func (z DeploymentZipAttributes) InternalRef() (terra.Reference, error)

func (DeploymentZipAttributes) InternalTokens

func (z DeploymentZipAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeploymentZipAttributes) InternalWithRef

func (DeploymentZipAttributes) SourceUrl

type DeploymentZipState

type DeploymentZipState struct {
	FilesCount float64 `json:"files_count"`
	SourceUrl  string  `json:"source_url"`
}

type EndpointsApiService

type EndpointsApiService struct {
	// ConfigId: string, optional
	ConfigId terra.StringValue `hcl:"config_id,attr"`
	// DisableTraceSampling: bool, optional
	DisableTraceSampling terra.BoolValue `hcl:"disable_trace_sampling,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RolloutStrategy: string, optional
	RolloutStrategy terra.StringValue `hcl:"rollout_strategy,attr"`
}

type EndpointsApiServiceAttributes

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

func (EndpointsApiServiceAttributes) ConfigId

func (EndpointsApiServiceAttributes) DisableTraceSampling

func (eas EndpointsApiServiceAttributes) DisableTraceSampling() terra.BoolValue

func (EndpointsApiServiceAttributes) InternalRef

func (eas EndpointsApiServiceAttributes) InternalRef() (terra.Reference, error)

func (EndpointsApiServiceAttributes) InternalTokens

func (eas EndpointsApiServiceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointsApiServiceAttributes) InternalWithRef

func (EndpointsApiServiceAttributes) Name

func (EndpointsApiServiceAttributes) RolloutStrategy

func (eas EndpointsApiServiceAttributes) RolloutStrategy() terra.StringValue

type EndpointsApiServiceState

type EndpointsApiServiceState struct {
	ConfigId             string `json:"config_id"`
	DisableTraceSampling bool   `json:"disable_trace_sampling"`
	Name                 string `json:"name"`
	RolloutStrategy      string `json:"rollout_strategy"`
}

type Entrypoint

type Entrypoint struct {
	// Shell: string, required
	Shell terra.StringValue `hcl:"shell,attr" validate:"required"`
}

type EntrypointAttributes

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

func (EntrypointAttributes) InternalRef

func (e EntrypointAttributes) InternalRef() (terra.Reference, error)

func (EntrypointAttributes) InternalTokens

func (e EntrypointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EntrypointAttributes) InternalWithRef

func (EntrypointAttributes) Shell

type EntrypointState

type EntrypointState struct {
	Shell string `json:"shell"`
}

type Handlers

type Handlers struct {
	// AuthFailAction: string, optional
	AuthFailAction terra.StringValue `hcl:"auth_fail_action,attr"`
	// Login: string, optional
	Login terra.StringValue `hcl:"login,attr"`
	// RedirectHttpResponseCode: string, optional
	RedirectHttpResponseCode terra.StringValue `hcl:"redirect_http_response_code,attr"`
	// SecurityLevel: string, optional
	SecurityLevel terra.StringValue `hcl:"security_level,attr"`
	// UrlRegex: string, optional
	UrlRegex terra.StringValue `hcl:"url_regex,attr"`
	// HandlersScript: optional
	Script *HandlersScript `hcl:"script,block"`
	// HandlersStaticFiles: optional
	StaticFiles *HandlersStaticFiles `hcl:"static_files,block"`
}

type HandlersAttributes

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

func (HandlersAttributes) AuthFailAction

func (h HandlersAttributes) AuthFailAction() terra.StringValue

func (HandlersAttributes) InternalRef

func (h HandlersAttributes) InternalRef() (terra.Reference, error)

func (HandlersAttributes) InternalTokens

func (h HandlersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HandlersAttributes) InternalWithRef

func (h HandlersAttributes) InternalWithRef(ref terra.Reference) HandlersAttributes

func (HandlersAttributes) Login

func (HandlersAttributes) RedirectHttpResponseCode

func (h HandlersAttributes) RedirectHttpResponseCode() terra.StringValue

func (HandlersAttributes) Script

func (HandlersAttributes) SecurityLevel

func (h HandlersAttributes) SecurityLevel() terra.StringValue

func (HandlersAttributes) StaticFiles

func (HandlersAttributes) UrlRegex

func (h HandlersAttributes) UrlRegex() terra.StringValue

type HandlersScript

type HandlersScript struct {
	// ScriptPath: string, required
	ScriptPath terra.StringValue `hcl:"script_path,attr" validate:"required"`
}

type HandlersScriptAttributes

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

func (HandlersScriptAttributes) InternalRef

func (s HandlersScriptAttributes) InternalRef() (terra.Reference, error)

func (HandlersScriptAttributes) InternalTokens

func (s HandlersScriptAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HandlersScriptAttributes) InternalWithRef

func (HandlersScriptAttributes) ScriptPath

type HandlersScriptState

type HandlersScriptState struct {
	ScriptPath string `json:"script_path"`
}

type HandlersState

type HandlersState struct {
	AuthFailAction           string                     `json:"auth_fail_action"`
	Login                    string                     `json:"login"`
	RedirectHttpResponseCode string                     `json:"redirect_http_response_code"`
	SecurityLevel            string                     `json:"security_level"`
	UrlRegex                 string                     `json:"url_regex"`
	Script                   []HandlersScriptState      `json:"script"`
	StaticFiles              []HandlersStaticFilesState `json:"static_files"`
}

type HandlersStaticFiles

type HandlersStaticFiles struct {
	// ApplicationReadable: bool, optional
	ApplicationReadable terra.BoolValue `hcl:"application_readable,attr"`
	// Expiration: string, optional
	Expiration terra.StringValue `hcl:"expiration,attr"`
	// HttpHeaders: map of string, optional
	HttpHeaders terra.MapValue[terra.StringValue] `hcl:"http_headers,attr"`
	// MimeType: string, optional
	MimeType terra.StringValue `hcl:"mime_type,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// RequireMatchingFile: bool, optional
	RequireMatchingFile terra.BoolValue `hcl:"require_matching_file,attr"`
	// UploadPathRegex: string, optional
	UploadPathRegex terra.StringValue `hcl:"upload_path_regex,attr"`
}

type HandlersStaticFilesAttributes

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

func (HandlersStaticFilesAttributes) ApplicationReadable

func (sf HandlersStaticFilesAttributes) ApplicationReadable() terra.BoolValue

func (HandlersStaticFilesAttributes) Expiration

func (HandlersStaticFilesAttributes) HttpHeaders

func (HandlersStaticFilesAttributes) InternalRef

func (sf HandlersStaticFilesAttributes) InternalRef() (terra.Reference, error)

func (HandlersStaticFilesAttributes) InternalTokens

func (sf HandlersStaticFilesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HandlersStaticFilesAttributes) InternalWithRef

func (HandlersStaticFilesAttributes) MimeType

func (HandlersStaticFilesAttributes) Path

func (HandlersStaticFilesAttributes) RequireMatchingFile

func (sf HandlersStaticFilesAttributes) RequireMatchingFile() terra.BoolValue

func (HandlersStaticFilesAttributes) UploadPathRegex

func (sf HandlersStaticFilesAttributes) UploadPathRegex() terra.StringValue

type HandlersStaticFilesState

type HandlersStaticFilesState struct {
	ApplicationReadable bool              `json:"application_readable"`
	Expiration          string            `json:"expiration"`
	HttpHeaders         map[string]string `json:"http_headers"`
	MimeType            string            `json:"mime_type"`
	Path                string            `json:"path"`
	RequireMatchingFile bool              `json:"require_matching_file"`
	UploadPathRegex     string            `json:"upload_path_regex"`
}

type LivenessCheck

type LivenessCheck struct {
	// CheckInterval: string, optional
	CheckInterval terra.StringValue `hcl:"check_interval,attr"`
	// FailureThreshold: number, optional
	FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"`
	// Host: string, optional
	Host terra.StringValue `hcl:"host,attr"`
	// InitialDelay: string, optional
	InitialDelay terra.StringValue `hcl:"initial_delay,attr"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// SuccessThreshold: number, optional
	SuccessThreshold terra.NumberValue `hcl:"success_threshold,attr"`
	// Timeout: string, optional
	Timeout terra.StringValue `hcl:"timeout,attr"`
}

type LivenessCheckAttributes

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

func (LivenessCheckAttributes) CheckInterval

func (lc LivenessCheckAttributes) CheckInterval() terra.StringValue

func (LivenessCheckAttributes) FailureThreshold

func (lc LivenessCheckAttributes) FailureThreshold() terra.NumberValue

func (LivenessCheckAttributes) Host

func (LivenessCheckAttributes) InitialDelay

func (lc LivenessCheckAttributes) InitialDelay() terra.StringValue

func (LivenessCheckAttributes) InternalRef

func (lc LivenessCheckAttributes) InternalRef() (terra.Reference, error)

func (LivenessCheckAttributes) InternalTokens

func (lc LivenessCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LivenessCheckAttributes) InternalWithRef

func (LivenessCheckAttributes) Path

func (LivenessCheckAttributes) SuccessThreshold

func (lc LivenessCheckAttributes) SuccessThreshold() terra.NumberValue

func (LivenessCheckAttributes) Timeout

type LivenessCheckState

type LivenessCheckState struct {
	CheckInterval    string  `json:"check_interval"`
	FailureThreshold float64 `json:"failure_threshold"`
	Host             string  `json:"host"`
	InitialDelay     string  `json:"initial_delay"`
	Path             string  `json:"path"`
	SuccessThreshold float64 `json:"success_threshold"`
	Timeout          string  `json:"timeout"`
}

type ManualScaling

type ManualScaling struct {
	// Instances: number, required
	Instances terra.NumberValue `hcl:"instances,attr" validate:"required"`
}

type ManualScalingAttributes

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

func (ManualScalingAttributes) Instances

func (ms ManualScalingAttributes) Instances() terra.NumberValue

func (ManualScalingAttributes) InternalRef

func (ms ManualScalingAttributes) InternalRef() (terra.Reference, error)

func (ManualScalingAttributes) InternalTokens

func (ms ManualScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ManualScalingAttributes) InternalWithRef

type ManualScalingState

type ManualScalingState struct {
	Instances float64 `json:"instances"`
}

type Network

type Network struct {
	// ForwardedPorts: list of string, optional
	ForwardedPorts terra.ListValue[terra.StringValue] `hcl:"forwarded_ports,attr"`
	// InstanceTag: string, optional
	InstanceTag terra.StringValue `hcl:"instance_tag,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SessionAffinity: bool, optional
	SessionAffinity terra.BoolValue `hcl:"session_affinity,attr"`
	// Subnetwork: string, optional
	Subnetwork terra.StringValue `hcl:"subnetwork,attr"`
}

type NetworkAttributes

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

func (NetworkAttributes) ForwardedPorts

func (n NetworkAttributes) ForwardedPorts() terra.ListValue[terra.StringValue]

func (NetworkAttributes) InstanceTag

func (n NetworkAttributes) InstanceTag() terra.StringValue

func (NetworkAttributes) InternalRef

func (n NetworkAttributes) InternalRef() (terra.Reference, error)

func (NetworkAttributes) InternalTokens

func (n NetworkAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkAttributes) InternalWithRef

func (n NetworkAttributes) InternalWithRef(ref terra.Reference) NetworkAttributes

func (NetworkAttributes) Name

func (NetworkAttributes) SessionAffinity

func (n NetworkAttributes) SessionAffinity() terra.BoolValue

func (NetworkAttributes) Subnetwork

func (n NetworkAttributes) Subnetwork() terra.StringValue

type NetworkState

type NetworkState struct {
	ForwardedPorts  []string `json:"forwarded_ports"`
	InstanceTag     string   `json:"instance_tag"`
	Name            string   `json:"name"`
	SessionAffinity bool     `json:"session_affinity"`
	Subnetwork      string   `json:"subnetwork"`
}

type ReadinessCheck

type ReadinessCheck struct {
	// AppStartTimeout: string, optional
	AppStartTimeout terra.StringValue `hcl:"app_start_timeout,attr"`
	// CheckInterval: string, optional
	CheckInterval terra.StringValue `hcl:"check_interval,attr"`
	// FailureThreshold: number, optional
	FailureThreshold terra.NumberValue `hcl:"failure_threshold,attr"`
	// Host: string, optional
	Host terra.StringValue `hcl:"host,attr"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// SuccessThreshold: number, optional
	SuccessThreshold terra.NumberValue `hcl:"success_threshold,attr"`
	// Timeout: string, optional
	Timeout terra.StringValue `hcl:"timeout,attr"`
}

type ReadinessCheckAttributes

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

func (ReadinessCheckAttributes) AppStartTimeout

func (rc ReadinessCheckAttributes) AppStartTimeout() terra.StringValue

func (ReadinessCheckAttributes) CheckInterval

func (rc ReadinessCheckAttributes) CheckInterval() terra.StringValue

func (ReadinessCheckAttributes) FailureThreshold

func (rc ReadinessCheckAttributes) FailureThreshold() terra.NumberValue

func (ReadinessCheckAttributes) Host

func (ReadinessCheckAttributes) InternalRef

func (rc ReadinessCheckAttributes) InternalRef() (terra.Reference, error)

func (ReadinessCheckAttributes) InternalTokens

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

func (ReadinessCheckAttributes) InternalWithRef

func (ReadinessCheckAttributes) Path

func (ReadinessCheckAttributes) SuccessThreshold

func (rc ReadinessCheckAttributes) SuccessThreshold() terra.NumberValue

func (ReadinessCheckAttributes) Timeout

type ReadinessCheckState

type ReadinessCheckState struct {
	AppStartTimeout  string  `json:"app_start_timeout"`
	CheckInterval    string  `json:"check_interval"`
	FailureThreshold float64 `json:"failure_threshold"`
	Host             string  `json:"host"`
	Path             string  `json:"path"`
	SuccessThreshold float64 `json:"success_threshold"`
	Timeout          string  `json:"timeout"`
}

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_app_engine_flexible_app_version.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gaefav *Resource) Attributes() googleAppEngineFlexibleAppVersionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gaefav *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gaefav *Resource) State() (*googleAppEngineFlexibleAppVersionState, bool)

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

func (*Resource) StateMust

func (gaefav *Resource) StateMust() *googleAppEngineFlexibleAppVersionState

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

func (*Resource) Type

func (gaefav *Resource) Type() string

Type returns the Terraform object type for Resource.

type Resources

type Resources struct {
	// Cpu: number, optional
	Cpu terra.NumberValue `hcl:"cpu,attr"`
	// DiskGb: number, optional
	DiskGb terra.NumberValue `hcl:"disk_gb,attr"`
	// MemoryGb: number, optional
	MemoryGb terra.NumberValue `hcl:"memory_gb,attr"`
	// ResourcesVolumes: min=0
	Volumes []ResourcesVolumes `hcl:"volumes,block" validate:"min=0"`
}

type ResourcesAttributes

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

func (ResourcesAttributes) Cpu

func (ResourcesAttributes) DiskGb

func (ResourcesAttributes) InternalRef

func (r ResourcesAttributes) InternalRef() (terra.Reference, error)

func (ResourcesAttributes) InternalTokens

func (r ResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourcesAttributes) InternalWithRef

func (r ResourcesAttributes) InternalWithRef(ref terra.Reference) ResourcesAttributes

func (ResourcesAttributes) MemoryGb

func (r ResourcesAttributes) MemoryGb() terra.NumberValue

func (ResourcesAttributes) Volumes

type ResourcesState

type ResourcesState struct {
	Cpu      float64                 `json:"cpu"`
	DiskGb   float64                 `json:"disk_gb"`
	MemoryGb float64                 `json:"memory_gb"`
	Volumes  []ResourcesVolumesState `json:"volumes"`
}

type ResourcesVolumes

type ResourcesVolumes struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// SizeGb: number, required
	SizeGb terra.NumberValue `hcl:"size_gb,attr" validate:"required"`
	// VolumeType: string, required
	VolumeType terra.StringValue `hcl:"volume_type,attr" validate:"required"`
}

type ResourcesVolumesAttributes

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

func (ResourcesVolumesAttributes) InternalRef

func (v ResourcesVolumesAttributes) InternalRef() (terra.Reference, error)

func (ResourcesVolumesAttributes) InternalTokens

func (v ResourcesVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourcesVolumesAttributes) InternalWithRef

func (ResourcesVolumesAttributes) Name

func (ResourcesVolumesAttributes) SizeGb

func (ResourcesVolumesAttributes) VolumeType

type ResourcesVolumesState

type ResourcesVolumesState struct {
	Name       string  `json:"name"`
	SizeGb     float64 `json:"size_gb"`
	VolumeType string  `json:"volume_type"`
}

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

type VpcAccessConnector

type VpcAccessConnector struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type VpcAccessConnectorAttributes

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

func (VpcAccessConnectorAttributes) InternalRef

func (vac VpcAccessConnectorAttributes) InternalRef() (terra.Reference, error)

func (VpcAccessConnectorAttributes) InternalTokens

func (vac VpcAccessConnectorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcAccessConnectorAttributes) InternalWithRef

func (VpcAccessConnectorAttributes) Name

type VpcAccessConnectorState

type VpcAccessConnectorState struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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