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 const in 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 const members 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 metadata block of google_cloud_run_domain_mapping (derived from provider schema).
CloudRunDomainMappingSpec
Typed helper for the spec block of google_cloud_run_domain_mapping (derived from provider schema).
CloudRunServiceConfigMapRef
Typed helper for the template.spec.containers.env_from.config_map_ref block of google_cloud_run_service (derived from provider schema).
CloudRunServiceContainers
Typed helper for the template.spec.containers block of google_cloud_run_service (derived from provider schema).
CloudRunServiceCsi
Typed helper for the template.spec.volumes.csi block of google_cloud_run_service (derived from provider schema).
CloudRunServiceEmptyDir
Typed helper for the template.spec.volumes.empty_dir block of google_cloud_run_service (derived from provider schema).
CloudRunServiceEnv
Typed helper for the template.spec.containers.env block of google_cloud_run_service (derived from provider schema).
CloudRunServiceEnvFrom
Typed helper for the template.spec.containers.env_from block of google_cloud_run_service (derived from provider schema).
CloudRunServiceGrpc
Typed helper for the template.spec.containers.liveness_probe.grpc block of google_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_headers block of google_cloud_run_service (derived from provider schema). Shared by every block of this shape in the resource.
CloudRunServiceIamBindingCondition
Typed helper for the condition block of google_cloud_run_service_iam_binding (derived from provider schema).
CloudRunServiceIamMemberCondition
Typed helper for the condition block of google_cloud_run_service_iam_member (derived from provider schema).
CloudRunServiceItems
Typed helper for the template.spec.volumes.secret.items block of google_cloud_run_service (derived from provider schema).
CloudRunServiceLivenessProbe
Typed helper for the template.spec.containers.liveness_probe block of google_cloud_run_service (derived from provider schema).
CloudRunServiceLivenessProbeCheck
Exactly one of http_get, grpc on the template.spec.containers.liveness_probe block of google_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_get block of google_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_reference block of google_cloud_run_service (derived from provider schema). Shared by every block of this shape in the resource.
CloudRunServiceMetadata
Typed helper for the metadata block of google_cloud_run_service (derived from provider schema).
CloudRunServiceNfs
Typed helper for the template.spec.volumes.nfs block of google_cloud_run_service (derived from provider schema).
CloudRunServicePorts
Typed helper for the template.spec.containers.ports block of google_cloud_run_service (derived from provider schema).
CloudRunServiceReadinessProbe
Typed helper for the template.spec.containers.readiness_probe block of google_cloud_run_service (derived from provider schema).
CloudRunServiceReadinessProbeCheck
Exactly one of http_get, grpc on the template.spec.containers.readiness_probe block of google_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_get block of google_cloud_run_service (derived from provider schema).
CloudRunServiceResources
Typed helper for the template.spec.containers.resources block of google_cloud_run_service (derived from provider schema).
CloudRunServiceSecret
Typed helper for the template.spec.volumes.secret block of google_cloud_run_service (derived from provider schema).
CloudRunServiceSecretKeyRef
Typed helper for the template.spec.containers.env.value_from.secret_key_ref block of google_cloud_run_service (derived from provider schema).
CloudRunServiceSecretRef
Typed helper for the template.spec.containers.env_from.secret_ref block of google_cloud_run_service (derived from provider schema).
CloudRunServiceSpec
Typed helper for the template.spec block of google_cloud_run_service (derived from provider schema).
CloudRunServiceStartupProbe
Typed helper for the template.spec.containers.startup_probe block of google_cloud_run_service (derived from provider schema).
CloudRunServiceStartupProbeCheck
Exactly one of tcp_socket, http_get, grpc on the template.spec.containers.startup_probe block of google_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_socket block of google_cloud_run_service (derived from provider schema).
CloudRunServiceTemplate
Typed helper for the template block of google_cloud_run_service (derived from provider schema).
CloudRunServiceTemplateMetadata
Typed helper for the template.metadata block of google_cloud_run_service (derived from provider schema).
CloudRunServiceTraffic
Typed helper for the traffic block of google_cloud_run_service (derived from provider schema).
CloudRunServiceValueFrom
Typed helper for the template.spec.containers.env.value_from block of google_cloud_run_service (derived from provider schema).
CloudRunServiceVolumeMounts
Typed helper for the template.spec.containers.volume_mounts block of google_cloud_run_service (derived from provider schema).
CloudRunServiceVolumes
Typed helper for the template.spec.volumes block of google_cloud_run_service (derived from provider schema).
CloudRunV2JobBinaryAuthorization
Typed helper for the binary_authorization block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobCloudSqlInstance
Typed helper for the template.template.volumes.cloud_sql_instance block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobContainers
Typed helper for the template.template.containers block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobEmptyDir
Typed helper for the template.template.volumes.empty_dir block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobEnv
Typed helper for the template.template.containers.env block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobEnvSource
Exactly one of value, value_source on the template.template.containers.env block of google_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_token on google_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.gcs block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobGrpc
Typed helper for the template.template.containers.startup_probe.grpc block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobHttpGet
Typed helper for the template.template.containers.startup_probe.http_get block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobHttpHeaders
Typed helper for the template.template.containers.startup_probe.http_get.http_headers block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobIamBindingCondition
Typed helper for the condition block of google_cloud_run_v2_job_iam_binding (derived from provider schema).
CloudRunV2JobIamMemberCondition
Typed helper for the condition block of google_cloud_run_v2_job_iam_member (derived from provider schema).
CloudRunV2JobItems
Typed helper for the template.template.volumes.secret.items block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobNetworkInterfaces
Typed helper for the template.template.vpc_access.network_interfaces block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobNfs
Typed helper for the template.template.volumes.nfs block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobNodeSelector
Typed helper for the template.template.node_selector block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobPolicy
At most one of use_default, policy on the binary_authorization block of google_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.ports block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobResources
Typed helper for the template.template.containers.resources block of google_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.secret block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobSecretKeyRef
Typed helper for the template.template.containers.env.value_source.secret_key_ref block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobSource
Exactly one of cloud_sql_instance, empty_dir, gcs, nfs, secret on the template.template.volumes block of google_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_probe block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobTcpSocket
Typed helper for the template.template.containers.startup_probe.tcp_socket block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobTemplate
Typed helper for the template block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobTemplateTemplate
Typed helper for the template.template block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobValueSource
Typed helper for the template.template.containers.env.value_source block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobVolumeMounts
Typed helper for the template.template.containers.volume_mounts block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobVolumes
Typed helper for the template.template.volumes block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2JobVpcAccess
Typed helper for the template.template.vpc_access block of google_cloud_run_v2_job (derived from provider schema).
CloudRunV2ServiceBinaryAuthorization
Typed helper for the binary_authorization block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceBuildConfig
Typed helper for the build_config block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceCloudSqlInstance
Typed helper for the template.volumes.cloud_sql_instance block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceConnection
At most one of connector, network_interfaces on the template.vpc_access block of google_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.containers block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceEmptyDir
Typed helper for the template.volumes.empty_dir block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceEnv
Typed helper for the template.containers.env block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceEnvSource
Exactly one of value, value_source on the template.containers.env block of google_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.gcs block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceGrpc
Typed helper for the template.containers.liveness_probe.grpc block of google_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_headers block of google_cloud_run_v2_service (derived from provider schema). Shared by every block of this shape in the resource.
CloudRunV2ServiceIamBindingCondition
Typed helper for the condition block of google_cloud_run_v2_service_iam_binding (derived from provider schema).
CloudRunV2ServiceIamMemberCondition
Typed helper for the condition block of google_cloud_run_v2_service_iam_member (derived from provider schema).
CloudRunV2ServiceItems
Typed helper for the template.volumes.secret.items block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceLivenessProbe
Typed helper for the template.containers.liveness_probe block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceLivenessProbeHttpGet
Typed helper for the template.containers.liveness_probe.http_get block of google_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_socket block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceMultiRegionSettings
Typed helper for the multi_region_settings block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceNetworkInterfaces
Typed helper for the template.vpc_access.network_interfaces block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceNfs
Typed helper for the template.volumes.nfs block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceNodeSelector
Typed helper for the template.node_selector block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServicePolicy
At most one of use_default, policy on the binary_authorization block of google_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.ports block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceReadinessProbe
Typed helper for the template.containers.readiness_probe block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceReadinessProbeHttpGet
Typed helper for the template.containers.readiness_probe.http_get block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceResources
Typed helper for the template.containers.resources block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceSandboxes
Typed helper for the template.sandboxes block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceScaling
Typed helper for the scaling block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceSecret
Typed helper for the template.volumes.secret block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceSecretKeyRef
Typed helper for the template.containers.env.value_source.secret_key_ref block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceSource
Exactly one of cloud_sql_instance, empty_dir, gcs, nfs, secret on the template.volumes block of google_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_probe block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceStartupProbeTcpSocket
Typed helper for the template.containers.startup_probe.tcp_socket block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceTemplate
Typed helper for the template block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceTemplates
Typed helper for the template.sandboxes.templates block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceTemplateScaling
Typed helper for the template.scaling block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceTemplatesEnv
Typed helper for the template.sandboxes.templates.env block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceTraffic
Typed helper for the traffic block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceValueSource
Typed helper for the template.containers.env.value_source block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceVolumeMounts
Typed helper for the template.containers.volume_mounts block of google_cloud_run_v2_service (derived from provider schema). Shared by every block of this shape in the resource.
CloudRunV2ServiceVolumes
Typed helper for the template.volumes block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceVpcAccess
Typed helper for the template.vpc_access block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2ServiceWorkloadIdentityConfig
Typed helper for the template.workload_identity_config block of google_cloud_run_v2_service (derived from provider schema).
CloudRunV2WorkerPoolBinaryAuthorization
Typed helper for the binary_authorization block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolCloudSqlInstance
Typed helper for the template.volumes.cloud_sql_instance block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolContainers
Typed helper for the template.containers block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolEmptyDir
Typed helper for the template.volumes.empty_dir block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolEnv
Typed helper for the template.containers.env block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolEnvSource
Exactly one of value, value_source on the template.containers.env block of google_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.gcs block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolGrpc
Typed helper for the template.containers.liveness_probe.grpc block of google_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_get block of google_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_headers block of google_cloud_run_v2_worker_pool (derived from provider schema). Shared by every block of this shape in the resource.
CloudRunV2WorkerPoolIamBindingCondition
Typed helper for the condition block of google_cloud_run_v2_worker_pool_iam_binding (derived from provider schema).
CloudRunV2WorkerPoolIamMemberCondition
Typed helper for the condition block of google_cloud_run_v2_worker_pool_iam_member (derived from provider schema).
CloudRunV2WorkerPoolInstanceSplits
Typed helper for the instance_splits block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolItems
Typed helper for the template.volumes.secret.items block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolLivenessProbe
Typed helper for the template.containers.liveness_probe block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolNetworkInterfaces
Typed helper for the template.vpc_access.network_interfaces block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolNfs
Typed helper for the template.volumes.nfs block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolNodeSelector
Typed helper for the template.node_selector block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolPolicy
At most one of use_default, policy on the binary_authorization block of google_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.resources block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolScaling
Typed helper for the scaling block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolSecret
Typed helper for the template.volumes.secret block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolSecretKeyRef
Typed helper for the template.containers.env.value_source.secret_key_ref block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolSource
Exactly one of cloud_sql_instance, empty_dir, gcs, nfs, secret on the template.volumes block of google_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_probe block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolTcpSocket
Typed helper for the template.containers.liveness_probe.tcp_socket block of google_cloud_run_v2_worker_pool (derived from provider schema). Shared by every block of this shape in the resource.
CloudRunV2WorkerPoolTemplate
Typed helper for the template block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolValueSource
Typed helper for the template.containers.env.value_source block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolVolumeMounts
Typed helper for the template.containers.volume_mounts block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolVolumes
Typed helper for the template.volumes block of google_cloud_run_v2_worker_pool (derived from provider schema).
CloudRunV2WorkerPoolVpcAccess
Typed helper for the template.vpc_access block of google_cloud_run_v2_worker_pool (derived from provider schema).
DartDefineOutput
An output whose value is the client build's --dart-define file, registered with Stack.addDartDefineOutput.
Data
Base of every user-instantiable Terraform data block.
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_changes covers: every attribute, or the listed ones.
InvalidDartDefineOutput
An output of Stack.addDartDefineOutput that 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 lifecycle block Terraform rejects: a data source (or one of its attributes) in replaceTriggeredBy, all inside IgnoreChanges.of, or a condition with an empty error message.
InvalidMoveTarget
A moved block whose to names no resource of the Stack.
InvalidTimeout
A negative timeouts duration.
LifecycleCondition
A precondition or postcondition block: 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 (google for google_pubsub_topic), the one its provider meta-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.replaceTriggeredBy lists: a resource of the Stack or an attribute getter of one. Resource and TfRef implement it; synth reports a data source or a data-source attribute as an InvalidLifecycle.
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, and LocalBackend; anything else implements this interface in the caller. The Stack only stores the value and exposes a discriminator for synth's terraform { backend ... } emitter.
StackProvider
Coordination interface between Stack (in this package) and concrete providers (e.g. GoogleProvider in terradart_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(...) or map(...).
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 with Stack.addOutput.
TfPrimitiveType
string, number, bool or any.
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.variable or var.<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.ref whose 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 resource block or a data block 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 documents MEMORY; DISK is reserved per the Magic-Modules mirror but rejected by the provider today.
CloudRunV2JobExecutionEnvironment
Container sandbox environment for CloudRunV2JobTemplateTemplate.executionEnvironment. gen2 enables larger CPU tiers + GCSFuse volumes; gen1 keeps 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 so cloud_run.dart can export all three.
EmptyDirMedium
Storage medium for CloudRunV2ServiceEmptyDirVolume.medium. The schema only documents MEMORY for v2 services; encoded as an enum for type-safety and to keep the door open for DISK (MM lists it but the provider rejects it today).
ExecutionEnvironment
Container sandbox environment for CloudRunV2ServiceTemplate.executionEnvironment. gen2 enables GCSFuse volumes + larger CPU/memory tiers; gen1 keeps the legacy gVisor sandbox.
Ingress
Ingress restriction for google_cloud_run_v2_service.ingress. Controls which clients can reach the service URL. all is the default; the two internal* 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.outputEnvironment returns: 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. automatic lets the runtime pick instance count from min/max bounds; manual pins to a fixed CloudRunV2ServiceScaling.manualInstanceCount.
TrafficTargetAllocationType
Allocation type for one CloudRunV2ServiceTraffic split. latest always points at the newest Ready revision (so revision MUST be omitted); revision pins to the CloudRunV2ServiceTraffic.revision name.
VpcAccessEgress
Egress policy for CloudRunV2ServiceVpcAccess.egress (template.vpc_access.egress). allTraffic routes every outbound request through the connector or network interface; privateRangesOnly keeps 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 terradart command 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 env and 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 ModuleCall registered twice under one name.
DuplicateResourceError
Thrown by Stack.add when an entry with the same (kind, terraformType, localName) triple is registered twice.
SynthException
Thrown by Stack.synth() and Stack.writeTo() when the Stack has one or more SynthIssues. Nothing is written.