cloud_run library
Cloud Run v2 services + jobs, plus the legacy v1 service
(google_cloud_run_service). Prefer v2 for new stacks.
Classes
-
AppConstant<
T> -
A value the Stack hands to application code as a
static constin the generated AppExports file — known when synth runs, so the app compiles against it. - AppExports
-
Where synth writes the Dart file application code imports: the Stack's
constants, as the
static constmembers of<name>Constants, and a typed reader of its Terraform outputs,<name>Outputs. -
AttributeRef<
T> -
Public for sealed pattern matching, but constructor is private — only
TfRef.attribute()may construct instances. - CloudRunDomainMappingMetadata
-
Typed helper for the
metadatablock ofgoogle_cloud_run_domain_mapping(derived from provider schema). - CloudRunDomainMappingSpec
-
Typed helper for the
specblock ofgoogle_cloud_run_domain_mapping(derived from provider schema). - CloudRunServiceConfigMapRef
-
Typed helper for the
template.spec.containers.env_from.config_map_refblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceContainers
-
Typed helper for the
template.spec.containersblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceCsi
-
Typed helper for the
template.spec.volumes.csiblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceEmptyDir
-
Typed helper for the
template.spec.volumes.empty_dirblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceEnv
-
Typed helper for the
template.spec.containers.envblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceEnvFrom
-
Typed helper for the
template.spec.containers.env_fromblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceGrpc
-
Typed helper for the
template.spec.containers.liveness_probe.grpcblock ofgoogle_cloud_run_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunServiceHttpHeaders
-
Typed helper for the
template.spec.containers.liveness_probe.http_get.http_headersblock ofgoogle_cloud_run_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunServiceIamBindingCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_service_iam_binding(derived from provider schema). - CloudRunServiceIamMemberCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_service_iam_member(derived from provider schema). - CloudRunServiceItems
-
Typed helper for the
template.spec.volumes.secret.itemsblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceLivenessProbe
-
Typed helper for the
template.spec.containers.liveness_probeblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceLivenessProbeCheck
-
Exactly one of
http_get,grpcon thetemplate.spec.containers.liveness_probeblock ofgoogle_cloud_run_service: the provider rejects none and more than one, so each variant sets one of them. - CloudRunServiceLivenessProbeCheckGrpc
-
The CloudRunServiceLivenessProbeCheck.grpc choice: sets
grpc. - CloudRunServiceLivenessProbeCheckHttpGet
-
The CloudRunServiceLivenessProbeCheck.httpGet choice: sets
http_get. - CloudRunServiceLivenessProbeHttpGet
-
Typed helper for the
template.spec.containers.liveness_probe.http_getblock ofgoogle_cloud_run_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunServiceLocalObjectReference
-
Typed helper for the
template.spec.containers.env_from.config_map_ref.local_object_referenceblock ofgoogle_cloud_run_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunServiceMetadata
-
Typed helper for the
metadatablock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceNfs
-
Typed helper for the
template.spec.volumes.nfsblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServicePorts
-
Typed helper for the
template.spec.containers.portsblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceReadinessProbe
-
Typed helper for the
template.spec.containers.readiness_probeblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceReadinessProbeCheck
-
Exactly one of
http_get,grpcon thetemplate.spec.containers.readiness_probeblock ofgoogle_cloud_run_service: the provider rejects none and more than one, so each variant sets one of them. - CloudRunServiceReadinessProbeCheckGrpc
-
The CloudRunServiceReadinessProbeCheck.grpc choice: sets
grpc. - CloudRunServiceReadinessProbeCheckHttpGet
-
The CloudRunServiceReadinessProbeCheck.httpGet choice: sets
http_get. - CloudRunServiceReadinessProbeHttpGet
-
Typed helper for the
template.spec.containers.readiness_probe.http_getblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceResources
-
Typed helper for the
template.spec.containers.resourcesblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceSecret
-
Typed helper for the
template.spec.volumes.secretblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceSecretKeyRef
-
Typed helper for the
template.spec.containers.env.value_from.secret_key_refblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceSecretRef
-
Typed helper for the
template.spec.containers.env_from.secret_refblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceSpec
-
Typed helper for the
template.specblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceStartupProbe
-
Typed helper for the
template.spec.containers.startup_probeblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceStartupProbeCheck
-
Exactly one of
tcp_socket,http_get,grpcon thetemplate.spec.containers.startup_probeblock ofgoogle_cloud_run_service: the provider rejects none and more than one, so each variant sets one of them. - CloudRunServiceStartupProbeCheckGrpc
-
The CloudRunServiceStartupProbeCheck.grpc choice: sets
grpc. - CloudRunServiceStartupProbeCheckHttpGet
-
The CloudRunServiceStartupProbeCheck.httpGet choice: sets
http_get. - CloudRunServiceStartupProbeCheckTcpSocket
-
The CloudRunServiceStartupProbeCheck.tcpSocket choice: sets
tcp_socket. - CloudRunServiceTcpSocket
-
Typed helper for the
template.spec.containers.startup_probe.tcp_socketblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceTemplate
-
Typed helper for the
templateblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceTemplateMetadata
-
Typed helper for the
template.metadatablock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceTraffic
-
Typed helper for the
trafficblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceValueFrom
-
Typed helper for the
template.spec.containers.env.value_fromblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceVolumeMounts
-
Typed helper for the
template.spec.containers.volume_mountsblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunServiceVolumes
-
Typed helper for the
template.spec.volumesblock ofgoogle_cloud_run_service(derived from provider schema). - CloudRunV2JobBinaryAuthorization
-
Typed helper for the
binary_authorizationblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobCloudSqlInstance
-
Typed helper for the
template.template.volumes.cloud_sql_instanceblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobContainers
-
Typed helper for the
template.template.containersblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobEmptyDir
-
Typed helper for the
template.template.volumes.empty_dirblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobEnv
-
Typed helper for the
template.template.containers.envblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobEnvSource
-
Exactly one of
value,value_sourceon thetemplate.template.containers.envblock ofgoogle_cloud_run_v2_job: the provider rejects none and more than one, so each variant sets one of them. - CloudRunV2JobEnvSourceValue
-
The CloudRunV2JobEnvSource.value choice: sets
value. - CloudRunV2JobEnvValueSource
-
The CloudRunV2JobEnvSource.valueSource choice: sets
value_source. - CloudRunV2JobExecutionToken
-
At most one of
start_execution_token,run_execution_tokenongoogle_cloud_run_v2_job: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - CloudRunV2JobGcs
-
Typed helper for the
template.template.volumes.gcsblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobGrpc
-
Typed helper for the
template.template.containers.startup_probe.grpcblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobHttpGet
-
Typed helper for the
template.template.containers.startup_probe.http_getblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobHttpHeaders
-
Typed helper for the
template.template.containers.startup_probe.http_get.http_headersblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobIamBindingCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_v2_job_iam_binding(derived from provider schema). - CloudRunV2JobIamMemberCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_v2_job_iam_member(derived from provider schema). - CloudRunV2JobItems
-
Typed helper for the
template.template.volumes.secret.itemsblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobNetworkInterfaces
-
Typed helper for the
template.template.vpc_access.network_interfacesblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobNfs
-
Typed helper for the
template.template.volumes.nfsblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobNodeSelector
-
Typed helper for the
template.template.node_selectorblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobPolicy
-
At most one of
use_default,policyon thebinary_authorizationblock ofgoogle_cloud_run_v2_job: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - CloudRunV2JobPolicyChoice
-
The CloudRunV2JobPolicy.policy choice: sets
policy. - CloudRunV2JobPolicyUseDefault
-
The CloudRunV2JobPolicy.useDefault choice: sets
use_default. - CloudRunV2JobPorts
-
Typed helper for the
template.template.containers.portsblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobResources
-
Typed helper for the
template.template.containers.resourcesblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobRunExecutionToken
-
The CloudRunV2JobExecutionToken.runExecutionToken choice: sets
run_execution_token. - CloudRunV2JobSecret
-
Typed helper for the
template.template.volumes.secretblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobSecretKeyRef
-
Typed helper for the
template.template.containers.env.value_source.secret_key_refblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobSource
-
Exactly one of
cloud_sql_instance,empty_dir,gcs,nfs,secreton thetemplate.template.volumesblock ofgoogle_cloud_run_v2_job: the provider rejects none and more than one, so each variant sets one of them. - CloudRunV2JobSourceCloudSqlInstance
-
The CloudRunV2JobSource.cloudSqlInstance choice: sets
cloud_sql_instance. - CloudRunV2JobSourceEmptyDir
-
The CloudRunV2JobSource.emptyDir choice: sets
empty_dir. - CloudRunV2JobSourceGcs
-
The CloudRunV2JobSource.gcs choice: sets
gcs. - CloudRunV2JobSourceNfs
-
The CloudRunV2JobSource.nfs choice: sets
nfs. - CloudRunV2JobSourceSecret
-
The CloudRunV2JobSource.secret choice: sets
secret. - CloudRunV2JobStartExecutionToken
-
The CloudRunV2JobExecutionToken.startExecutionToken choice: sets
start_execution_token. - CloudRunV2JobStartupProbe
-
Typed helper for the
template.template.containers.startup_probeblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobTcpSocket
-
Typed helper for the
template.template.containers.startup_probe.tcp_socketblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobTemplate
-
Typed helper for the
templateblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobTemplateTemplate
-
Typed helper for the
template.templateblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobValueSource
-
Typed helper for the
template.template.containers.env.value_sourceblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobVolumeMounts
-
Typed helper for the
template.template.containers.volume_mountsblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobVolumes
-
Typed helper for the
template.template.volumesblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2JobVpcAccess
-
Typed helper for the
template.template.vpc_accessblock ofgoogle_cloud_run_v2_job(derived from provider schema). - CloudRunV2ServiceBinaryAuthorization
-
Typed helper for the
binary_authorizationblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceBuildConfig
-
Typed helper for the
build_configblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceCloudSqlInstance
-
Typed helper for the
template.volumes.cloud_sql_instanceblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceConnection
-
At most one of
connector,network_interfaceson thetemplate.vpc_accessblock ofgoogle_cloud_run_v2_service: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - CloudRunV2ServiceConnectionConnector
-
The CloudRunV2ServiceConnection.connector choice: sets
connector. - CloudRunV2ServiceConnectionNetworkInterfaces
-
The CloudRunV2ServiceConnection.networkInterfaces choice: sets
network_interfaces. - CloudRunV2ServiceContainers
-
Typed helper for the
template.containersblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceEmptyDir
-
Typed helper for the
template.volumes.empty_dirblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceEnv
-
Typed helper for the
template.containers.envblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceEnvSource
-
Exactly one of
value,value_sourceon thetemplate.containers.envblock ofgoogle_cloud_run_v2_service: the provider rejects none and more than one, so each variant sets one of them. - CloudRunV2ServiceEnvSourceValue
-
The CloudRunV2ServiceEnvSource.value choice: sets
value. - CloudRunV2ServiceEnvValueSource
-
The CloudRunV2ServiceEnvSource.valueSource choice: sets
value_source. - CloudRunV2ServiceGcs
-
Typed helper for the
template.volumes.gcsblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceGrpc
-
Typed helper for the
template.containers.liveness_probe.grpcblock ofgoogle_cloud_run_v2_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2ServiceHttpHeaders
-
Typed helper for the
template.containers.liveness_probe.http_get.http_headersblock ofgoogle_cloud_run_v2_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2ServiceIamBindingCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_v2_service_iam_binding(derived from provider schema). - CloudRunV2ServiceIamMemberCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_v2_service_iam_member(derived from provider schema). - CloudRunV2ServiceItems
-
Typed helper for the
template.volumes.secret.itemsblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceLivenessProbe
-
Typed helper for the
template.containers.liveness_probeblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceLivenessProbeHttpGet
-
Typed helper for the
template.containers.liveness_probe.http_getblock ofgoogle_cloud_run_v2_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2ServiceLivenessProbeTcpSocket
-
Typed helper for the
template.containers.liveness_probe.tcp_socketblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceMultiRegionSettings
-
Typed helper for the
multi_region_settingsblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceNetworkInterfaces
-
Typed helper for the
template.vpc_access.network_interfacesblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceNfs
-
Typed helper for the
template.volumes.nfsblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceNodeSelector
-
Typed helper for the
template.node_selectorblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServicePolicy
-
At most one of
use_default,policyon thebinary_authorizationblock ofgoogle_cloud_run_v2_service: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - CloudRunV2ServicePolicyChoice
-
The CloudRunV2ServicePolicy.policy choice: sets
policy. - CloudRunV2ServicePolicyUseDefault
-
The CloudRunV2ServicePolicy.useDefault choice: sets
use_default. - CloudRunV2ServicePorts
-
Typed helper for the
template.containers.portsblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceReadinessProbe
-
Typed helper for the
template.containers.readiness_probeblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceReadinessProbeHttpGet
-
Typed helper for the
template.containers.readiness_probe.http_getblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceResources
-
Typed helper for the
template.containers.resourcesblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceSandboxes
-
Typed helper for the
template.sandboxesblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceScaling
-
Typed helper for the
scalingblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceSecret
-
Typed helper for the
template.volumes.secretblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceSecretKeyRef
-
Typed helper for the
template.containers.env.value_source.secret_key_refblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceSource
-
Exactly one of
cloud_sql_instance,empty_dir,gcs,nfs,secreton thetemplate.volumesblock ofgoogle_cloud_run_v2_service: the provider rejects none and more than one, so each variant sets one of them. - CloudRunV2ServiceSourceCloudSqlInstance
-
The CloudRunV2ServiceSource.cloudSqlInstance choice: sets
cloud_sql_instance. - CloudRunV2ServiceSourceEmptyDir
-
The CloudRunV2ServiceSource.emptyDir choice: sets
empty_dir. - CloudRunV2ServiceSourceGcs
-
The CloudRunV2ServiceSource.gcs choice: sets
gcs. - CloudRunV2ServiceSourceNfs
-
The CloudRunV2ServiceSource.nfs choice: sets
nfs. - CloudRunV2ServiceSourceSecret
-
The CloudRunV2ServiceSource.secret choice: sets
secret. - CloudRunV2ServiceStartupProbe
-
Typed helper for the
template.containers.startup_probeblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceStartupProbeTcpSocket
-
Typed helper for the
template.containers.startup_probe.tcp_socketblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceTemplate
-
Typed helper for the
templateblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceTemplates
-
Typed helper for the
template.sandboxes.templatesblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceTemplateScaling
-
Typed helper for the
template.scalingblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceTemplatesEnv
-
Typed helper for the
template.sandboxes.templates.envblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceTraffic
-
Typed helper for the
trafficblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceValueSource
-
Typed helper for the
template.containers.env.value_sourceblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceVolumeMounts
-
Typed helper for the
template.containers.volume_mountsblock ofgoogle_cloud_run_v2_service(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2ServiceVolumes
-
Typed helper for the
template.volumesblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceVpcAccess
-
Typed helper for the
template.vpc_accessblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2ServiceWorkloadIdentityConfig
-
Typed helper for the
template.workload_identity_configblock ofgoogle_cloud_run_v2_service(derived from provider schema). - CloudRunV2WorkerPoolBinaryAuthorization
-
Typed helper for the
binary_authorizationblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolCloudSqlInstance
-
Typed helper for the
template.volumes.cloud_sql_instanceblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolContainers
-
Typed helper for the
template.containersblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolEmptyDir
-
Typed helper for the
template.volumes.empty_dirblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolEnv
-
Typed helper for the
template.containers.envblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolEnvSource
-
Exactly one of
value,value_sourceon thetemplate.containers.envblock ofgoogle_cloud_run_v2_worker_pool: the provider rejects none and more than one, so each variant sets one of them. - CloudRunV2WorkerPoolEnvSourceValue
-
The CloudRunV2WorkerPoolEnvSource.value choice: sets
value. - CloudRunV2WorkerPoolEnvValueSource
-
The CloudRunV2WorkerPoolEnvSource.valueSource choice: sets
value_source. - CloudRunV2WorkerPoolGcs
-
Typed helper for the
template.volumes.gcsblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolGrpc
-
Typed helper for the
template.containers.liveness_probe.grpcblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2WorkerPoolHttpGet
-
Typed helper for the
template.containers.liveness_probe.http_getblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2WorkerPoolHttpHeaders
-
Typed helper for the
template.containers.liveness_probe.http_get.http_headersblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2WorkerPoolIamBindingCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_v2_worker_pool_iam_binding(derived from provider schema). - CloudRunV2WorkerPoolIamMemberCondition
-
Typed helper for the
conditionblock ofgoogle_cloud_run_v2_worker_pool_iam_member(derived from provider schema). - CloudRunV2WorkerPoolInstanceSplits
-
Typed helper for the
instance_splitsblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolItems
-
Typed helper for the
template.volumes.secret.itemsblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolLivenessProbe
-
Typed helper for the
template.containers.liveness_probeblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolNetworkInterfaces
-
Typed helper for the
template.vpc_access.network_interfacesblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolNfs
-
Typed helper for the
template.volumes.nfsblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolNodeSelector
-
Typed helper for the
template.node_selectorblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolPolicy
-
At most one of
use_default,policyon thebinary_authorizationblock ofgoogle_cloud_run_v2_worker_pool: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - CloudRunV2WorkerPoolPolicyChoice
-
The CloudRunV2WorkerPoolPolicy.policy choice: sets
policy. - CloudRunV2WorkerPoolPolicyUseDefault
-
The CloudRunV2WorkerPoolPolicy.useDefault choice: sets
use_default. - CloudRunV2WorkerPoolResources
-
Typed helper for the
template.containers.resourcesblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolScaling
-
Typed helper for the
scalingblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolSecret
-
Typed helper for the
template.volumes.secretblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolSecretKeyRef
-
Typed helper for the
template.containers.env.value_source.secret_key_refblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolSource
-
Exactly one of
cloud_sql_instance,empty_dir,gcs,nfs,secreton thetemplate.volumesblock ofgoogle_cloud_run_v2_worker_pool: the provider rejects none and more than one, so each variant sets one of them. - CloudRunV2WorkerPoolSourceCloudSqlInstance
-
The CloudRunV2WorkerPoolSource.cloudSqlInstance choice: sets
cloud_sql_instance. - CloudRunV2WorkerPoolSourceEmptyDir
-
The CloudRunV2WorkerPoolSource.emptyDir choice: sets
empty_dir. - CloudRunV2WorkerPoolSourceGcs
-
The CloudRunV2WorkerPoolSource.gcs choice: sets
gcs. - CloudRunV2WorkerPoolSourceNfs
-
The CloudRunV2WorkerPoolSource.nfs choice: sets
nfs. - CloudRunV2WorkerPoolSourceSecret
-
The CloudRunV2WorkerPoolSource.secret choice: sets
secret. - CloudRunV2WorkerPoolStartupProbe
-
Typed helper for the
template.containers.startup_probeblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolTcpSocket
-
Typed helper for the
template.containers.liveness_probe.tcp_socketblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). Shared by every block of this shape in the resource. - CloudRunV2WorkerPoolTemplate
-
Typed helper for the
templateblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolValueSource
-
Typed helper for the
template.containers.env.value_sourceblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolVolumeMounts
-
Typed helper for the
template.containers.volume_mountsblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolVolumes
-
Typed helper for the
template.volumesblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - CloudRunV2WorkerPoolVpcAccess
-
Typed helper for the
template.vpc_accessblock ofgoogle_cloud_run_v2_worker_pool(derived from provider schema). - DartDefineOutput
-
An
outputwhose value is the client build's--dart-definefile, registered withStack.addDartDefineOutput. - Data
-
Base of every user-instantiable Terraform
datablock. - DataGoogleCloudRunLocations
-
Factory wrapper for
google_cloud_run_locations. - DataGoogleCloudRunService
-
Factory wrapper for
google_cloud_run_service. - DataGoogleCloudRunServiceIamPolicy
-
Factory wrapper for
google_cloud_run_service_iam_policy. - DataGoogleCloudRunV2Job
-
Factory wrapper for
google_cloud_run_v2_job. - DataGoogleCloudRunV2JobIamPolicy
-
Factory wrapper for
google_cloud_run_v2_job_iam_policy. - DataGoogleCloudRunV2Service
-
Factory wrapper for
google_cloud_run_v2_service. - DataGoogleCloudRunV2ServiceIamPolicy
-
Factory wrapper for
google_cloud_run_v2_service_iam_policy. - DataGoogleCloudRunV2WorkerPool
-
Factory wrapper for
google_cloud_run_v2_worker_pool. - DataGoogleCloudRunV2WorkerPoolIamPolicy
-
Factory wrapper for
google_cloud_run_v2_worker_pool_iam_policy. -
DataRef<
T> -
Public for sealed pattern matching, but constructor is private — only
TfRef.data()may construct instances. - EnvironmentConstant
- The AppConstant.fromEnvironment choice.
- GcsBackend
-
terraform { backend "gcs" { ... } }configuration. - GoogleCloudRunDomainMapping
-
Factory wrapper for
google_cloud_run_domain_mapping. - GoogleCloudRunService
-
Factory wrapper for
google_cloud_run_service. - GoogleCloudRunServiceIamBinding
-
Factory wrapper for
google_cloud_run_service_iam_binding. - GoogleCloudRunServiceIamMember
-
Factory wrapper for
google_cloud_run_service_iam_member. - GoogleCloudRunServiceIamPolicy
-
Factory wrapper for
google_cloud_run_service_iam_policy. - GoogleCloudRunV2Job
-
Factory wrapper for
google_cloud_run_v2_job. - GoogleCloudRunV2JobIamBinding
-
Factory wrapper for
google_cloud_run_v2_job_iam_binding. - GoogleCloudRunV2JobIamMember
-
Factory wrapper for
google_cloud_run_v2_job_iam_member. - GoogleCloudRunV2JobIamPolicy
-
Factory wrapper for
google_cloud_run_v2_job_iam_policy. - GoogleCloudRunV2Service
-
Factory wrapper for
google_cloud_run_v2_service. - GoogleCloudRunV2ServiceIamBinding
-
Factory wrapper for
google_cloud_run_v2_service_iam_binding. - GoogleCloudRunV2ServiceIamMember
-
Factory wrapper for
google_cloud_run_v2_service_iam_member. - GoogleCloudRunV2ServiceIamPolicy
-
Factory wrapper for
google_cloud_run_v2_service_iam_policy. - GoogleCloudRunV2WorkerPool
-
Factory wrapper for
google_cloud_run_v2_worker_pool. - GoogleCloudRunV2WorkerPoolIamBinding
-
Factory wrapper for
google_cloud_run_v2_worker_pool_iam_binding. - GoogleCloudRunV2WorkerPoolIamMember
-
Factory wrapper for
google_cloud_run_v2_worker_pool_iam_member. - GoogleCloudRunV2WorkerPoolIamPolicy
-
Factory wrapper for
google_cloud_run_v2_worker_pool_iam_policy. - IgnoreAllChanges
- IgnoreChanges.all.
- IgnoreAttributes
- IgnoreChanges.of.
- IgnoreChanges
-
What
ignore_changescovers: every attribute, or the listed ones. - InvalidDartDefineOutput
-
An output of
Stack.addDartDefineOutputthat cannot carry what it names: an output that is not registered, is sensitive or has no environment value, two outputs read from one variable, or no output at all. - InvalidLifecycle
-
A
lifecycleblock Terraform rejects: a data source (or one of its attributes) inreplaceTriggeredBy,allinside IgnoreChanges.of, or a condition with an empty error message. - InvalidMoveTarget
-
A
movedblock whosetonames no resource of the Stack. - InvalidTimeout
-
A negative
timeoutsduration. - LifecycleCondition
-
A
preconditionorpostconditionblock: Terraform fails the plan (LifecycleCondition.pre) or the apply (LifecycleCondition.post) with errorMessage when condition is false. - LifecycleOptions
-
lifecycle { ... }block on a resource. - LocalBackend
-
terraform { backend "local" { ... } }configuration. - MissingProvider
-
A block needs a provider configuration the Stack does not register:
the provider its type implies (
googleforgoogle_pubsub_topic), the one itsprovidermeta-argument names, or one a module call passes on. - ModuleCall
-
A
module "<localName>" { ... }call as a Dart value. - NoProviders
- The Stack registers no provider, but declares resources or data sources.
- ProviderConflict
- Two provider registrations Terraform rejects together: two defaults of one name, a repeated alias, an alias that is not an identifier, or configurations of one name with different source / version constraints.
-
RefConstant<
T> - The AppConstant.ref choice.
- ReplaceTrigger
-
What
lifecycle.replaceTriggeredBylists: a resource of the Stack or an attribute getter of one.Resourceand TfRef implement it; synth reports a data source or a data-source attribute as anInvalidLifecycle. - Resource
- Base of every user-instantiable Terraform resource.
- ResourceRef
-
Public for sealed pattern matching, but constructor is private — only
TfRef.resource()may construct instances. - S3Backend
-
terraform { backend "s3" { ... } }configuration. -
Sensitive<
T> -
What an argument Terraform marks sensitive takes: a variable, an
expression or an attribute getter — a value Terraform resolves, never a
Dart literal that would be written into
main.tf.json. - SensitiveLiteral
-
A sensitive field is set to a literal, which would write the secret in
plain text into
main.tf.json. - Stack
- User-extended IaC composition root.
- StackBackend
-
Lightweight backend hook. Core ships
GcsBackend,S3Backend, andLocalBackend; anything else implements this interface in the caller. TheStackonly stores the value and exposes a discriminator for synth'sterraform { backend ... }emitter. - StackProvider
-
Coordination interface between
Stack(in this package) and concrete providers (e.g.GoogleProviderinterradart_google). Concrete providers implement every getter using their baked-in constants from Stage 2 codegen. - SynthIssue
- One reason a Stack cannot be synthesized.
- SynthResult
-
Bundle returned by
StackSynth.synth. - TfAddressed
-
Anything that exposes a Terraform address, e.g.
google_pubsub_topic.orders. -
TfArg<
T> - A Terraform argument: a Dart-side literal, a reference to another block's attribute (TfRef), a variable or a raw expression.
-
TfArgExpression<
T> - A raw Terraform expression — the tf.json template string, verbatim.
-
TfArgLiteral<
T> -
TfArgVariable<
T> - TfCollectionType
-
list(...),set(...)ormap(...). - TfMoved
-
One
moved { from = ... to = ... }block: the state object at from now belongs to the resource at to, so a rename does not become a destroy-and-create. - TfObjectType
-
object({ ... }). - TfOptionalType
-
optional(<type>[, <default>]). -
TfOutput<
T> -
An
output "<name>" { value = ... }block, registered withStack.addOutput. - TfPrimitiveType
-
string,number,boolorany. -
TfRef<
T> - A Terraform-side reference: an attribute of a resource (AttributeRef) or a data source (DataRef), or a whole resource (ResourceRef).
- TfTimeouts
-
timeouts { ... }on a resource or data source: how long Terraform waits for each operation before giving up. - TfTupleType
-
tuple([...]). - TfType
-
A Terraform type constraint:
string,list(number),object({ name = string }). - TfVariable
-
One
variable "<name>" { ... }declaration. - UndeclaredVariable
-
A
TfArg.variableorvar.<name>in an expression names a variable the Stack does not declare. - UnregisteredReference
-
A block references another block that was never registered on the
Stack: built, but not passed to
add(...)/addModule(...). - UnresolvableConstant
-
An
AppConstant.refwhose value is not known at synth: the attribute is not set to a literal, is sensitive, does not match the constant's type, or belongs to a block that is not registered. -
ValueConstant<
T> - The AppConstant.value choice.
Enums
- ResourceKind
-
Whether a Stack entry is a
resourceblock or adatablock in Terraform JSON.
Extension Types
- CloudRunDomainMappingCertificateMode
-
certificate_mode— derived from the provider schema description. - CloudRunV2JobEmptyDirMedium
-
Storage medium for
CloudRunV2JobEmptyDirVolume.medium. The Cloud Run v2 Job schema documentsMEMORY;DISKis reserved per the Magic-Modules mirror but rejected by the provider today. - CloudRunV2JobExecutionEnvironment
-
Container sandbox environment for CloudRunV2JobTemplateTemplate.executionEnvironment.
gen2enables larger CPU tiers + GCSFuse volumes;gen1keeps the legacy gVisor sandbox. - CloudRunV2JobLaunchStage
-
Launch stage for
google_cloud_run_v2_job.launch_stage. Setting a pre-GA stage on input allows preview features in that stage; on read the field reflects the highest preview level actually used. - CloudRunV2JobVpcAccessEgress
-
Egress policy for CloudRunV2JobVpcAccess.egress (
template.template.vpc_access.egress). - CloudRunV2ServiceWorkloadIdentityType
- Identity a revision runs as (CloudRunV2ServiceWorkloadIdentityConfig.identityType).
- CloudRunV2WorkerPoolEgress
-
egress— derived from the provider schema description. - CloudRunV2WorkerPoolEncryptionKeyRevocationAction
- CloudRunV2WorkerPoolInstanceSplitType
- CloudRunV2WorkerPoolLaunchStage
-
Launch stage for
google_cloud_run_v2_worker_pool.launch_stage. Shares Terraform values with LaunchStage / CloudRunV2JobLaunchStage but uses a worker-pool-specific name socloud_run.dartcan export all three. - EmptyDirMedium
-
Storage medium for
CloudRunV2ServiceEmptyDirVolume.medium. The schema only documentsMEMORYfor v2 services; encoded as an enum for type-safety and to keep the door open forDISK(MM lists it but the provider rejects it today). - ExecutionEnvironment
-
Container sandbox environment for CloudRunV2ServiceTemplate.executionEnvironment.
gen2enables GCSFuse volumes + larger CPU/memory tiers;gen1keeps the legacy gVisor sandbox. - Ingress
-
Ingress restriction for
google_cloud_run_v2_service.ingress. Controls which clients can reach the service URL.allis the default; the twointernal*modes require Direct VPC egress or a load balancer in front. - LaunchStage
-
Launch stage for
google_cloud_run_v2_service.launch_stage. Setting a pre-GA stage on input allows preview features in that stage; on read the field reflects the highest preview level actually used. - OutputEnvironment
-
The environment
Stack.outputEnvironmentreturns: each variable and its value, in registration order. - RefTo
-
A reference to a resource of type
R, for an argument that names another resource (network,vpc_id,role_arn, ...). - ScalingMode
-
Scaling mode shared by service-level CloudRunV2ServiceScaling and (when
applicable) other Cloud Run v2 scaling blocks.
automaticlets the runtime pick instance count from min/max bounds;manualpins to a fixed CloudRunV2ServiceScaling.manualInstanceCount. - TrafficTargetAllocationType
-
Allocation type for one CloudRunV2ServiceTraffic split.
latestalways points at the newest Ready revision (sorevisionMUST be omitted);revisionpins to the CloudRunV2ServiceTraffic.revision name. - VpcAccessEgress
-
Egress policy for CloudRunV2ServiceVpcAccess.egress (
template.vpc_access.egress).allTrafficroutes every outbound request through the connector or network interface;privateRangesOnlykeeps RFC1918 + Google APIs inside the VPC and bypasses it for the public internet.
Extensions
-
RefToList
on TfArg<
List< RefTo< >R> > -
A list-valued reference argument (
security_group_ids,subnet_ids): a literal list of RefTos, or one value that is the whole list (TfArg.variable('subnet_ids'),TfArg.expression(...)). - TerraformDurationExt on Duration
- Converts a Dart Duration into a Terraform duration string ("604800s").
Constants
- terradartManifestVariable → const String
-
The environment variable the
terradartcommand sets to the file runStack and runEnvironments describe what they wrote in.
Functions
-
runEnvironments<
E extends Enum> (List< String> args, List<E> environments, Stack build(E env), {String dir(E env)?, String? workspace(E env)?, List<String> backendConfig(E env)?, E? defaultEnv}) → Future<void> -
The entry point of a project with one Stack per environment. The
environments are the members of an enum of the project's own — any
names, each carrying its values — so the Stack takes a typed
envand derives everything per environment from it, its backend included: -
runStack(
List< String> args, Stack build(), {String out = 'tf-out'}) → Future<void> -
The entry point of a project with one Stack: writes it to
out.
Exceptions / Errors
- DuplicateModuleError
-
A
ModuleCallregistered twice under one name. - DuplicateResourceError
-
Thrown by
Stack.addwhen an entry with the same(kind, terraformType, localName)triple is registered twice. - SynthException
-
Thrown by
Stack.synth()andStack.writeTo()when the Stack has one or more SynthIssues. Nothing is written.