Documentation ¶
Index ¶
- type Args
- type AutomaticScaling
- type AutomaticScalingAttributes
- func (as AutomaticScalingAttributes) InternalRef() (terra.Reference, error)
- func (as AutomaticScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as AutomaticScalingAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingAttributes
- func (as AutomaticScalingAttributes) MaxConcurrentRequests() terra.NumberValue
- func (as AutomaticScalingAttributes) MaxIdleInstances() terra.NumberValue
- func (as AutomaticScalingAttributes) MaxPendingLatency() terra.StringValue
- func (as AutomaticScalingAttributes) MinIdleInstances() terra.NumberValue
- func (as AutomaticScalingAttributes) MinPendingLatency() terra.StringValue
- func (as AutomaticScalingAttributes) StandardSchedulerSettings() terra.ListValue[AutomaticScalingStandardSchedulerSettingsAttributes]
- type AutomaticScalingStandardSchedulerSettings
- type AutomaticScalingStandardSchedulerSettingsAttributes
- func (sss AutomaticScalingStandardSchedulerSettingsAttributes) InternalRef() (terra.Reference, error)
- func (sss AutomaticScalingStandardSchedulerSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sss AutomaticScalingStandardSchedulerSettingsAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingStandardSchedulerSettingsAttributes
- func (sss AutomaticScalingStandardSchedulerSettingsAttributes) MaxInstances() terra.NumberValue
- func (sss AutomaticScalingStandardSchedulerSettingsAttributes) MinInstances() terra.NumberValue
- func (sss AutomaticScalingStandardSchedulerSettingsAttributes) TargetCpuUtilization() terra.NumberValue
- func (sss AutomaticScalingStandardSchedulerSettingsAttributes) TargetThroughputUtilization() terra.NumberValue
- type AutomaticScalingStandardSchedulerSettingsState
- type AutomaticScalingState
- type BasicScaling
- type BasicScalingAttributes
- func (bs BasicScalingAttributes) IdleTimeout() terra.StringValue
- func (bs BasicScalingAttributes) InternalRef() (terra.Reference, error)
- func (bs BasicScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bs BasicScalingAttributes) InternalWithRef(ref terra.Reference) BasicScalingAttributes
- func (bs BasicScalingAttributes) MaxInstances() terra.NumberValue
- type BasicScalingState
- type Deployment
- type DeploymentAttributes
- func (d DeploymentAttributes) Files() terra.SetValue[DeploymentFilesAttributes]
- func (d DeploymentAttributes) InternalRef() (terra.Reference, error)
- func (d DeploymentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DeploymentAttributes) InternalWithRef(ref terra.Reference) DeploymentAttributes
- func (d DeploymentAttributes) Zip() terra.ListValue[DeploymentZipAttributes]
- type DeploymentFiles
- type DeploymentFilesAttributes
- func (f DeploymentFilesAttributes) InternalRef() (terra.Reference, error)
- func (f DeploymentFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DeploymentFilesAttributes) InternalWithRef(ref terra.Reference) DeploymentFilesAttributes
- func (f DeploymentFilesAttributes) Name() terra.StringValue
- func (f DeploymentFilesAttributes) Sha1Sum() terra.StringValue
- func (f DeploymentFilesAttributes) SourceUrl() terra.StringValue
- type DeploymentFilesState
- type DeploymentState
- type DeploymentZip
- type DeploymentZipAttributes
- func (z DeploymentZipAttributes) FilesCount() terra.NumberValue
- func (z DeploymentZipAttributes) InternalRef() (terra.Reference, error)
- func (z DeploymentZipAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (z DeploymentZipAttributes) InternalWithRef(ref terra.Reference) DeploymentZipAttributes
- func (z DeploymentZipAttributes) SourceUrl() terra.StringValue
- type DeploymentZipState
- type Entrypoint
- type EntrypointAttributes
- type EntrypointState
- type Handlers
- type HandlersAttributes
- func (h HandlersAttributes) AuthFailAction() terra.StringValue
- func (h HandlersAttributes) InternalRef() (terra.Reference, error)
- func (h HandlersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h HandlersAttributes) InternalWithRef(ref terra.Reference) HandlersAttributes
- func (h HandlersAttributes) Login() terra.StringValue
- func (h HandlersAttributes) RedirectHttpResponseCode() terra.StringValue
- func (h HandlersAttributes) Script() terra.ListValue[HandlersScriptAttributes]
- func (h HandlersAttributes) SecurityLevel() terra.StringValue
- func (h HandlersAttributes) StaticFiles() terra.ListValue[HandlersStaticFilesAttributes]
- func (h HandlersAttributes) UrlRegex() terra.StringValue
- type HandlersScript
- type HandlersScriptAttributes
- func (s HandlersScriptAttributes) InternalRef() (terra.Reference, error)
- func (s HandlersScriptAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s HandlersScriptAttributes) InternalWithRef(ref terra.Reference) HandlersScriptAttributes
- func (s HandlersScriptAttributes) ScriptPath() terra.StringValue
- type HandlersScriptState
- type HandlersState
- type HandlersStaticFiles
- type HandlersStaticFilesAttributes
- func (sf HandlersStaticFilesAttributes) ApplicationReadable() terra.BoolValue
- func (sf HandlersStaticFilesAttributes) Expiration() terra.StringValue
- func (sf HandlersStaticFilesAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
- func (sf HandlersStaticFilesAttributes) InternalRef() (terra.Reference, error)
- func (sf HandlersStaticFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sf HandlersStaticFilesAttributes) InternalWithRef(ref terra.Reference) HandlersStaticFilesAttributes
- func (sf HandlersStaticFilesAttributes) MimeType() terra.StringValue
- func (sf HandlersStaticFilesAttributes) Path() terra.StringValue
- func (sf HandlersStaticFilesAttributes) RequireMatchingFile() terra.BoolValue
- func (sf HandlersStaticFilesAttributes) UploadPathRegex() terra.StringValue
- type HandlersStaticFilesState
- type Libraries
- type LibrariesAttributes
- func (l LibrariesAttributes) InternalRef() (terra.Reference, error)
- func (l LibrariesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LibrariesAttributes) InternalWithRef(ref terra.Reference) LibrariesAttributes
- func (l LibrariesAttributes) Name() terra.StringValue
- func (l LibrariesAttributes) Version() terra.StringValue
- type LibrariesState
- type ManualScaling
- type ManualScalingAttributes
- func (ms ManualScalingAttributes) Instances() terra.NumberValue
- func (ms ManualScalingAttributes) InternalRef() (terra.Reference, error)
- func (ms ManualScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms ManualScalingAttributes) InternalWithRef(ref terra.Reference) ManualScalingAttributes
- type ManualScalingState
- type Resource
- func (gaesav *Resource) Attributes() googleAppEngineStandardAppVersionAttributes
- func (gaesav *Resource) Configuration() interface{}
- func (gaesav *Resource) DependOn() terra.Reference
- func (gaesav *Resource) Dependencies() terra.Dependencies
- func (gaesav *Resource) ImportState(state io.Reader) error
- func (gaesav *Resource) LifecycleManagement() *terra.Lifecycle
- func (gaesav *Resource) LocalName() string
- func (gaesav *Resource) State() (*googleAppEngineStandardAppVersionState, bool)
- func (gaesav *Resource) StateMust() *googleAppEngineStandardAppVersionState
- func (gaesav *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type VpcAccessConnector
- type VpcAccessConnectorAttributes
- func (vac VpcAccessConnectorAttributes) EgressSetting() terra.StringValue
- func (vac VpcAccessConnectorAttributes) InternalRef() (terra.Reference, error)
- func (vac VpcAccessConnectorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vac VpcAccessConnectorAttributes) InternalWithRef(ref terra.Reference) VpcAccessConnectorAttributes
- func (vac VpcAccessConnectorAttributes) Name() terra.StringValue
- type VpcAccessConnectorState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AppEngineApis: bool, optional AppEngineApis terra.BoolValue `hcl:"app_engine_apis,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"` // 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"` // Service: string, required Service terra.StringValue `hcl:"service,attr" validate:"required"` // ServiceAccount: string, optional ServiceAccount terra.StringValue `hcl:"service_account,attr"` // Threadsafe: bool, optional Threadsafe terra.BoolValue `hcl:"threadsafe,attr"` // VersionId: string, optional VersionId terra.StringValue `hcl:"version_id,attr"` // AutomaticScaling: optional AutomaticScaling *AutomaticScaling `hcl:"automatic_scaling,block"` // BasicScaling: optional BasicScaling *BasicScaling `hcl:"basic_scaling,block"` // Deployment: required Deployment *Deployment `hcl:"deployment,block" validate:"required"` // Entrypoint: required Entrypoint *Entrypoint `hcl:"entrypoint,block" validate:"required"` // Handlers: min=0 Handlers []Handlers `hcl:"handlers,block" validate:"min=0"` // Libraries: min=0 Libraries []Libraries `hcl:"libraries,block" validate:"min=0"` // ManualScaling: optional ManualScaling *ManualScaling `hcl:"manual_scaling,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_standard_app_version.
type AutomaticScaling ¶
type AutomaticScaling struct { // 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"` // MinIdleInstances: number, optional MinIdleInstances terra.NumberValue `hcl:"min_idle_instances,attr"` // MinPendingLatency: string, optional MinPendingLatency terra.StringValue `hcl:"min_pending_latency,attr"` // AutomaticScalingStandardSchedulerSettings: optional StandardSchedulerSettings *AutomaticScalingStandardSchedulerSettings `hcl:"standard_scheduler_settings,block"` }
type AutomaticScalingAttributes ¶
type AutomaticScalingAttributes struct {
// contains filtered or unexported fields
}
func (AutomaticScalingAttributes) InternalRef ¶
func (as AutomaticScalingAttributes) InternalRef() (terra.Reference, error)
func (AutomaticScalingAttributes) InternalTokens ¶
func (as AutomaticScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomaticScalingAttributes) InternalWithRef ¶
func (as AutomaticScalingAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingAttributes
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) MinIdleInstances ¶
func (as AutomaticScalingAttributes) MinIdleInstances() terra.NumberValue
func (AutomaticScalingAttributes) MinPendingLatency ¶
func (as AutomaticScalingAttributes) MinPendingLatency() terra.StringValue
func (AutomaticScalingAttributes) StandardSchedulerSettings ¶
func (as AutomaticScalingAttributes) StandardSchedulerSettings() terra.ListValue[AutomaticScalingStandardSchedulerSettingsAttributes]
type AutomaticScalingStandardSchedulerSettings ¶
type AutomaticScalingStandardSchedulerSettings struct { // MaxInstances: number, optional MaxInstances terra.NumberValue `hcl:"max_instances,attr"` // MinInstances: number, optional MinInstances terra.NumberValue `hcl:"min_instances,attr"` // TargetCpuUtilization: number, optional TargetCpuUtilization terra.NumberValue `hcl:"target_cpu_utilization,attr"` // TargetThroughputUtilization: number, optional TargetThroughputUtilization terra.NumberValue `hcl:"target_throughput_utilization,attr"` }
type AutomaticScalingStandardSchedulerSettingsAttributes ¶
type AutomaticScalingStandardSchedulerSettingsAttributes struct {
// contains filtered or unexported fields
}
func (AutomaticScalingStandardSchedulerSettingsAttributes) InternalRef ¶
func (sss AutomaticScalingStandardSchedulerSettingsAttributes) InternalRef() (terra.Reference, error)
func (AutomaticScalingStandardSchedulerSettingsAttributes) InternalTokens ¶
func (sss AutomaticScalingStandardSchedulerSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutomaticScalingStandardSchedulerSettingsAttributes) InternalWithRef ¶
func (sss AutomaticScalingStandardSchedulerSettingsAttributes) InternalWithRef(ref terra.Reference) AutomaticScalingStandardSchedulerSettingsAttributes
func (AutomaticScalingStandardSchedulerSettingsAttributes) MaxInstances ¶
func (sss AutomaticScalingStandardSchedulerSettingsAttributes) MaxInstances() terra.NumberValue
func (AutomaticScalingStandardSchedulerSettingsAttributes) MinInstances ¶
func (sss AutomaticScalingStandardSchedulerSettingsAttributes) MinInstances() terra.NumberValue
func (AutomaticScalingStandardSchedulerSettingsAttributes) TargetCpuUtilization ¶
func (sss AutomaticScalingStandardSchedulerSettingsAttributes) TargetCpuUtilization() terra.NumberValue
func (AutomaticScalingStandardSchedulerSettingsAttributes) TargetThroughputUtilization ¶
func (sss AutomaticScalingStandardSchedulerSettingsAttributes) TargetThroughputUtilization() terra.NumberValue
type AutomaticScalingState ¶
type AutomaticScalingState struct { MaxConcurrentRequests float64 `json:"max_concurrent_requests"` MaxIdleInstances float64 `json:"max_idle_instances"` MaxPendingLatency string `json:"max_pending_latency"` MinIdleInstances float64 `json:"min_idle_instances"` MinPendingLatency string `json:"min_pending_latency"` StandardSchedulerSettings []AutomaticScalingStandardSchedulerSettingsState `json:"standard_scheduler_settings"` }
type BasicScaling ¶
type BasicScaling struct { // IdleTimeout: string, optional IdleTimeout terra.StringValue `hcl:"idle_timeout,attr"` // MaxInstances: number, required MaxInstances terra.NumberValue `hcl:"max_instances,attr" validate:"required"` }
type BasicScalingAttributes ¶
type BasicScalingAttributes struct {
// contains filtered or unexported fields
}
func (BasicScalingAttributes) IdleTimeout ¶
func (bs BasicScalingAttributes) IdleTimeout() terra.StringValue
func (BasicScalingAttributes) InternalRef ¶
func (bs BasicScalingAttributes) InternalRef() (terra.Reference, error)
func (BasicScalingAttributes) InternalTokens ¶
func (bs BasicScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BasicScalingAttributes) InternalWithRef ¶
func (bs BasicScalingAttributes) InternalWithRef(ref terra.Reference) BasicScalingAttributes
func (BasicScalingAttributes) MaxInstances ¶
func (bs BasicScalingAttributes) MaxInstances() terra.NumberValue
type BasicScalingState ¶
type Deployment ¶
type Deployment struct { // 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) Files ¶
func (d DeploymentAttributes) Files() terra.SetValue[DeploymentFilesAttributes]
func (DeploymentAttributes) InternalRef ¶
func (d DeploymentAttributes) InternalRef() (terra.Reference, error)
func (DeploymentAttributes) InternalTokens ¶
func (d DeploymentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentAttributes) InternalWithRef ¶
func (d DeploymentAttributes) InternalWithRef(ref terra.Reference) DeploymentAttributes
func (DeploymentAttributes) Zip ¶
func (d DeploymentAttributes) Zip() terra.ListValue[DeploymentZipAttributes]
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 (f DeploymentFilesAttributes) InternalWithRef(ref terra.Reference) DeploymentFilesAttributes
func (DeploymentFilesAttributes) Name ¶
func (f DeploymentFilesAttributes) Name() terra.StringValue
func (DeploymentFilesAttributes) Sha1Sum ¶
func (f DeploymentFilesAttributes) Sha1Sum() terra.StringValue
func (DeploymentFilesAttributes) SourceUrl ¶
func (f DeploymentFilesAttributes) SourceUrl() terra.StringValue
type DeploymentFilesState ¶
type DeploymentState ¶
type DeploymentState struct { 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 (z DeploymentZipAttributes) InternalWithRef(ref terra.Reference) DeploymentZipAttributes
func (DeploymentZipAttributes) SourceUrl ¶
func (z DeploymentZipAttributes) SourceUrl() terra.StringValue
type DeploymentZipState ¶
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 (e EntrypointAttributes) InternalWithRef(ref terra.Reference) EntrypointAttributes
func (EntrypointAttributes) Shell ¶
func (e EntrypointAttributes) Shell() terra.StringValue
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 (h HandlersAttributes) Login() terra.StringValue
func (HandlersAttributes) RedirectHttpResponseCode ¶
func (h HandlersAttributes) RedirectHttpResponseCode() terra.StringValue
func (HandlersAttributes) Script ¶
func (h HandlersAttributes) Script() terra.ListValue[HandlersScriptAttributes]
func (HandlersAttributes) SecurityLevel ¶
func (h HandlersAttributes) SecurityLevel() terra.StringValue
func (HandlersAttributes) StaticFiles ¶
func (h HandlersAttributes) StaticFiles() terra.ListValue[HandlersStaticFilesAttributes]
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 (s HandlersScriptAttributes) InternalWithRef(ref terra.Reference) HandlersScriptAttributes
func (HandlersScriptAttributes) ScriptPath ¶
func (s HandlersScriptAttributes) ScriptPath() terra.StringValue
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 (sf HandlersStaticFilesAttributes) Expiration() terra.StringValue
func (HandlersStaticFilesAttributes) HttpHeaders ¶
func (sf HandlersStaticFilesAttributes) HttpHeaders() terra.MapValue[terra.StringValue]
func (HandlersStaticFilesAttributes) InternalRef ¶
func (sf HandlersStaticFilesAttributes) InternalRef() (terra.Reference, error)
func (HandlersStaticFilesAttributes) InternalTokens ¶
func (sf HandlersStaticFilesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HandlersStaticFilesAttributes) InternalWithRef ¶
func (sf HandlersStaticFilesAttributes) InternalWithRef(ref terra.Reference) HandlersStaticFilesAttributes
func (HandlersStaticFilesAttributes) MimeType ¶
func (sf HandlersStaticFilesAttributes) MimeType() terra.StringValue
func (HandlersStaticFilesAttributes) Path ¶
func (sf HandlersStaticFilesAttributes) Path() terra.StringValue
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 Libraries ¶
type Libraries struct { // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` }
type LibrariesAttributes ¶
type LibrariesAttributes struct {
// contains filtered or unexported fields
}
func (LibrariesAttributes) InternalRef ¶
func (l LibrariesAttributes) InternalRef() (terra.Reference, error)
func (LibrariesAttributes) InternalTokens ¶
func (l LibrariesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LibrariesAttributes) InternalWithRef ¶
func (l LibrariesAttributes) InternalWithRef(ref terra.Reference) LibrariesAttributes
func (LibrariesAttributes) Name ¶
func (l LibrariesAttributes) Name() terra.StringValue
func (LibrariesAttributes) Version ¶
func (l LibrariesAttributes) Version() terra.StringValue
type LibrariesState ¶
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 ¶
func (ms ManualScalingAttributes) InternalWithRef(ref terra.Reference) ManualScalingAttributes
type ManualScalingState ¶
type ManualScalingState struct {
Instances float64 `json:"instances"`
}
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_standard_app_version.
func (*Resource) Attributes ¶
func (gaesav *Resource) Attributes() googleAppEngineStandardAppVersionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gaesav *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gaesav *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type VpcAccessConnector ¶
type VpcAccessConnector struct { // EgressSetting: string, optional EgressSetting terra.StringValue `hcl:"egress_setting,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type VpcAccessConnectorAttributes ¶
type VpcAccessConnectorAttributes struct {
// contains filtered or unexported fields
}
func (VpcAccessConnectorAttributes) EgressSetting ¶
func (vac VpcAccessConnectorAttributes) EgressSetting() terra.StringValue
func (VpcAccessConnectorAttributes) InternalRef ¶
func (vac VpcAccessConnectorAttributes) InternalRef() (terra.Reference, error)
func (VpcAccessConnectorAttributes) InternalTokens ¶
func (vac VpcAccessConnectorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VpcAccessConnectorAttributes) InternalWithRef ¶
func (vac VpcAccessConnectorAttributes) InternalWithRef(ref terra.Reference) VpcAccessConnectorAttributes
func (VpcAccessConnectorAttributes) Name ¶
func (vac VpcAccessConnectorAttributes) Name() terra.StringValue
type VpcAccessConnectorState ¶
Click to show internal directories.
Click to hide internal directories.