Documentation ¶
Index ¶
- type Args
- type BuildConfig
- type BuildConfigAttributes
- func (bc BuildConfigAttributes) Build() terra.StringValue
- func (bc BuildConfigAttributes) DockerRepository() terra.StringValue
- func (bc BuildConfigAttributes) EntryPoint() terra.StringValue
- func (bc BuildConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (bc BuildConfigAttributes) InternalRef() (terra.Reference, error)
- func (bc BuildConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bc BuildConfigAttributes) InternalWithRef(ref terra.Reference) BuildConfigAttributes
- func (bc BuildConfigAttributes) Runtime() terra.StringValue
- func (bc BuildConfigAttributes) Source() terra.ListValue[BuildConfigSourceAttributes]
- func (bc BuildConfigAttributes) WorkerPool() terra.StringValue
- type BuildConfigSource
- type BuildConfigSourceAttributes
- func (s BuildConfigSourceAttributes) InternalRef() (terra.Reference, error)
- func (s BuildConfigSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s BuildConfigSourceAttributes) InternalWithRef(ref terra.Reference) BuildConfigSourceAttributes
- func (s BuildConfigSourceAttributes) RepoSource() terra.ListValue[BuildConfigSourceRepoSourceAttributes]
- func (s BuildConfigSourceAttributes) StorageSource() terra.ListValue[BuildConfigSourceStorageSourceAttributes]
- type BuildConfigSourceRepoSource
- type BuildConfigSourceRepoSourceAttributes
- func (rs BuildConfigSourceRepoSourceAttributes) BranchName() terra.StringValue
- func (rs BuildConfigSourceRepoSourceAttributes) CommitSha() terra.StringValue
- func (rs BuildConfigSourceRepoSourceAttributes) Dir() terra.StringValue
- func (rs BuildConfigSourceRepoSourceAttributes) InternalRef() (terra.Reference, error)
- func (rs BuildConfigSourceRepoSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rs BuildConfigSourceRepoSourceAttributes) InternalWithRef(ref terra.Reference) BuildConfigSourceRepoSourceAttributes
- func (rs BuildConfigSourceRepoSourceAttributes) InvertRegex() terra.BoolValue
- func (rs BuildConfigSourceRepoSourceAttributes) ProjectId() terra.StringValue
- func (rs BuildConfigSourceRepoSourceAttributes) RepoName() terra.StringValue
- func (rs BuildConfigSourceRepoSourceAttributes) TagName() terra.StringValue
- type BuildConfigSourceRepoSourceState
- type BuildConfigSourceState
- type BuildConfigSourceStorageSource
- type BuildConfigSourceStorageSourceAttributes
- func (ss BuildConfigSourceStorageSourceAttributes) Bucket() terra.StringValue
- func (ss BuildConfigSourceStorageSourceAttributes) Generation() terra.NumberValue
- func (ss BuildConfigSourceStorageSourceAttributes) InternalRef() (terra.Reference, error)
- func (ss BuildConfigSourceStorageSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss BuildConfigSourceStorageSourceAttributes) InternalWithRef(ref terra.Reference) BuildConfigSourceStorageSourceAttributes
- func (ss BuildConfigSourceStorageSourceAttributes) Object() terra.StringValue
- type BuildConfigSourceStorageSourceState
- type BuildConfigState
- type DataArgs
- type DataBuildConfigAttributes
- func (bc DataBuildConfigAttributes) Build() terra.StringValue
- func (bc DataBuildConfigAttributes) DockerRepository() terra.StringValue
- func (bc DataBuildConfigAttributes) EntryPoint() terra.StringValue
- func (bc DataBuildConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (bc DataBuildConfigAttributes) InternalRef() (terra.Reference, error)
- func (bc DataBuildConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bc DataBuildConfigAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigAttributes
- func (bc DataBuildConfigAttributes) Runtime() terra.StringValue
- func (bc DataBuildConfigAttributes) Source() terra.ListValue[DataBuildConfigSourceAttributes]
- func (bc DataBuildConfigAttributes) WorkerPool() terra.StringValue
- type DataBuildConfigSourceAttributes
- func (s DataBuildConfigSourceAttributes) InternalRef() (terra.Reference, error)
- func (s DataBuildConfigSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataBuildConfigSourceAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigSourceAttributes
- func (s DataBuildConfigSourceAttributes) RepoSource() terra.ListValue[DataBuildConfigSourceRepoSourceAttributes]
- func (s DataBuildConfigSourceAttributes) StorageSource() terra.ListValue[DataBuildConfigSourceStorageSourceAttributes]
- type DataBuildConfigSourceRepoSourceAttributes
- func (rs DataBuildConfigSourceRepoSourceAttributes) BranchName() terra.StringValue
- func (rs DataBuildConfigSourceRepoSourceAttributes) CommitSha() terra.StringValue
- func (rs DataBuildConfigSourceRepoSourceAttributes) Dir() terra.StringValue
- func (rs DataBuildConfigSourceRepoSourceAttributes) InternalRef() (terra.Reference, error)
- func (rs DataBuildConfigSourceRepoSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rs DataBuildConfigSourceRepoSourceAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigSourceRepoSourceAttributes
- func (rs DataBuildConfigSourceRepoSourceAttributes) InvertRegex() terra.BoolValue
- func (rs DataBuildConfigSourceRepoSourceAttributes) ProjectId() terra.StringValue
- func (rs DataBuildConfigSourceRepoSourceAttributes) RepoName() terra.StringValue
- func (rs DataBuildConfigSourceRepoSourceAttributes) TagName() terra.StringValue
- type DataBuildConfigSourceRepoSourceState
- type DataBuildConfigSourceState
- type DataBuildConfigSourceStorageSourceAttributes
- func (ss DataBuildConfigSourceStorageSourceAttributes) Bucket() terra.StringValue
- func (ss DataBuildConfigSourceStorageSourceAttributes) Generation() terra.NumberValue
- func (ss DataBuildConfigSourceStorageSourceAttributes) InternalRef() (terra.Reference, error)
- func (ss DataBuildConfigSourceStorageSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss DataBuildConfigSourceStorageSourceAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigSourceStorageSourceAttributes
- func (ss DataBuildConfigSourceStorageSourceAttributes) Object() terra.StringValue
- type DataBuildConfigSourceStorageSourceState
- type DataBuildConfigState
- type DataEventTriggerAttributes
- func (et DataEventTriggerAttributes) EventFilters() terra.SetValue[DataEventTriggerEventFiltersAttributes]
- func (et DataEventTriggerAttributes) EventType() terra.StringValue
- func (et DataEventTriggerAttributes) InternalRef() (terra.Reference, error)
- func (et DataEventTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (et DataEventTriggerAttributes) InternalWithRef(ref terra.Reference) DataEventTriggerAttributes
- func (et DataEventTriggerAttributes) PubsubTopic() terra.StringValue
- func (et DataEventTriggerAttributes) RetryPolicy() terra.StringValue
- func (et DataEventTriggerAttributes) ServiceAccountEmail() terra.StringValue
- func (et DataEventTriggerAttributes) Trigger() terra.StringValue
- func (et DataEventTriggerAttributes) TriggerRegion() terra.StringValue
- type DataEventTriggerEventFiltersAttributes
- func (ef DataEventTriggerEventFiltersAttributes) Attribute() terra.StringValue
- func (ef DataEventTriggerEventFiltersAttributes) InternalRef() (terra.Reference, error)
- func (ef DataEventTriggerEventFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ef DataEventTriggerEventFiltersAttributes) InternalWithRef(ref terra.Reference) DataEventTriggerEventFiltersAttributes
- func (ef DataEventTriggerEventFiltersAttributes) Operator() terra.StringValue
- func (ef DataEventTriggerEventFiltersAttributes) Value() terra.StringValue
- type DataEventTriggerEventFiltersState
- type DataEventTriggerState
- type DataServiceConfigAttributes
- func (sc DataServiceConfigAttributes) AllTrafficOnLatestRevision() terra.BoolValue
- func (sc DataServiceConfigAttributes) AvailableCpu() terra.StringValue
- func (sc DataServiceConfigAttributes) AvailableMemory() terra.StringValue
- func (sc DataServiceConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (sc DataServiceConfigAttributes) GcfUri() terra.StringValue
- func (sc DataServiceConfigAttributes) IngressSettings() terra.StringValue
- func (sc DataServiceConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc DataServiceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc DataServiceConfigAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigAttributes
- func (sc DataServiceConfigAttributes) MaxInstanceCount() terra.NumberValue
- func (sc DataServiceConfigAttributes) MaxInstanceRequestConcurrency() terra.NumberValue
- func (sc DataServiceConfigAttributes) MinInstanceCount() terra.NumberValue
- func (sc DataServiceConfigAttributes) SecretEnvironmentVariables() terra.ListValue[DataServiceConfigSecretEnvironmentVariablesAttributes]
- func (sc DataServiceConfigAttributes) SecretVolumes() terra.ListValue[DataServiceConfigSecretVolumesAttributes]
- func (sc DataServiceConfigAttributes) Service() terra.StringValue
- func (sc DataServiceConfigAttributes) ServiceAccountEmail() terra.StringValue
- func (sc DataServiceConfigAttributes) TimeoutSeconds() terra.NumberValue
- func (sc DataServiceConfigAttributes) Uri() terra.StringValue
- func (sc DataServiceConfigAttributes) VpcConnector() terra.StringValue
- func (sc DataServiceConfigAttributes) VpcConnectorEgressSettings() terra.StringValue
- type DataServiceConfigSecretEnvironmentVariablesAttributes
- func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) InternalRef() (terra.Reference, error)
- func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigSecretEnvironmentVariablesAttributes
- func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) Key() terra.StringValue
- func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) ProjectId() terra.StringValue
- func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) Secret() terra.StringValue
- func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) Version() terra.StringValue
- type DataServiceConfigSecretEnvironmentVariablesState
- type DataServiceConfigSecretVolumesAttributes
- func (sv DataServiceConfigSecretVolumesAttributes) InternalRef() (terra.Reference, error)
- func (sv DataServiceConfigSecretVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sv DataServiceConfigSecretVolumesAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigSecretVolumesAttributes
- func (sv DataServiceConfigSecretVolumesAttributes) MountPath() terra.StringValue
- func (sv DataServiceConfigSecretVolumesAttributes) ProjectId() terra.StringValue
- func (sv DataServiceConfigSecretVolumesAttributes) Secret() terra.StringValue
- func (sv DataServiceConfigSecretVolumesAttributes) Versions() terra.ListValue[DataServiceConfigSecretVolumesVersionsAttributes]
- type DataServiceConfigSecretVolumesState
- type DataServiceConfigSecretVolumesVersionsAttributes
- func (v DataServiceConfigSecretVolumesVersionsAttributes) InternalRef() (terra.Reference, error)
- func (v DataServiceConfigSecretVolumesVersionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v DataServiceConfigSecretVolumesVersionsAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigSecretVolumesVersionsAttributes
- func (v DataServiceConfigSecretVolumesVersionsAttributes) Path() terra.StringValue
- func (v DataServiceConfigSecretVolumesVersionsAttributes) Version() terra.StringValue
- type DataServiceConfigSecretVolumesVersionsState
- type DataServiceConfigState
- type DataSource
- type EventTrigger
- type EventTriggerAttributes
- func (et EventTriggerAttributes) EventFilters() terra.SetValue[EventTriggerEventFiltersAttributes]
- func (et EventTriggerAttributes) EventType() terra.StringValue
- func (et EventTriggerAttributes) InternalRef() (terra.Reference, error)
- func (et EventTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (et EventTriggerAttributes) InternalWithRef(ref terra.Reference) EventTriggerAttributes
- func (et EventTriggerAttributes) PubsubTopic() terra.StringValue
- func (et EventTriggerAttributes) RetryPolicy() terra.StringValue
- func (et EventTriggerAttributes) ServiceAccountEmail() terra.StringValue
- func (et EventTriggerAttributes) Trigger() terra.StringValue
- func (et EventTriggerAttributes) TriggerRegion() terra.StringValue
- type EventTriggerEventFilters
- type EventTriggerEventFiltersAttributes
- func (ef EventTriggerEventFiltersAttributes) Attribute() terra.StringValue
- func (ef EventTriggerEventFiltersAttributes) InternalRef() (terra.Reference, error)
- func (ef EventTriggerEventFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ef EventTriggerEventFiltersAttributes) InternalWithRef(ref terra.Reference) EventTriggerEventFiltersAttributes
- func (ef EventTriggerEventFiltersAttributes) Operator() terra.StringValue
- func (ef EventTriggerEventFiltersAttributes) Value() terra.StringValue
- type EventTriggerEventFiltersState
- type EventTriggerState
- type Resource
- func (gcf *Resource) Attributes() googleCloudfunctions2FunctionAttributes
- func (gcf *Resource) Configuration() interface{}
- func (gcf *Resource) DependOn() terra.Reference
- func (gcf *Resource) Dependencies() terra.Dependencies
- func (gcf *Resource) ImportState(state io.Reader) error
- func (gcf *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcf *Resource) LocalName() string
- func (gcf *Resource) State() (*googleCloudfunctions2FunctionState, bool)
- func (gcf *Resource) StateMust() *googleCloudfunctions2FunctionState
- func (gcf *Resource) Type() string
- type ServiceConfig
- type ServiceConfigAttributes
- func (sc ServiceConfigAttributes) AllTrafficOnLatestRevision() terra.BoolValue
- func (sc ServiceConfigAttributes) AvailableCpu() terra.StringValue
- func (sc ServiceConfigAttributes) AvailableMemory() terra.StringValue
- func (sc ServiceConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
- func (sc ServiceConfigAttributes) GcfUri() terra.StringValue
- func (sc ServiceConfigAttributes) IngressSettings() terra.StringValue
- func (sc ServiceConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc ServiceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ServiceConfigAttributes) InternalWithRef(ref terra.Reference) ServiceConfigAttributes
- func (sc ServiceConfigAttributes) MaxInstanceCount() terra.NumberValue
- func (sc ServiceConfigAttributes) MaxInstanceRequestConcurrency() terra.NumberValue
- func (sc ServiceConfigAttributes) MinInstanceCount() terra.NumberValue
- func (sc ServiceConfigAttributes) SecretEnvironmentVariables() terra.ListValue[ServiceConfigSecretEnvironmentVariablesAttributes]
- func (sc ServiceConfigAttributes) SecretVolumes() terra.ListValue[ServiceConfigSecretVolumesAttributes]
- func (sc ServiceConfigAttributes) Service() terra.StringValue
- func (sc ServiceConfigAttributes) ServiceAccountEmail() terra.StringValue
- func (sc ServiceConfigAttributes) TimeoutSeconds() terra.NumberValue
- func (sc ServiceConfigAttributes) Uri() terra.StringValue
- func (sc ServiceConfigAttributes) VpcConnector() terra.StringValue
- func (sc ServiceConfigAttributes) VpcConnectorEgressSettings() terra.StringValue
- type ServiceConfigSecretEnvironmentVariables
- type ServiceConfigSecretEnvironmentVariablesAttributes
- func (sev ServiceConfigSecretEnvironmentVariablesAttributes) InternalRef() (terra.Reference, error)
- func (sev ServiceConfigSecretEnvironmentVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sev ServiceConfigSecretEnvironmentVariablesAttributes) InternalWithRef(ref terra.Reference) ServiceConfigSecretEnvironmentVariablesAttributes
- func (sev ServiceConfigSecretEnvironmentVariablesAttributes) Key() terra.StringValue
- func (sev ServiceConfigSecretEnvironmentVariablesAttributes) ProjectId() terra.StringValue
- func (sev ServiceConfigSecretEnvironmentVariablesAttributes) Secret() terra.StringValue
- func (sev ServiceConfigSecretEnvironmentVariablesAttributes) Version() terra.StringValue
- type ServiceConfigSecretEnvironmentVariablesState
- type ServiceConfigSecretVolumes
- type ServiceConfigSecretVolumesAttributes
- func (sv ServiceConfigSecretVolumesAttributes) InternalRef() (terra.Reference, error)
- func (sv ServiceConfigSecretVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sv ServiceConfigSecretVolumesAttributes) InternalWithRef(ref terra.Reference) ServiceConfigSecretVolumesAttributes
- func (sv ServiceConfigSecretVolumesAttributes) MountPath() terra.StringValue
- func (sv ServiceConfigSecretVolumesAttributes) ProjectId() terra.StringValue
- func (sv ServiceConfigSecretVolumesAttributes) Secret() terra.StringValue
- func (sv ServiceConfigSecretVolumesAttributes) Versions() terra.ListValue[ServiceConfigSecretVolumesVersionsAttributes]
- type ServiceConfigSecretVolumesState
- type ServiceConfigSecretVolumesVersions
- type ServiceConfigSecretVolumesVersionsAttributes
- func (v ServiceConfigSecretVolumesVersionsAttributes) InternalRef() (terra.Reference, error)
- func (v ServiceConfigSecretVolumesVersionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v ServiceConfigSecretVolumesVersionsAttributes) InternalWithRef(ref terra.Reference) ServiceConfigSecretVolumesVersionsAttributes
- func (v ServiceConfigSecretVolumesVersionsAttributes) Path() terra.StringValue
- func (v ServiceConfigSecretVolumesVersionsAttributes) Version() terra.StringValue
- type ServiceConfigSecretVolumesVersionsState
- type ServiceConfigState
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyName: string, optional KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // BuildConfig: optional BuildConfig *BuildConfig `hcl:"build_config,block"` // EventTrigger: optional EventTrigger *EventTrigger `hcl:"event_trigger,block"` // ServiceConfig: optional ServiceConfig *ServiceConfig `hcl:"service_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_cloudfunctions2_function.
type BuildConfig ¶
type BuildConfig struct { // DockerRepository: string, optional DockerRepository terra.StringValue `hcl:"docker_repository,attr"` // EntryPoint: string, optional EntryPoint terra.StringValue `hcl:"entry_point,attr"` // EnvironmentVariables: map of string, optional EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"` // Runtime: string, optional Runtime terra.StringValue `hcl:"runtime,attr"` // WorkerPool: string, optional WorkerPool terra.StringValue `hcl:"worker_pool,attr"` // BuildConfigSource: optional Source *BuildConfigSource `hcl:"source,block"` }
type BuildConfigAttributes ¶
type BuildConfigAttributes struct {
// contains filtered or unexported fields
}
func (BuildConfigAttributes) Build ¶
func (bc BuildConfigAttributes) Build() terra.StringValue
func (BuildConfigAttributes) DockerRepository ¶
func (bc BuildConfigAttributes) DockerRepository() terra.StringValue
func (BuildConfigAttributes) EntryPoint ¶
func (bc BuildConfigAttributes) EntryPoint() terra.StringValue
func (BuildConfigAttributes) EnvironmentVariables ¶
func (bc BuildConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (BuildConfigAttributes) InternalRef ¶
func (bc BuildConfigAttributes) InternalRef() (terra.Reference, error)
func (BuildConfigAttributes) InternalTokens ¶
func (bc BuildConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BuildConfigAttributes) InternalWithRef ¶
func (bc BuildConfigAttributes) InternalWithRef(ref terra.Reference) BuildConfigAttributes
func (BuildConfigAttributes) Runtime ¶
func (bc BuildConfigAttributes) Runtime() terra.StringValue
func (BuildConfigAttributes) Source ¶
func (bc BuildConfigAttributes) Source() terra.ListValue[BuildConfigSourceAttributes]
func (BuildConfigAttributes) WorkerPool ¶
func (bc BuildConfigAttributes) WorkerPool() terra.StringValue
type BuildConfigSource ¶
type BuildConfigSource struct { // BuildConfigSourceRepoSource: optional RepoSource *BuildConfigSourceRepoSource `hcl:"repo_source,block"` // BuildConfigSourceStorageSource: optional StorageSource *BuildConfigSourceStorageSource `hcl:"storage_source,block"` }
type BuildConfigSourceAttributes ¶
type BuildConfigSourceAttributes struct {
// contains filtered or unexported fields
}
func (BuildConfigSourceAttributes) InternalRef ¶
func (s BuildConfigSourceAttributes) InternalRef() (terra.Reference, error)
func (BuildConfigSourceAttributes) InternalTokens ¶
func (s BuildConfigSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BuildConfigSourceAttributes) InternalWithRef ¶
func (s BuildConfigSourceAttributes) InternalWithRef(ref terra.Reference) BuildConfigSourceAttributes
func (BuildConfigSourceAttributes) RepoSource ¶
func (s BuildConfigSourceAttributes) RepoSource() terra.ListValue[BuildConfigSourceRepoSourceAttributes]
func (BuildConfigSourceAttributes) StorageSource ¶
func (s BuildConfigSourceAttributes) StorageSource() terra.ListValue[BuildConfigSourceStorageSourceAttributes]
type BuildConfigSourceRepoSource ¶
type BuildConfigSourceRepoSource struct { // BranchName: string, optional BranchName terra.StringValue `hcl:"branch_name,attr"` // CommitSha: string, optional CommitSha terra.StringValue `hcl:"commit_sha,attr"` // Dir: string, optional Dir terra.StringValue `hcl:"dir,attr"` // InvertRegex: bool, optional InvertRegex terra.BoolValue `hcl:"invert_regex,attr"` // ProjectId: string, optional ProjectId terra.StringValue `hcl:"project_id,attr"` // RepoName: string, optional RepoName terra.StringValue `hcl:"repo_name,attr"` // TagName: string, optional TagName terra.StringValue `hcl:"tag_name,attr"` }
type BuildConfigSourceRepoSourceAttributes ¶
type BuildConfigSourceRepoSourceAttributes struct {
// contains filtered or unexported fields
}
func (BuildConfigSourceRepoSourceAttributes) BranchName ¶
func (rs BuildConfigSourceRepoSourceAttributes) BranchName() terra.StringValue
func (BuildConfigSourceRepoSourceAttributes) CommitSha ¶
func (rs BuildConfigSourceRepoSourceAttributes) CommitSha() terra.StringValue
func (BuildConfigSourceRepoSourceAttributes) Dir ¶
func (rs BuildConfigSourceRepoSourceAttributes) Dir() terra.StringValue
func (BuildConfigSourceRepoSourceAttributes) InternalRef ¶
func (rs BuildConfigSourceRepoSourceAttributes) InternalRef() (terra.Reference, error)
func (BuildConfigSourceRepoSourceAttributes) InternalTokens ¶
func (rs BuildConfigSourceRepoSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BuildConfigSourceRepoSourceAttributes) InternalWithRef ¶
func (rs BuildConfigSourceRepoSourceAttributes) InternalWithRef(ref terra.Reference) BuildConfigSourceRepoSourceAttributes
func (BuildConfigSourceRepoSourceAttributes) InvertRegex ¶
func (rs BuildConfigSourceRepoSourceAttributes) InvertRegex() terra.BoolValue
func (BuildConfigSourceRepoSourceAttributes) ProjectId ¶
func (rs BuildConfigSourceRepoSourceAttributes) ProjectId() terra.StringValue
func (BuildConfigSourceRepoSourceAttributes) RepoName ¶
func (rs BuildConfigSourceRepoSourceAttributes) RepoName() terra.StringValue
func (BuildConfigSourceRepoSourceAttributes) TagName ¶
func (rs BuildConfigSourceRepoSourceAttributes) TagName() terra.StringValue
type BuildConfigSourceState ¶
type BuildConfigSourceState struct { RepoSource []BuildConfigSourceRepoSourceState `json:"repo_source"` StorageSource []BuildConfigSourceStorageSourceState `json:"storage_source"` }
type BuildConfigSourceStorageSource ¶
type BuildConfigSourceStorageSource struct { // Bucket: string, optional Bucket terra.StringValue `hcl:"bucket,attr"` // Generation: number, optional Generation terra.NumberValue `hcl:"generation,attr"` // Object: string, optional Object terra.StringValue `hcl:"object,attr"` }
type BuildConfigSourceStorageSourceAttributes ¶
type BuildConfigSourceStorageSourceAttributes struct {
// contains filtered or unexported fields
}
func (BuildConfigSourceStorageSourceAttributes) Bucket ¶
func (ss BuildConfigSourceStorageSourceAttributes) Bucket() terra.StringValue
func (BuildConfigSourceStorageSourceAttributes) Generation ¶
func (ss BuildConfigSourceStorageSourceAttributes) Generation() terra.NumberValue
func (BuildConfigSourceStorageSourceAttributes) InternalRef ¶
func (ss BuildConfigSourceStorageSourceAttributes) InternalRef() (terra.Reference, error)
func (BuildConfigSourceStorageSourceAttributes) InternalTokens ¶
func (ss BuildConfigSourceStorageSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BuildConfigSourceStorageSourceAttributes) InternalWithRef ¶
func (ss BuildConfigSourceStorageSourceAttributes) InternalWithRef(ref terra.Reference) BuildConfigSourceStorageSourceAttributes
func (BuildConfigSourceStorageSourceAttributes) Object ¶
func (ss BuildConfigSourceStorageSourceAttributes) Object() terra.StringValue
type BuildConfigState ¶
type BuildConfigState struct { Build string `json:"build"` DockerRepository string `json:"docker_repository"` EntryPoint string `json:"entry_point"` EnvironmentVariables map[string]string `json:"environment_variables"` Runtime string `json:"runtime"` WorkerPool string `json:"worker_pool"` Source []BuildConfigSourceState `json:"source"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` }
DataArgs contains the configurations for google_cloudfunctions2_function.
type DataBuildConfigAttributes ¶
type DataBuildConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataBuildConfigAttributes) Build ¶
func (bc DataBuildConfigAttributes) Build() terra.StringValue
func (DataBuildConfigAttributes) DockerRepository ¶
func (bc DataBuildConfigAttributes) DockerRepository() terra.StringValue
func (DataBuildConfigAttributes) EntryPoint ¶
func (bc DataBuildConfigAttributes) EntryPoint() terra.StringValue
func (DataBuildConfigAttributes) EnvironmentVariables ¶
func (bc DataBuildConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (DataBuildConfigAttributes) InternalRef ¶
func (bc DataBuildConfigAttributes) InternalRef() (terra.Reference, error)
func (DataBuildConfigAttributes) InternalTokens ¶
func (bc DataBuildConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBuildConfigAttributes) InternalWithRef ¶
func (bc DataBuildConfigAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigAttributes
func (DataBuildConfigAttributes) Runtime ¶
func (bc DataBuildConfigAttributes) Runtime() terra.StringValue
func (DataBuildConfigAttributes) Source ¶
func (bc DataBuildConfigAttributes) Source() terra.ListValue[DataBuildConfigSourceAttributes]
func (DataBuildConfigAttributes) WorkerPool ¶
func (bc DataBuildConfigAttributes) WorkerPool() terra.StringValue
type DataBuildConfigSourceAttributes ¶
type DataBuildConfigSourceAttributes struct {
// contains filtered or unexported fields
}
func (DataBuildConfigSourceAttributes) InternalRef ¶
func (s DataBuildConfigSourceAttributes) InternalRef() (terra.Reference, error)
func (DataBuildConfigSourceAttributes) InternalTokens ¶
func (s DataBuildConfigSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBuildConfigSourceAttributes) InternalWithRef ¶
func (s DataBuildConfigSourceAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigSourceAttributes
func (DataBuildConfigSourceAttributes) RepoSource ¶
func (s DataBuildConfigSourceAttributes) RepoSource() terra.ListValue[DataBuildConfigSourceRepoSourceAttributes]
func (DataBuildConfigSourceAttributes) StorageSource ¶
func (s DataBuildConfigSourceAttributes) StorageSource() terra.ListValue[DataBuildConfigSourceStorageSourceAttributes]
type DataBuildConfigSourceRepoSourceAttributes ¶
type DataBuildConfigSourceRepoSourceAttributes struct {
// contains filtered or unexported fields
}
func (DataBuildConfigSourceRepoSourceAttributes) BranchName ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) BranchName() terra.StringValue
func (DataBuildConfigSourceRepoSourceAttributes) CommitSha ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) CommitSha() terra.StringValue
func (DataBuildConfigSourceRepoSourceAttributes) Dir ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) Dir() terra.StringValue
func (DataBuildConfigSourceRepoSourceAttributes) InternalRef ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) InternalRef() (terra.Reference, error)
func (DataBuildConfigSourceRepoSourceAttributes) InternalTokens ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBuildConfigSourceRepoSourceAttributes) InternalWithRef ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigSourceRepoSourceAttributes
func (DataBuildConfigSourceRepoSourceAttributes) InvertRegex ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) InvertRegex() terra.BoolValue
func (DataBuildConfigSourceRepoSourceAttributes) ProjectId ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) ProjectId() terra.StringValue
func (DataBuildConfigSourceRepoSourceAttributes) RepoName ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) RepoName() terra.StringValue
func (DataBuildConfigSourceRepoSourceAttributes) TagName ¶
func (rs DataBuildConfigSourceRepoSourceAttributes) TagName() terra.StringValue
type DataBuildConfigSourceState ¶
type DataBuildConfigSourceState struct { RepoSource []DataBuildConfigSourceRepoSourceState `json:"repo_source"` StorageSource []DataBuildConfigSourceStorageSourceState `json:"storage_source"` }
type DataBuildConfigSourceStorageSourceAttributes ¶
type DataBuildConfigSourceStorageSourceAttributes struct {
// contains filtered or unexported fields
}
func (DataBuildConfigSourceStorageSourceAttributes) Bucket ¶
func (ss DataBuildConfigSourceStorageSourceAttributes) Bucket() terra.StringValue
func (DataBuildConfigSourceStorageSourceAttributes) Generation ¶
func (ss DataBuildConfigSourceStorageSourceAttributes) Generation() terra.NumberValue
func (DataBuildConfigSourceStorageSourceAttributes) InternalRef ¶
func (ss DataBuildConfigSourceStorageSourceAttributes) InternalRef() (terra.Reference, error)
func (DataBuildConfigSourceStorageSourceAttributes) InternalTokens ¶
func (ss DataBuildConfigSourceStorageSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBuildConfigSourceStorageSourceAttributes) InternalWithRef ¶
func (ss DataBuildConfigSourceStorageSourceAttributes) InternalWithRef(ref terra.Reference) DataBuildConfigSourceStorageSourceAttributes
func (DataBuildConfigSourceStorageSourceAttributes) Object ¶
func (ss DataBuildConfigSourceStorageSourceAttributes) Object() terra.StringValue
type DataBuildConfigState ¶
type DataBuildConfigState struct { Build string `json:"build"` DockerRepository string `json:"docker_repository"` EntryPoint string `json:"entry_point"` EnvironmentVariables map[string]string `json:"environment_variables"` Runtime string `json:"runtime"` WorkerPool string `json:"worker_pool"` Source []DataBuildConfigSourceState `json:"source"` }
type DataEventTriggerAttributes ¶
type DataEventTriggerAttributes struct {
// contains filtered or unexported fields
}
func (DataEventTriggerAttributes) EventFilters ¶
func (et DataEventTriggerAttributes) EventFilters() terra.SetValue[DataEventTriggerEventFiltersAttributes]
func (DataEventTriggerAttributes) EventType ¶
func (et DataEventTriggerAttributes) EventType() terra.StringValue
func (DataEventTriggerAttributes) InternalRef ¶
func (et DataEventTriggerAttributes) InternalRef() (terra.Reference, error)
func (DataEventTriggerAttributes) InternalTokens ¶
func (et DataEventTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEventTriggerAttributes) InternalWithRef ¶
func (et DataEventTriggerAttributes) InternalWithRef(ref terra.Reference) DataEventTriggerAttributes
func (DataEventTriggerAttributes) PubsubTopic ¶
func (et DataEventTriggerAttributes) PubsubTopic() terra.StringValue
func (DataEventTriggerAttributes) RetryPolicy ¶
func (et DataEventTriggerAttributes) RetryPolicy() terra.StringValue
func (DataEventTriggerAttributes) ServiceAccountEmail ¶
func (et DataEventTriggerAttributes) ServiceAccountEmail() terra.StringValue
func (DataEventTriggerAttributes) Trigger ¶
func (et DataEventTriggerAttributes) Trigger() terra.StringValue
func (DataEventTriggerAttributes) TriggerRegion ¶
func (et DataEventTriggerAttributes) TriggerRegion() terra.StringValue
type DataEventTriggerEventFiltersAttributes ¶
type DataEventTriggerEventFiltersAttributes struct {
// contains filtered or unexported fields
}
func (DataEventTriggerEventFiltersAttributes) Attribute ¶
func (ef DataEventTriggerEventFiltersAttributes) Attribute() terra.StringValue
func (DataEventTriggerEventFiltersAttributes) InternalRef ¶
func (ef DataEventTriggerEventFiltersAttributes) InternalRef() (terra.Reference, error)
func (DataEventTriggerEventFiltersAttributes) InternalTokens ¶
func (ef DataEventTriggerEventFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEventTriggerEventFiltersAttributes) InternalWithRef ¶
func (ef DataEventTriggerEventFiltersAttributes) InternalWithRef(ref terra.Reference) DataEventTriggerEventFiltersAttributes
func (DataEventTriggerEventFiltersAttributes) Operator ¶
func (ef DataEventTriggerEventFiltersAttributes) Operator() terra.StringValue
func (DataEventTriggerEventFiltersAttributes) Value ¶
func (ef DataEventTriggerEventFiltersAttributes) Value() terra.StringValue
type DataEventTriggerState ¶
type DataEventTriggerState struct { EventType string `json:"event_type"` PubsubTopic string `json:"pubsub_topic"` RetryPolicy string `json:"retry_policy"` ServiceAccountEmail string `json:"service_account_email"` Trigger string `json:"trigger"` TriggerRegion string `json:"trigger_region"` EventFilters []DataEventTriggerEventFiltersState `json:"event_filters"` }
type DataServiceConfigAttributes ¶
type DataServiceConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataServiceConfigAttributes) AllTrafficOnLatestRevision ¶
func (sc DataServiceConfigAttributes) AllTrafficOnLatestRevision() terra.BoolValue
func (DataServiceConfigAttributes) AvailableCpu ¶
func (sc DataServiceConfigAttributes) AvailableCpu() terra.StringValue
func (DataServiceConfigAttributes) AvailableMemory ¶
func (sc DataServiceConfigAttributes) AvailableMemory() terra.StringValue
func (DataServiceConfigAttributes) EnvironmentVariables ¶
func (sc DataServiceConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (DataServiceConfigAttributes) GcfUri ¶
func (sc DataServiceConfigAttributes) GcfUri() terra.StringValue
func (DataServiceConfigAttributes) IngressSettings ¶
func (sc DataServiceConfigAttributes) IngressSettings() terra.StringValue
func (DataServiceConfigAttributes) InternalRef ¶
func (sc DataServiceConfigAttributes) InternalRef() (terra.Reference, error)
func (DataServiceConfigAttributes) InternalTokens ¶
func (sc DataServiceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServiceConfigAttributes) InternalWithRef ¶
func (sc DataServiceConfigAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigAttributes
func (DataServiceConfigAttributes) MaxInstanceCount ¶
func (sc DataServiceConfigAttributes) MaxInstanceCount() terra.NumberValue
func (DataServiceConfigAttributes) MaxInstanceRequestConcurrency ¶
func (sc DataServiceConfigAttributes) MaxInstanceRequestConcurrency() terra.NumberValue
func (DataServiceConfigAttributes) MinInstanceCount ¶
func (sc DataServiceConfigAttributes) MinInstanceCount() terra.NumberValue
func (DataServiceConfigAttributes) SecretEnvironmentVariables ¶
func (sc DataServiceConfigAttributes) SecretEnvironmentVariables() terra.ListValue[DataServiceConfigSecretEnvironmentVariablesAttributes]
func (DataServiceConfigAttributes) SecretVolumes ¶
func (sc DataServiceConfigAttributes) SecretVolumes() terra.ListValue[DataServiceConfigSecretVolumesAttributes]
func (DataServiceConfigAttributes) Service ¶
func (sc DataServiceConfigAttributes) Service() terra.StringValue
func (DataServiceConfigAttributes) ServiceAccountEmail ¶
func (sc DataServiceConfigAttributes) ServiceAccountEmail() terra.StringValue
func (DataServiceConfigAttributes) TimeoutSeconds ¶
func (sc DataServiceConfigAttributes) TimeoutSeconds() terra.NumberValue
func (DataServiceConfigAttributes) Uri ¶
func (sc DataServiceConfigAttributes) Uri() terra.StringValue
func (DataServiceConfigAttributes) VpcConnector ¶
func (sc DataServiceConfigAttributes) VpcConnector() terra.StringValue
func (DataServiceConfigAttributes) VpcConnectorEgressSettings ¶
func (sc DataServiceConfigAttributes) VpcConnectorEgressSettings() terra.StringValue
type DataServiceConfigSecretEnvironmentVariablesAttributes ¶
type DataServiceConfigSecretEnvironmentVariablesAttributes struct {
// contains filtered or unexported fields
}
func (DataServiceConfigSecretEnvironmentVariablesAttributes) InternalRef ¶
func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) InternalRef() (terra.Reference, error)
func (DataServiceConfigSecretEnvironmentVariablesAttributes) InternalTokens ¶
func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServiceConfigSecretEnvironmentVariablesAttributes) InternalWithRef ¶
func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigSecretEnvironmentVariablesAttributes
func (DataServiceConfigSecretEnvironmentVariablesAttributes) Key ¶
func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) Key() terra.StringValue
func (DataServiceConfigSecretEnvironmentVariablesAttributes) ProjectId ¶
func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) ProjectId() terra.StringValue
func (DataServiceConfigSecretEnvironmentVariablesAttributes) Secret ¶
func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) Secret() terra.StringValue
func (DataServiceConfigSecretEnvironmentVariablesAttributes) Version ¶
func (sev DataServiceConfigSecretEnvironmentVariablesAttributes) Version() terra.StringValue
type DataServiceConfigSecretVolumesAttributes ¶
type DataServiceConfigSecretVolumesAttributes struct {
// contains filtered or unexported fields
}
func (DataServiceConfigSecretVolumesAttributes) InternalRef ¶
func (sv DataServiceConfigSecretVolumesAttributes) InternalRef() (terra.Reference, error)
func (DataServiceConfigSecretVolumesAttributes) InternalTokens ¶
func (sv DataServiceConfigSecretVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServiceConfigSecretVolumesAttributes) InternalWithRef ¶
func (sv DataServiceConfigSecretVolumesAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigSecretVolumesAttributes
func (DataServiceConfigSecretVolumesAttributes) MountPath ¶
func (sv DataServiceConfigSecretVolumesAttributes) MountPath() terra.StringValue
func (DataServiceConfigSecretVolumesAttributes) ProjectId ¶
func (sv DataServiceConfigSecretVolumesAttributes) ProjectId() terra.StringValue
func (DataServiceConfigSecretVolumesAttributes) Secret ¶
func (sv DataServiceConfigSecretVolumesAttributes) Secret() terra.StringValue
type DataServiceConfigSecretVolumesState ¶
type DataServiceConfigSecretVolumesState struct { MountPath string `json:"mount_path"` ProjectId string `json:"project_id"` Secret string `json:"secret"` Versions []DataServiceConfigSecretVolumesVersionsState `json:"versions"` }
type DataServiceConfigSecretVolumesVersionsAttributes ¶
type DataServiceConfigSecretVolumesVersionsAttributes struct {
// contains filtered or unexported fields
}
func (DataServiceConfigSecretVolumesVersionsAttributes) InternalRef ¶
func (v DataServiceConfigSecretVolumesVersionsAttributes) InternalRef() (terra.Reference, error)
func (DataServiceConfigSecretVolumesVersionsAttributes) InternalTokens ¶
func (v DataServiceConfigSecretVolumesVersionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServiceConfigSecretVolumesVersionsAttributes) InternalWithRef ¶
func (v DataServiceConfigSecretVolumesVersionsAttributes) InternalWithRef(ref terra.Reference) DataServiceConfigSecretVolumesVersionsAttributes
func (DataServiceConfigSecretVolumesVersionsAttributes) Path ¶
func (v DataServiceConfigSecretVolumesVersionsAttributes) Path() terra.StringValue
func (DataServiceConfigSecretVolumesVersionsAttributes) Version ¶
func (v DataServiceConfigSecretVolumesVersionsAttributes) Version() terra.StringValue
type DataServiceConfigState ¶
type DataServiceConfigState struct { AllTrafficOnLatestRevision bool `json:"all_traffic_on_latest_revision"` AvailableCpu string `json:"available_cpu"` AvailableMemory string `json:"available_memory"` EnvironmentVariables map[string]string `json:"environment_variables"` GcfUri string `json:"gcf_uri"` IngressSettings string `json:"ingress_settings"` MaxInstanceCount float64 `json:"max_instance_count"` MaxInstanceRequestConcurrency float64 `json:"max_instance_request_concurrency"` MinInstanceCount float64 `json:"min_instance_count"` Service string `json:"service"` ServiceAccountEmail string `json:"service_account_email"` TimeoutSeconds float64 `json:"timeout_seconds"` Uri string `json:"uri"` VpcConnector string `json:"vpc_connector"` VpcConnectorEgressSettings string `json:"vpc_connector_egress_settings"` SecretEnvironmentVariables []DataServiceConfigSecretEnvironmentVariablesState `json:"secret_environment_variables"` SecretVolumes []DataServiceConfigSecretVolumesState `json:"secret_volumes"` }
type DataSource ¶
DataSource represents the Terraform data resource google_cloudfunctions2_function.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gcf *DataSource) Attributes() dataGoogleCloudfunctions2FunctionAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gcf *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gcf *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gcf *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type EventTrigger ¶
type EventTrigger struct { // EventType: string, optional EventType terra.StringValue `hcl:"event_type,attr"` // PubsubTopic: string, optional PubsubTopic terra.StringValue `hcl:"pubsub_topic,attr"` // RetryPolicy: string, optional RetryPolicy terra.StringValue `hcl:"retry_policy,attr"` // ServiceAccountEmail: string, optional ServiceAccountEmail terra.StringValue `hcl:"service_account_email,attr"` // TriggerRegion: string, optional TriggerRegion terra.StringValue `hcl:"trigger_region,attr"` // EventTriggerEventFilters: min=0 EventFilters []EventTriggerEventFilters `hcl:"event_filters,block" validate:"min=0"` }
type EventTriggerAttributes ¶
type EventTriggerAttributes struct {
// contains filtered or unexported fields
}
func (EventTriggerAttributes) EventFilters ¶
func (et EventTriggerAttributes) EventFilters() terra.SetValue[EventTriggerEventFiltersAttributes]
func (EventTriggerAttributes) EventType ¶
func (et EventTriggerAttributes) EventType() terra.StringValue
func (EventTriggerAttributes) InternalRef ¶
func (et EventTriggerAttributes) InternalRef() (terra.Reference, error)
func (EventTriggerAttributes) InternalTokens ¶
func (et EventTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventTriggerAttributes) InternalWithRef ¶
func (et EventTriggerAttributes) InternalWithRef(ref terra.Reference) EventTriggerAttributes
func (EventTriggerAttributes) PubsubTopic ¶
func (et EventTriggerAttributes) PubsubTopic() terra.StringValue
func (EventTriggerAttributes) RetryPolicy ¶
func (et EventTriggerAttributes) RetryPolicy() terra.StringValue
func (EventTriggerAttributes) ServiceAccountEmail ¶
func (et EventTriggerAttributes) ServiceAccountEmail() terra.StringValue
func (EventTriggerAttributes) Trigger ¶
func (et EventTriggerAttributes) Trigger() terra.StringValue
func (EventTriggerAttributes) TriggerRegion ¶
func (et EventTriggerAttributes) TriggerRegion() terra.StringValue
type EventTriggerEventFilters ¶
type EventTriggerEventFilters struct { // Attribute: string, required Attribute terra.StringValue `hcl:"attribute,attr" validate:"required"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type EventTriggerEventFiltersAttributes ¶
type EventTriggerEventFiltersAttributes struct {
// contains filtered or unexported fields
}
func (EventTriggerEventFiltersAttributes) Attribute ¶
func (ef EventTriggerEventFiltersAttributes) Attribute() terra.StringValue
func (EventTriggerEventFiltersAttributes) InternalRef ¶
func (ef EventTriggerEventFiltersAttributes) InternalRef() (terra.Reference, error)
func (EventTriggerEventFiltersAttributes) InternalTokens ¶
func (ef EventTriggerEventFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventTriggerEventFiltersAttributes) InternalWithRef ¶
func (ef EventTriggerEventFiltersAttributes) InternalWithRef(ref terra.Reference) EventTriggerEventFiltersAttributes
func (EventTriggerEventFiltersAttributes) Operator ¶
func (ef EventTriggerEventFiltersAttributes) Operator() terra.StringValue
func (EventTriggerEventFiltersAttributes) Value ¶
func (ef EventTriggerEventFiltersAttributes) Value() terra.StringValue
type EventTriggerState ¶
type EventTriggerState struct { EventType string `json:"event_type"` PubsubTopic string `json:"pubsub_topic"` RetryPolicy string `json:"retry_policy"` ServiceAccountEmail string `json:"service_account_email"` Trigger string `json:"trigger"` TriggerRegion string `json:"trigger_region"` EventFilters []EventTriggerEventFiltersState `json:"event_filters"` }
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_cloudfunctions2_function.
func (*Resource) Attributes ¶
func (gcf *Resource) Attributes() googleCloudfunctions2FunctionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcf *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcf *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 ServiceConfig ¶
type ServiceConfig struct { // AllTrafficOnLatestRevision: bool, optional AllTrafficOnLatestRevision terra.BoolValue `hcl:"all_traffic_on_latest_revision,attr"` // AvailableCpu: string, optional AvailableCpu terra.StringValue `hcl:"available_cpu,attr"` // AvailableMemory: string, optional AvailableMemory terra.StringValue `hcl:"available_memory,attr"` // EnvironmentVariables: map of string, optional EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"` // IngressSettings: string, optional IngressSettings terra.StringValue `hcl:"ingress_settings,attr"` // MaxInstanceCount: number, optional MaxInstanceCount terra.NumberValue `hcl:"max_instance_count,attr"` // MaxInstanceRequestConcurrency: number, optional MaxInstanceRequestConcurrency terra.NumberValue `hcl:"max_instance_request_concurrency,attr"` // MinInstanceCount: number, optional MinInstanceCount terra.NumberValue `hcl:"min_instance_count,attr"` // Service: string, optional Service terra.StringValue `hcl:"service,attr"` // ServiceAccountEmail: string, optional ServiceAccountEmail terra.StringValue `hcl:"service_account_email,attr"` // TimeoutSeconds: number, optional TimeoutSeconds terra.NumberValue `hcl:"timeout_seconds,attr"` // VpcConnector: string, optional VpcConnector terra.StringValue `hcl:"vpc_connector,attr"` // VpcConnectorEgressSettings: string, optional VpcConnectorEgressSettings terra.StringValue `hcl:"vpc_connector_egress_settings,attr"` // ServiceConfigSecretEnvironmentVariables: min=0 SecretEnvironmentVariables []ServiceConfigSecretEnvironmentVariables `hcl:"secret_environment_variables,block" validate:"min=0"` // ServiceConfigSecretVolumes: min=0 SecretVolumes []ServiceConfigSecretVolumes `hcl:"secret_volumes,block" validate:"min=0"` }
type ServiceConfigAttributes ¶
type ServiceConfigAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConfigAttributes) AllTrafficOnLatestRevision ¶
func (sc ServiceConfigAttributes) AllTrafficOnLatestRevision() terra.BoolValue
func (ServiceConfigAttributes) AvailableCpu ¶
func (sc ServiceConfigAttributes) AvailableCpu() terra.StringValue
func (ServiceConfigAttributes) AvailableMemory ¶
func (sc ServiceConfigAttributes) AvailableMemory() terra.StringValue
func (ServiceConfigAttributes) EnvironmentVariables ¶
func (sc ServiceConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]
func (ServiceConfigAttributes) GcfUri ¶
func (sc ServiceConfigAttributes) GcfUri() terra.StringValue
func (ServiceConfigAttributes) IngressSettings ¶
func (sc ServiceConfigAttributes) IngressSettings() terra.StringValue
func (ServiceConfigAttributes) InternalRef ¶
func (sc ServiceConfigAttributes) InternalRef() (terra.Reference, error)
func (ServiceConfigAttributes) InternalTokens ¶
func (sc ServiceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConfigAttributes) InternalWithRef ¶
func (sc ServiceConfigAttributes) InternalWithRef(ref terra.Reference) ServiceConfigAttributes
func (ServiceConfigAttributes) MaxInstanceCount ¶
func (sc ServiceConfigAttributes) MaxInstanceCount() terra.NumberValue
func (ServiceConfigAttributes) MaxInstanceRequestConcurrency ¶
func (sc ServiceConfigAttributes) MaxInstanceRequestConcurrency() terra.NumberValue
func (ServiceConfigAttributes) MinInstanceCount ¶
func (sc ServiceConfigAttributes) MinInstanceCount() terra.NumberValue
func (ServiceConfigAttributes) SecretEnvironmentVariables ¶
func (sc ServiceConfigAttributes) SecretEnvironmentVariables() terra.ListValue[ServiceConfigSecretEnvironmentVariablesAttributes]
func (ServiceConfigAttributes) SecretVolumes ¶
func (sc ServiceConfigAttributes) SecretVolumes() terra.ListValue[ServiceConfigSecretVolumesAttributes]
func (ServiceConfigAttributes) Service ¶
func (sc ServiceConfigAttributes) Service() terra.StringValue
func (ServiceConfigAttributes) ServiceAccountEmail ¶
func (sc ServiceConfigAttributes) ServiceAccountEmail() terra.StringValue
func (ServiceConfigAttributes) TimeoutSeconds ¶
func (sc ServiceConfigAttributes) TimeoutSeconds() terra.NumberValue
func (ServiceConfigAttributes) Uri ¶
func (sc ServiceConfigAttributes) Uri() terra.StringValue
func (ServiceConfigAttributes) VpcConnector ¶
func (sc ServiceConfigAttributes) VpcConnector() terra.StringValue
func (ServiceConfigAttributes) VpcConnectorEgressSettings ¶
func (sc ServiceConfigAttributes) VpcConnectorEgressSettings() terra.StringValue
type ServiceConfigSecretEnvironmentVariables ¶
type ServiceConfigSecretEnvironmentVariables struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // ProjectId: string, required ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"` // Secret: string, required Secret terra.StringValue `hcl:"secret,attr" validate:"required"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type ServiceConfigSecretEnvironmentVariablesAttributes ¶
type ServiceConfigSecretEnvironmentVariablesAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConfigSecretEnvironmentVariablesAttributes) InternalRef ¶
func (sev ServiceConfigSecretEnvironmentVariablesAttributes) InternalRef() (terra.Reference, error)
func (ServiceConfigSecretEnvironmentVariablesAttributes) InternalTokens ¶
func (sev ServiceConfigSecretEnvironmentVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConfigSecretEnvironmentVariablesAttributes) InternalWithRef ¶
func (sev ServiceConfigSecretEnvironmentVariablesAttributes) InternalWithRef(ref terra.Reference) ServiceConfigSecretEnvironmentVariablesAttributes
func (ServiceConfigSecretEnvironmentVariablesAttributes) Key ¶
func (sev ServiceConfigSecretEnvironmentVariablesAttributes) Key() terra.StringValue
func (ServiceConfigSecretEnvironmentVariablesAttributes) ProjectId ¶
func (sev ServiceConfigSecretEnvironmentVariablesAttributes) ProjectId() terra.StringValue
func (ServiceConfigSecretEnvironmentVariablesAttributes) Secret ¶
func (sev ServiceConfigSecretEnvironmentVariablesAttributes) Secret() terra.StringValue
func (ServiceConfigSecretEnvironmentVariablesAttributes) Version ¶
func (sev ServiceConfigSecretEnvironmentVariablesAttributes) Version() terra.StringValue
type ServiceConfigSecretVolumes ¶
type ServiceConfigSecretVolumes struct { // MountPath: string, required MountPath terra.StringValue `hcl:"mount_path,attr" validate:"required"` // ProjectId: string, required ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"` // Secret: string, required Secret terra.StringValue `hcl:"secret,attr" validate:"required"` // ServiceConfigSecretVolumesVersions: min=0 Versions []ServiceConfigSecretVolumesVersions `hcl:"versions,block" validate:"min=0"` }
type ServiceConfigSecretVolumesAttributes ¶
type ServiceConfigSecretVolumesAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConfigSecretVolumesAttributes) InternalRef ¶
func (sv ServiceConfigSecretVolumesAttributes) InternalRef() (terra.Reference, error)
func (ServiceConfigSecretVolumesAttributes) InternalTokens ¶
func (sv ServiceConfigSecretVolumesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConfigSecretVolumesAttributes) InternalWithRef ¶
func (sv ServiceConfigSecretVolumesAttributes) InternalWithRef(ref terra.Reference) ServiceConfigSecretVolumesAttributes
func (ServiceConfigSecretVolumesAttributes) MountPath ¶
func (sv ServiceConfigSecretVolumesAttributes) MountPath() terra.StringValue
func (ServiceConfigSecretVolumesAttributes) ProjectId ¶
func (sv ServiceConfigSecretVolumesAttributes) ProjectId() terra.StringValue
func (ServiceConfigSecretVolumesAttributes) Secret ¶
func (sv ServiceConfigSecretVolumesAttributes) Secret() terra.StringValue
func (ServiceConfigSecretVolumesAttributes) Versions ¶
func (sv ServiceConfigSecretVolumesAttributes) Versions() terra.ListValue[ServiceConfigSecretVolumesVersionsAttributes]
type ServiceConfigSecretVolumesState ¶
type ServiceConfigSecretVolumesState struct { MountPath string `json:"mount_path"` ProjectId string `json:"project_id"` Secret string `json:"secret"` Versions []ServiceConfigSecretVolumesVersionsState `json:"versions"` }
type ServiceConfigSecretVolumesVersions ¶
type ServiceConfigSecretVolumesVersions struct { // Path: string, required Path terra.StringValue `hcl:"path,attr" validate:"required"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type ServiceConfigSecretVolumesVersionsAttributes ¶
type ServiceConfigSecretVolumesVersionsAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConfigSecretVolumesVersionsAttributes) InternalRef ¶
func (v ServiceConfigSecretVolumesVersionsAttributes) InternalRef() (terra.Reference, error)
func (ServiceConfigSecretVolumesVersionsAttributes) InternalTokens ¶
func (v ServiceConfigSecretVolumesVersionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConfigSecretVolumesVersionsAttributes) InternalWithRef ¶
func (v ServiceConfigSecretVolumesVersionsAttributes) InternalWithRef(ref terra.Reference) ServiceConfigSecretVolumesVersionsAttributes
func (ServiceConfigSecretVolumesVersionsAttributes) Path ¶
func (v ServiceConfigSecretVolumesVersionsAttributes) Path() terra.StringValue
func (ServiceConfigSecretVolumesVersionsAttributes) Version ¶
func (v ServiceConfigSecretVolumesVersionsAttributes) Version() terra.StringValue
type ServiceConfigState ¶
type ServiceConfigState struct { AllTrafficOnLatestRevision bool `json:"all_traffic_on_latest_revision"` AvailableCpu string `json:"available_cpu"` AvailableMemory string `json:"available_memory"` EnvironmentVariables map[string]string `json:"environment_variables"` GcfUri string `json:"gcf_uri"` IngressSettings string `json:"ingress_settings"` MaxInstanceCount float64 `json:"max_instance_count"` MaxInstanceRequestConcurrency float64 `json:"max_instance_request_concurrency"` MinInstanceCount float64 `json:"min_instance_count"` Service string `json:"service"` ServiceAccountEmail string `json:"service_account_email"` TimeoutSeconds float64 `json:"timeout_seconds"` Uri string `json:"uri"` VpcConnector string `json:"vpc_connector"` VpcConnectorEgressSettings string `json:"vpc_connector_egress_settings"` SecretEnvironmentVariables []ServiceConfigSecretEnvironmentVariablesState `json:"secret_environment_variables"` SecretVolumes []ServiceConfigSecretVolumesState `json:"secret_volumes"` }
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