kubernetes library

Azure Resource Manager kubernetes resources.

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.
AzurermBackend
terraform { backend "azurerm" { ... } } configuration.
AzurermKubernetesAutomaticCluster
Factory wrapper for azurerm_kubernetes_automatic_cluster.
AzurermKubernetesCluster
Factory wrapper for azurerm_kubernetes_cluster.
AzurermKubernetesClusterDeploymentSafeguard
Factory wrapper for azurerm_kubernetes_cluster_deployment_safeguard.
AzurermKubernetesClusterExtension
Factory wrapper for azurerm_kubernetes_cluster_extension.
AzurermKubernetesClusterNodePool
Factory wrapper for azurerm_kubernetes_cluster_node_pool.
AzurermKubernetesClusterTrustedAccessRoleBinding
Factory wrapper for azurerm_kubernetes_cluster_trusted_access_role_binding.
AzurermKubernetesFleetManager
Factory wrapper for azurerm_kubernetes_fleet_manager.
AzurermKubernetesFleetMember
Factory wrapper for azurerm_kubernetes_fleet_member.
AzurermKubernetesFleetUpdateRun
Factory wrapper for azurerm_kubernetes_fleet_update_run.
AzurermKubernetesFleetUpdateStrategy
Factory wrapper for azurerm_kubernetes_fleet_update_strategy.
AzurermKubernetesFluxConfiguration
Factory wrapper for azurerm_kubernetes_flux_configuration.
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.
DataAzurermKubernetesAutomaticCluster
Factory wrapper for azurerm_kubernetes_automatic_cluster.
DataAzurermKubernetesCluster
Factory wrapper for azurerm_kubernetes_cluster.
DataAzurermKubernetesClusterNodePool
Factory wrapper for azurerm_kubernetes_cluster_node_pool.
DataAzurermKubernetesFleetManager
Factory wrapper for azurerm_kubernetes_fleet_manager.
DataAzurermKubernetesNodePoolSnapshot
Factory wrapper for azurerm_kubernetes_node_pool_snapshot.
DataAzurermKubernetesServiceVersions
Factory wrapper for azurerm_kubernetes_service_versions.
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.
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.
KubernetesAutomaticClusterApiServerAccess
Typed helper for the api_server_access block of azurerm_kubernetes_automatic_cluster (derived from provider schema).
KubernetesAutomaticClusterCertificateAuthority
Typed helper for the service_mesh.certificate_authority block of azurerm_kubernetes_automatic_cluster (derived from provider schema).
KubernetesAutomaticClusterHostedSystem
Typed helper for the hosted_system block of azurerm_kubernetes_automatic_cluster (derived from provider schema).
KubernetesAutomaticClusterIdentity
Typed helper for the identity block of azurerm_kubernetes_automatic_cluster (derived from provider schema).
KubernetesAutomaticClusterPrivateCluster
Typed helper for the private_cluster block of azurerm_kubernetes_automatic_cluster (derived from provider schema).
KubernetesAutomaticClusterServiceMesh
Typed helper for the service_mesh block of azurerm_kubernetes_automatic_cluster (derived from provider schema).
KubernetesAutomaticClusterWebAppRoutingIngress
Typed helper for the web_app_routing_ingress block of azurerm_kubernetes_automatic_cluster (derived from provider schema).
KubernetesClusterAciConnectorLinux
Typed helper for the aci_connector_linux block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterAdvancedNetworking
Typed helper for the network_profile.advanced_networking block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterAllowed
Typed helper for the maintenance_window.allowed block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterAllowedHostPorts
Typed helper for the default_node_pool.node_network_profile.allowed_host_ports block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterApiServerAccessProfile
Typed helper for the api_server_access_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterAutoScalerProfile
Typed helper for the auto_scaler_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterAzureActiveDirectoryRoleBasedAccessControl
Typed helper for the azure_active_directory_role_based_access_control block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterBootstrapProfile
Typed helper for the bootstrap_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterCertificateAuthority
Typed helper for the service_mesh_profile.certificate_authority block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterConfidentialComputing
Typed helper for the confidential_computing block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterDefaultNodePool
Typed helper for the default_node_pool block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterDnsPrefix
Exactly one of dns_prefix, dns_prefix_private_cluster on azurerm_kubernetes_cluster: the provider rejects none and more than one, so each variant sets one of them.
KubernetesClusterDnsPrefixChoice
The KubernetesClusterDnsPrefix.dnsPrefix choice: sets dns_prefix.
KubernetesClusterDnsPrefixPrivateCluster
The KubernetesClusterDnsPrefix.dnsPrefixPrivateCluster choice: sets dns_prefix_private_cluster.
KubernetesClusterExtensionNamespace
At most one of release_namespace, target_namespace on azurerm_kubernetes_cluster_extension: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
KubernetesClusterExtensionPlan
Typed helper for the plan block of azurerm_kubernetes_cluster_extension (derived from provider schema).
KubernetesClusterExtensionRelease
At most one of release_train, version on azurerm_kubernetes_cluster_extension: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
KubernetesClusterExtensionReleaseNamespace
The KubernetesClusterExtensionNamespace.releaseNamespace choice: sets release_namespace.
KubernetesClusterExtensionReleaseTrain
The KubernetesClusterExtensionRelease.releaseTrain choice: sets release_train.
KubernetesClusterExtensionReleaseVersion
The KubernetesClusterExtensionRelease.version choice: sets version.
KubernetesClusterExtensionTargetNamespace
The KubernetesClusterExtensionNamespace.targetNamespace choice: sets target_namespace.
KubernetesClusterGmsa
Typed helper for the windows_profile.gmsa block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterHttpProxyConfig
Typed helper for the http_proxy_config block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterIdentity
Typed helper for the identity block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterIngressApplicationGateway
Typed helper for the ingress_application_gateway block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterKeyManagementService
Typed helper for the key_management_service block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterKeyVaultSecretsProvider
Typed helper for the key_vault_secrets_provider block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterKubeletConfig
Typed helper for the default_node_pool.kubelet_config block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterKubeletIdentity
Typed helper for the kubelet_identity block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterLinuxOsConfig
Typed helper for the default_node_pool.linux_os_config block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterLinuxProfile
Typed helper for the linux_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterLoadBalancerProfile
Typed helper for the network_profile.load_balancer_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterMaintenanceWindow
Typed helper for the maintenance_window block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterMaintenanceWindowAutoUpgrade
Typed helper for the maintenance_window_auto_upgrade block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterMaintenanceWindowNodeOs
Typed helper for the maintenance_window_node_os block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterMicrosoftDefender
Typed helper for the microsoft_defender block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterMonitorMetrics
Typed helper for the monitor_metrics block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterNatGatewayProfile
Typed helper for the network_profile.nat_gateway_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterNetworkProfile
Typed helper for the network_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterNodeNetworkProfile
Typed helper for the default_node_pool.node_network_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterNodePoolAllowedHostPorts
Typed helper for the node_network_profile.allowed_host_ports block of azurerm_kubernetes_cluster_node_pool (derived from provider schema).
KubernetesClusterNodePoolKubeletConfig
Typed helper for the kubelet_config block of azurerm_kubernetes_cluster_node_pool (derived from provider schema).
KubernetesClusterNodePoolLinuxOsConfig
Typed helper for the linux_os_config block of azurerm_kubernetes_cluster_node_pool (derived from provider schema).
KubernetesClusterNodePoolNodeNetworkProfile
Typed helper for the node_network_profile block of azurerm_kubernetes_cluster_node_pool (derived from provider schema).
KubernetesClusterNodePoolSysctlConfig
Typed helper for the linux_os_config.sysctl_config block of azurerm_kubernetes_cluster_node_pool (derived from provider schema).
KubernetesClusterNodePoolUpgradeCapacity
At most one of max_surge, max_unavailable on the upgrade_settings block of azurerm_kubernetes_cluster_node_pool: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
KubernetesClusterNodePoolUpgradeCapacityMaxSurge
The KubernetesClusterNodePoolUpgradeCapacity.maxSurge choice: sets max_surge.
KubernetesClusterNodePoolUpgradeCapacityMaxUnavailable
The KubernetesClusterNodePoolUpgradeCapacity.maxUnavailable choice: sets max_unavailable.
KubernetesClusterNodePoolUpgradeSettings
Typed helper for the upgrade_settings block of azurerm_kubernetes_cluster_node_pool (derived from provider schema).
KubernetesClusterNodePoolWindowsProfile
Typed helper for the windows_profile block of azurerm_kubernetes_cluster_node_pool (derived from provider schema).
KubernetesClusterNodeProvisioningProfile
Typed helper for the node_provisioning_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterNotAllowed
Typed helper for the maintenance_window.not_allowed block of azurerm_kubernetes_cluster (derived from provider schema). Shared by every block of this shape in the resource.
KubernetesClusterOmsAgent
Typed helper for the oms_agent block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterPrincipal
Exactly one of identity, service_principal on azurerm_kubernetes_cluster: the provider rejects none and more than one, so each variant sets one of them.
KubernetesClusterPrincipalIdentity
The KubernetesClusterPrincipal.identity choice: sets identity.
KubernetesClusterServiceMeshProfile
Typed helper for the service_mesh_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterServicePrincipal
Typed helper for the service_principal block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterServicePrincipalChoice
The KubernetesClusterPrincipal.servicePrincipal choice: sets service_principal.
KubernetesClusterSshKey
Typed helper for the linux_profile.ssh_key block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterStorageProfile
Typed helper for the storage_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterSysctlConfig
Typed helper for the default_node_pool.linux_os_config.sysctl_config block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterUpgradeOverride
Typed helper for the upgrade_override block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterUpgradeSettings
Typed helper for the default_node_pool.upgrade_settings block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterWebAppRouting
Typed helper for the web_app_routing block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterWindowsProfile
Typed helper for the windows_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesClusterWorkloadAutoscalerProfile
Typed helper for the workload_autoscaler_profile block of azurerm_kubernetes_cluster (derived from provider schema).
KubernetesFleetManagerHubProfile
Typed helper for the hub_profile block of azurerm_kubernetes_fleet_manager (derived from provider schema).
KubernetesFleetUpdateRunGroup
Typed helper for the stage.group block of azurerm_kubernetes_fleet_update_run (derived from provider schema).
KubernetesFleetUpdateRunManagedClusterUpdate
Typed helper for the managed_cluster_update block of azurerm_kubernetes_fleet_update_run (derived from provider schema).
KubernetesFleetUpdateRunNodeImageSelection
Typed helper for the managed_cluster_update.node_image_selection block of azurerm_kubernetes_fleet_update_run (derived from provider schema).
KubernetesFleetUpdateRunStage
Typed helper for the stage block of azurerm_kubernetes_fleet_update_run (derived from provider schema).
KubernetesFleetUpdateRunStrategy
At most one of fleet_update_strategy_id, stage on azurerm_kubernetes_fleet_update_run: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
KubernetesFleetUpdateRunStrategyFleetUpdateStrategyId
The KubernetesFleetUpdateRunStrategy.fleetUpdateStrategyId choice: sets fleet_update_strategy_id.
KubernetesFleetUpdateRunStrategyStage
The KubernetesFleetUpdateRunStrategy.stage choice: sets stage.
KubernetesFleetUpdateRunUpgrade
Typed helper for the managed_cluster_update.upgrade block of azurerm_kubernetes_fleet_update_run (derived from provider schema).
KubernetesFleetUpdateStrategyGroup
Typed helper for the stage.group block of azurerm_kubernetes_fleet_update_strategy (derived from provider schema).
KubernetesFleetUpdateStrategyStage
Typed helper for the stage block of azurerm_kubernetes_fleet_update_strategy (derived from provider schema).
KubernetesFluxConfigurationBlobStorage
Typed helper for the blob_storage block of azurerm_kubernetes_flux_configuration (derived from provider schema).
KubernetesFluxConfigurationBlobStorageCredentials
Exactly one of account_key, local_auth_reference, managed_identity, sas_token, service_principal on the blob_storage block of azurerm_kubernetes_flux_configuration: the provider rejects none and more than one, so each variant sets one of them.
KubernetesFluxConfigurationBlobStorageCredentialsAccountKey
The KubernetesFluxConfigurationBlobStorageCredentials.accountKey choice: sets account_key.
KubernetesFluxConfigurationBlobStorageCredentialsLocalAuthReference
The KubernetesFluxConfigurationBlobStorageCredentials.localAuthReference choice: sets local_auth_reference.
KubernetesFluxConfigurationBlobStorageCredentialsManagedIdentity
The KubernetesFluxConfigurationBlobStorageCredentials.managedIdentity choice: sets managed_identity.
KubernetesFluxConfigurationBlobStorageCredentialsSasToken
The KubernetesFluxConfigurationBlobStorageCredentials.sasToken choice: sets sas_token.
KubernetesFluxConfigurationBlobStorageCredentialsServicePrincipal
The KubernetesFluxConfigurationBlobStorageCredentials.servicePrincipal choice: sets service_principal.
KubernetesFluxConfigurationBucket
Typed helper for the bucket block of azurerm_kubernetes_flux_configuration (derived from provider schema).
KubernetesFluxConfigurationBucketCredentials
Exactly one of access_key, local_auth_reference on the bucket block of azurerm_kubernetes_flux_configuration: the provider rejects none and more than one, so each variant sets one of them.
KubernetesFluxConfigurationBucketCredentialsAccessKey
The KubernetesFluxConfigurationBucketCredentials.accessKey choice: sets access_key.
KubernetesFluxConfigurationBucketCredentialsLocalAuthReference
The KubernetesFluxConfigurationBucketCredentials.localAuthReference choice: sets local_auth_reference.
KubernetesFluxConfigurationClient
Exactly one of client_certificate_base64, client_secret on the blob_storage.service_principal block of azurerm_kubernetes_flux_configuration: the provider rejects none and more than one, so each variant sets one of them.
KubernetesFluxConfigurationClientCertificateBase64
The KubernetesFluxConfigurationClient.clientCertificateBase64 choice: sets client_certificate_base64.
KubernetesFluxConfigurationClientSecret
The KubernetesFluxConfigurationClient.clientSecret choice: sets client_secret.
KubernetesFluxConfigurationGitRepository
Typed helper for the git_repository block of azurerm_kubernetes_flux_configuration (derived from provider schema).
KubernetesFluxConfigurationKustomizations
Typed helper for the kustomizations block of azurerm_kubernetes_flux_configuration (derived from provider schema).
KubernetesFluxConfigurationManagedIdentity
Typed helper for the blob_storage.managed_identity block of azurerm_kubernetes_flux_configuration (derived from provider schema).
KubernetesFluxConfigurationPostBuild
Typed helper for the kustomizations.post_build block of azurerm_kubernetes_flux_configuration (derived from provider schema).
KubernetesFluxConfigurationServicePrincipal
Typed helper for the blob_storage.service_principal block of azurerm_kubernetes_flux_configuration (derived from provider schema).
KubernetesFluxConfigurationSource
Exactly one of blob_storage, bucket, git_repository on azurerm_kubernetes_flux_configuration: the provider rejects none and more than one, so each variant sets one of them.
KubernetesFluxConfigurationSourceBlobStorage
The KubernetesFluxConfigurationSource.blobStorage choice: sets blob_storage.
KubernetesFluxConfigurationSourceBucket
The KubernetesFluxConfigurationSource.bucket choice: sets bucket.
KubernetesFluxConfigurationSourceGitRepository
The KubernetesFluxConfigurationSource.gitRepository choice: sets git_repository.
KubernetesFluxConfigurationSubstituteFrom
Typed helper for the kustomizations.post_build.substitute_from block of azurerm_kubernetes_flux_configuration (derived from provider schema).
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, AzurermBackend, 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 Stack.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

KubernetesAutomaticClusterDefaultNginxController
default_nginx_controller — derived from the provider schema description.
KubernetesAutomaticClusterProxyRedirectMechanism
proxy_redirect_mechanism — derived from the provider schema description.
KubernetesClusterArtifactSource
artifact_source — derived from the provider schema description.
KubernetesClusterAutomaticUpgradeChannel
Kubernetes Cluster Automatic Upgrade enum for automatic_upgrade_channel.
KubernetesClusterBackendPoolType
backend_pool_type — derived from the provider schema description.
KubernetesClusterDay
day — derived from the provider schema description.
KubernetesClusterDayOfWeek
day_of_week — derived from the provider schema description.
KubernetesClusterDefaultNginxController
default_nginx_controller — derived from the provider schema description.
KubernetesClusterDefaultNodePools
default_node_pools — derived from the provider schema description.
KubernetesClusterDeploymentSafeguardLevel
Kubernetes Cluster Deployment Safeguard enum for level.
KubernetesClusterDeploymentSafeguardPodSecurityStandardsLevel
Kubernetes Cluster Deployment Safeguard Pod Security Standards enum for pod_security_standards_level.
KubernetesClusterExpander
expander — derived from the provider schema description.
KubernetesClusterIpVersions
ip_versions — derived from the provider schema description.
KubernetesClusterKeyVaultNetworkAccess
key_vault_network_access — derived from the provider schema description.
KubernetesClusterLicense
license — derived from the provider schema description.
KubernetesClusterLoadBalancerSku
load_balancer_sku — derived from the provider schema description.
KubernetesClusterMaintenanceWindowAutoUpgradeFrequency
frequency — derived from the provider schema description.
KubernetesClusterMaintenanceWindowNodeOsFrequency
frequency — derived from the provider schema description.
KubernetesClusterNetworkDataPlane
network_data_plane — derived from the provider schema description.
KubernetesClusterNetworkMode
network_mode — derived from the provider schema description.
KubernetesClusterNetworkPlugin
network_plugin — derived from the provider schema description.
KubernetesClusterNetworkPluginMode
network_plugin_mode — derived from the provider schema description.
KubernetesClusterNetworkPolicy
network_policy — derived from the provider schema description.
KubernetesClusterNodeOsUpgradeChannel
Kubernetes Cluster Node Os Upgrade enum for node_os_upgrade_channel.
KubernetesClusterNodePoolCpuManagerPolicy
cpu_manager_policy — derived from the provider schema description.
KubernetesClusterNodePoolEvictionPolicy
Kubernetes Cluster Node Pool Eviction enum for eviction_policy.
KubernetesClusterNodePoolGpuDriver
Kubernetes Cluster Node Pool Gpu enum for gpu_driver.
KubernetesClusterNodePoolGpuInstance
Kubernetes Cluster Node Pool Gpu enum for gpu_instance.
KubernetesClusterNodePoolKubeletDiskType
Kubernetes Cluster Node Pool Kubelet Disk enum for kubelet_disk_type.
KubernetesClusterNodePoolMode
Kubernetes Cluster Node Pool enum for mode.
KubernetesClusterNodePoolOsDiskType
Kubernetes Cluster Node Pool Os Disk enum for os_disk_type.
KubernetesClusterNodePoolOsSku
Kubernetes Cluster Node Pool Os enum for os_sku.
KubernetesClusterNodePoolOsType
Kubernetes Cluster Node Pool Os enum for os_type.
KubernetesClusterNodePoolPriority
Kubernetes Cluster Node Pool enum for priority.
KubernetesClusterNodePoolProtocol
protocol — derived from the provider schema description.
KubernetesClusterNodePoolScaleDownMode
Kubernetes Cluster Node Pool Scale Down enum for scale_down_mode.
KubernetesClusterNodePoolTopologyManagerPolicy
topology_manager_policy — derived from the provider schema description.
KubernetesClusterNodePoolTransparentHugePage
transparent_huge_page — derived from the provider schema description.
KubernetesClusterNodePoolTransparentHugePageDefrag
transparent_huge_page_defrag — derived from the provider schema description.
KubernetesClusterNodePoolUndrainableNodeBehavior
undrainable_node_behavior — derived from the provider schema description.
KubernetesClusterNodePoolWorkloadRuntime
Kubernetes Cluster Node Pool Workload enum for workload_runtime.
KubernetesClusterNodeProvisioningProfileMode
mode — derived from the provider schema description.
KubernetesClusterOutboundType
outbound_type — derived from the provider schema description.
KubernetesClusterServiceMeshProfileMode
mode — derived from the provider schema description.
KubernetesClusterSkuTier
Kubernetes Cluster Sku enum for sku_tier.
KubernetesClusterSupportPlan
Kubernetes Cluster Support enum for support_plan.
KubernetesClusterWeekIndex
week_index — derived from the provider schema description.
KubernetesFleetUpdateRunNodeImageSelectionType
type — derived from the provider schema description.
KubernetesFleetUpdateRunUpgradeType
type — derived from the provider schema description.
KubernetesFluxConfigurationKind
kind — derived from the provider schema description.
KubernetesFluxConfigurationProvider
provider — derived from the provider schema description.
KubernetesFluxConfigurationReferenceType
reference_type — derived from the provider schema description.
KubernetesFluxConfigurationScope
Kubernetes Flux Configuration enum for scope.
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.

Typedefs

EnumList<E extends TfArg<String>> = TfArg<List<E>>
A list-valued enum argument (allowed_grant_types, retry_conditions): a literal list of members of E, or one value Terraform resolves to the whole list.

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.