os_config library

OS Config: VM Manager OS policy assignments, patch deployments, and v2 policy orchestrators.

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.
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.
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.
GoogleOsConfigOsPolicyAssignment
Factory wrapper for google_os_config_os_policy_assignment.
GoogleOsConfigPatchDeployment
Factory wrapper for google_os_config_patch_deployment.
GoogleOsConfigV2PolicyOrchestrator
Factory wrapper for google_os_config_v2_policy_orchestrator.
GoogleOsConfigV2PolicyOrchestratorForFolder
Factory wrapper for google_os_config_v2_policy_orchestrator_for_folder.
GoogleOsConfigV2PolicyOrchestratorForOrganization
Factory wrapper for google_os_config_v2_policy_orchestrator_for_organization.
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.
OsConfigOsPolicyAssignmentDeb
Typed helper for the os_policies.resource_groups.resources.pkg.deb block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentDisruptionBudget
Typed helper for the rollout.disruption_budget block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentEnforce
Typed helper for the os_policies.resource_groups.resources.exec.enforce block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentExclusionLabels
Typed helper for the instance_filter.exclusion_labels block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentExec
Typed helper for the os_policies.resource_groups.resources.exec block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentFile
Typed helper for the os_policies.resource_groups.resources.file block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentFileFile
Typed helper for the os_policies.resource_groups.resources.file.file block of google_os_config_os_policy_assignment (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigOsPolicyAssignmentGcs
Typed helper for the os_policies.resource_groups.resources.file.file.gcs block of google_os_config_os_policy_assignment (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigOsPolicyAssignmentGoo
Typed helper for the os_policies.resource_groups.resources.repository.goo block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentGooget
Typed helper for the os_policies.resource_groups.resources.pkg.googet block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentInclusionLabels
Typed helper for the instance_filter.inclusion_labels block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentInstanceFilter
Typed helper for the instance_filter block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentInventories
Typed helper for the instance_filter.inventories block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentInventoryFilters
Typed helper for the os_policies.resource_groups.inventory_filters block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentMsi
Typed helper for the os_policies.resource_groups.resources.pkg.msi block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentOsPolicies
Typed helper for the os_policies block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentPkg
Typed helper for the os_policies.resource_groups.resources.pkg block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentPkgApt
Typed helper for the os_policies.resource_groups.resources.pkg.apt block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentPkgYum
Typed helper for the os_policies.resource_groups.resources.pkg.yum block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentPkgZypper
Typed helper for the os_policies.resource_groups.resources.pkg.zypper block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentRemote
Typed helper for the os_policies.resource_groups.resources.file.file.remote block of google_os_config_os_policy_assignment (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigOsPolicyAssignmentRepository
Typed helper for the os_policies.resource_groups.resources.repository block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentRepositoryApt
Typed helper for the os_policies.resource_groups.resources.repository.apt block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentRepositoryYum
Typed helper for the os_policies.resource_groups.resources.repository.yum block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentRepositoryZypper
Typed helper for the os_policies.resource_groups.resources.repository.zypper block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentResourceGroups
Typed helper for the os_policies.resource_groups block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentResources
Typed helper for the os_policies.resource_groups.resources block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentRollout
Typed helper for the rollout block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentRpm
Typed helper for the os_policies.resource_groups.resources.pkg.rpm block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigOsPolicyAssignmentSource
Typed helper for the os_policies.resource_groups.resources.pkg.deb.source block of google_os_config_os_policy_assignment (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigOsPolicyAssignmentValidate
Typed helper for the os_policies.resource_groups.resources.exec.validate block of google_os_config_os_policy_assignment (derived from provider schema).
OsConfigPatchDeploymentApt
Typed helper for the patch_config.apt block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentDisruptionBudget
Exactly one of fixed, percentage on the rollout.disruption_budget block of google_os_config_patch_deployment: the provider rejects none and more than one, so each variant sets one of them.
OsConfigPatchDeploymentDisruptionBudgetFixed
The OsConfigPatchDeploymentDisruptionBudget.fixed choice: sets fixed.
OsConfigPatchDeploymentDisruptionBudgetPercentage
The OsConfigPatchDeploymentDisruptionBudget.percentage choice: sets percentage.
OsConfigPatchDeploymentGcsObject
Typed helper for the patch_config.post_step.linux_exec_step_config.gcs_object block of google_os_config_patch_deployment (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigPatchDeploymentGoo
Typed helper for the patch_config.goo block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentGroupLabels
Typed helper for the instance_filter.group_labels block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentInstanceFilter
Typed helper for the instance_filter block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentLinuxExecStepConfig
Typed helper for the patch_config.post_step.linux_exec_step_config block of google_os_config_patch_deployment (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigPatchDeploymentLinuxExecStepConfigScript
Exactly one of local_path, gcs_object on the patch_config.post_step.linux_exec_step_config block of google_os_config_patch_deployment: the provider rejects none and more than one, so each variant sets one of them.
OsConfigPatchDeploymentLinuxExecStepConfigScriptGcsObject
The OsConfigPatchDeploymentLinuxExecStepConfigScript.gcsObject choice: sets gcs_object.
OsConfigPatchDeploymentLinuxExecStepConfigScriptLocalPath
The OsConfigPatchDeploymentLinuxExecStepConfigScript.localPath choice: sets local_path.
OsConfigPatchDeploymentMonthly
Exactly one of week_day_of_month, month_day on the recurring_schedule.monthly block of google_os_config_patch_deployment: the provider rejects none and more than one, so each variant sets one of them.
OsConfigPatchDeploymentMonthlyMonthDay
The OsConfigPatchDeploymentMonthly.monthDay choice: sets month_day.
OsConfigPatchDeploymentMonthlyWeekDayOfMonth
The OsConfigPatchDeploymentMonthly.weekDayOfMonth choice: sets week_day_of_month.
OsConfigPatchDeploymentOneTimeSchedule
Typed helper for the one_time_schedule block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentOneTimeScheduleChoice
The OsConfigPatchDeploymentSchedule.oneTimeSchedule choice: sets one_time_schedule.
OsConfigPatchDeploymentPatchConfig
Typed helper for the patch_config block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentPostStep
Typed helper for the patch_config.post_step block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentPreStep
Typed helper for the patch_config.pre_step block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentRecurringSchedule
Typed helper for the recurring_schedule block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentRecurringScheduleChoice
The OsConfigPatchDeploymentSchedule.recurringSchedule choice: sets recurring_schedule.
OsConfigPatchDeploymentRollout
Typed helper for the rollout block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentSchedule
Exactly one of one_time_schedule, recurring_schedule on google_os_config_patch_deployment: the provider rejects none and more than one, so each variant sets one of them.
OsConfigPatchDeploymentTimeOfDay
Typed helper for the recurring_schedule.time_of_day block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentTimeZone
Typed helper for the recurring_schedule.time_zone block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentWeekDayOfMonth
Typed helper for the recurring_schedule.monthly.week_day_of_month block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentWeekly
Typed helper for the recurring_schedule.weekly block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentWindowsExecStepConfig
Typed helper for the patch_config.post_step.windows_exec_step_config block of google_os_config_patch_deployment (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigPatchDeploymentWindowsExecStepConfigScript
Exactly one of local_path, gcs_object on the patch_config.post_step.windows_exec_step_config block of google_os_config_patch_deployment: the provider rejects none and more than one, so each variant sets one of them.
OsConfigPatchDeploymentWindowsExecStepConfigScriptGcsObject
The OsConfigPatchDeploymentWindowsExecStepConfigScript.gcsObject choice: sets gcs_object.
OsConfigPatchDeploymentWindowsExecStepConfigScriptLocalPath
The OsConfigPatchDeploymentWindowsExecStepConfigScript.localPath choice: sets local_path.
OsConfigPatchDeploymentWindowsUpdate
Typed helper for the patch_config.windows_update block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentYum
Typed helper for the patch_config.yum block of google_os_config_patch_deployment (derived from provider schema).
OsConfigPatchDeploymentZypper
Typed helper for the patch_config.zypper block of google_os_config_patch_deployment (derived from provider schema).
OsConfigV2PolicyOrchestratorDeb
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.deb block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorDisruptionBudget
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.rollout.disruption_budget block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorEnforce
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec.enforce block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorExclusionLabels
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.exclusion_labels block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorExec
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorFile
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorFileFile
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file block of google_os_config_v2_policy_orchestrator (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForFolderDeb
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.deb block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderDisruptionBudget
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.rollout.disruption_budget block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderEnforce
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec.enforce block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderExclusionLabels
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.exclusion_labels block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderExec
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderFile
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderFileFile
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForFolderGcs
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file.gcs block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForFolderGoo
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.goo block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderGooget
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.googet block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderInclusionLabels
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.inclusion_labels block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderInstanceFilter
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderInventories
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.inventories block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderInventoryFilters
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.inventory_filters block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderLocationSelector
Typed helper for the orchestration_scope.selectors.location_selector block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderMsi
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.msi block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderOrchestratedResource
Typed helper for the orchestrated_resource block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderOrchestrationScope
Typed helper for the orchestration_scope block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderOsPolicies
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderOsPolicyAssignmentV1Payload
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderPkg
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderPkgApt
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.apt block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderPkgYum
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.yum block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderPkgZypper
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.zypper block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderRemote
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file.remote block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForFolderRepository
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderRepositoryApt
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.apt block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderRepositoryYum
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.yum block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderRepositoryZypper
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.zypper block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderResourceGroups
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderResourceHierarchySelector
Typed helper for the orchestration_scope.selectors.resource_hierarchy_selector block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderResources
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderRollout
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.rollout block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderRpm
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.rpm block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderSelectors
Typed helper for the orchestration_scope.selectors block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForFolderSource
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.deb.source block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForFolderValidate
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec.validate block of google_os_config_v2_policy_orchestrator_for_folder (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationDeb
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.deb block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationDisruptionBudget
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.rollout.disruption_budget block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationEnforce
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec.enforce block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationExclusionLabels
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.exclusion_labels block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationExec
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationFile
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationFileFile
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForOrganizationGcs
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file.gcs block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForOrganizationGoo
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.goo block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationGooget
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.googet block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationInclusionLabels
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.inclusion_labels block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationInstanceFilter
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationInventories
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.inventories block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationInventoryFilters
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.inventory_filters block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationLocationSelector
Typed helper for the orchestration_scope.selectors.location_selector block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationMsi
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.msi block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationOrchestratedResource
Typed helper for the orchestrated_resource block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationOrchestrationScope
Typed helper for the orchestration_scope block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationOsPolicies
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationOsPolicyAssignmentV1Payload
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationPkg
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationPkgApt
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.apt block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationPkgYum
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.yum block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationPkgZypper
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.zypper block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationRemote
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file.remote block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForOrganizationRepository
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationRepositoryApt
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.apt block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationRepositoryYum
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.yum block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationRepositoryZypper
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.zypper block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationResourceGroups
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationResourceHierarchySelector
Typed helper for the orchestration_scope.selectors.resource_hierarchy_selector block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationResources
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationRollout
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.rollout block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationRpm
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.rpm block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationSelectors
Typed helper for the orchestration_scope.selectors block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorForOrganizationSource
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.deb.source block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorForOrganizationValidate
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec.validate block of google_os_config_v2_policy_orchestrator_for_organization (derived from provider schema).
OsConfigV2PolicyOrchestratorGcs
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file.gcs block of google_os_config_v2_policy_orchestrator (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorGoo
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.goo block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorGooget
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.googet block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorInclusionLabels
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.inclusion_labels block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorInstanceFilter
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorInventories
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.instance_filter.inventories block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorInventoryFilters
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.inventory_filters block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorLocationSelector
Typed helper for the orchestration_scope.selectors.location_selector block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorMsi
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.msi block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorOrchestratedResource
Typed helper for the orchestrated_resource block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorOrchestrationScope
Typed helper for the orchestration_scope block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorOsPolicies
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorOsPolicyAssignmentV1Payload
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorPkg
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorPkgApt
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.apt block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorPkgYum
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.yum block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorPkgZypper
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.zypper block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorRemote
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.file.file.remote block of google_os_config_v2_policy_orchestrator (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorRepository
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorRepositoryApt
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.apt block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorRepositoryYum
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.yum block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorRepositoryZypper
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.repository.zypper block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorResourceGroups
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorResourceHierarchySelector
Typed helper for the orchestration_scope.selectors.resource_hierarchy_selector block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorResources
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorRollout
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.rollout block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorRpm
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.rpm block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorSelectors
Typed helper for the orchestration_scope.selectors block of google_os_config_v2_policy_orchestrator (derived from provider schema).
OsConfigV2PolicyOrchestratorSource
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.pkg.deb.source block of google_os_config_v2_policy_orchestrator (derived from provider schema). Shared by every block of this shape in the resource.
OsConfigV2PolicyOrchestratorValidate
Typed helper for the orchestrated_resource.os_policy_assignment_v1_payload.os_policies.resource_groups.resources.exec.validate block of google_os_config_v2_policy_orchestrator (derived from provider schema).
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

OsConfigOsPolicyAssignmentArchiveType
archive_type — derived from the provider schema description.
OsConfigOsPolicyAssignmentDesiredState
desired_state — derived from the provider schema description.
OsConfigOsPolicyAssignmentInterpreter
interpreter — derived from the provider schema description.
OsConfigOsPolicyAssignmentMode
mode — derived from the provider schema description.
OsConfigOsPolicyAssignmentState
state — derived from the provider schema description.
OsConfigPatchDeploymentClassifications
classifications — derived from the provider schema description.
OsConfigPatchDeploymentDayOfWeek
day_of_week — derived from the provider schema description.
OsConfigPatchDeploymentInterpreter
interpreter — derived from the provider schema description.
OsConfigPatchDeploymentMode
mode — derived from the provider schema description.
OsConfigPatchDeploymentRebootConfig
reboot_config — derived from the provider schema description.
OsConfigPatchDeploymentType
type — derived from the provider schema description.
OsConfigV2PolicyOrchestratorForFolderArchiveType
archive_type — derived from the provider schema description.
OsConfigV2PolicyOrchestratorForFolderDesiredState
desired_state — derived from the provider schema description.
OsConfigV2PolicyOrchestratorForFolderFileState
state — derived from the provider schema description.
OsConfigV2PolicyOrchestratorForFolderInterpreter
interpreter — derived from the provider schema description.
OsConfigV2PolicyOrchestratorForFolderMode
mode — derived from the provider schema description.
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, ...).

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.