mssql library

Azure Resource Manager mssql 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.
AzurermMssqlDatabase
Factory wrapper for azurerm_mssql_database.
AzurermMssqlDatabaseExtendedAuditingPolicy
Factory wrapper for azurerm_mssql_database_extended_auditing_policy.
AzurermMssqlDatabaseVulnerabilityAssessmentRuleBaseline
Factory wrapper for azurerm_mssql_database_vulnerability_assessment_rule_baseline.
AzurermMssqlElasticpool
Factory wrapper for azurerm_mssql_elasticpool.
AzurermMssqlFailoverGroup
Factory wrapper for azurerm_mssql_failover_group.
AzurermMssqlFirewallRule
Factory wrapper for azurerm_mssql_firewall_rule.
AzurermMssqlJob
Factory wrapper for azurerm_mssql_job.
AzurermMssqlJobAgent
Factory wrapper for azurerm_mssql_job_agent.
AzurermMssqlJobCredential
Factory wrapper for azurerm_mssql_job_credential.
AzurermMssqlJobSchedule
Factory wrapper for azurerm_mssql_job_schedule.
AzurermMssqlJobStep
Factory wrapper for azurerm_mssql_job_step.
AzurermMssqlJobTargetGroup
Factory wrapper for azurerm_mssql_job_target_group.
AzurermMssqlManagedDatabase
Factory wrapper for azurerm_mssql_managed_database.
AzurermMssqlManagedInstance
Factory wrapper for azurerm_mssql_managed_instance.
AzurermMssqlManagedInstanceActiveDirectoryAdministrator
Factory wrapper for azurerm_mssql_managed_instance_active_directory_administrator.
AzurermMssqlManagedInstanceFailoverGroup
Factory wrapper for azurerm_mssql_managed_instance_failover_group.
AzurermMssqlManagedInstanceSecurityAlertPolicy
Factory wrapper for azurerm_mssql_managed_instance_security_alert_policy.
AzurermMssqlManagedInstanceStartStopSchedule
Factory wrapper for azurerm_mssql_managed_instance_start_stop_schedule.
AzurermMssqlManagedInstanceTransparentDataEncryption
Factory wrapper for azurerm_mssql_managed_instance_transparent_data_encryption.
AzurermMssqlManagedInstanceVulnerabilityAssessment
Factory wrapper for azurerm_mssql_managed_instance_vulnerability_assessment.
AzurermMssqlOutboundFirewallRule
Factory wrapper for azurerm_mssql_outbound_firewall_rule.
AzurermMssqlServer
Factory wrapper for azurerm_mssql_server.
AzurermMssqlServerDnsAlias
Factory wrapper for azurerm_mssql_server_dns_alias.
AzurermMssqlServerExtendedAuditingPolicy
Factory wrapper for azurerm_mssql_server_extended_auditing_policy.
AzurermMssqlServerMicrosoftSupportAuditingPolicy
Factory wrapper for azurerm_mssql_server_microsoft_support_auditing_policy.
AzurermMssqlServerSecurityAlertPolicy
Factory wrapper for azurerm_mssql_server_security_alert_policy.
AzurermMssqlServerTransparentDataEncryption
Factory wrapper for azurerm_mssql_server_transparent_data_encryption.
AzurermMssqlServerVulnerabilityAssessment
Factory wrapper for azurerm_mssql_server_vulnerability_assessment.
AzurermMssqlVirtualMachine
Factory wrapper for azurerm_mssql_virtual_machine.
AzurermMssqlVirtualMachineAvailabilityGroupListener
Factory wrapper for azurerm_mssql_virtual_machine_availability_group_listener.
AzurermMssqlVirtualMachineGroup
Factory wrapper for azurerm_mssql_virtual_machine_group.
AzurermMssqlVirtualNetworkRule
Factory wrapper for azurerm_mssql_virtual_network_rule.
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.
DataAzurermMssqlDatabase
Factory wrapper for azurerm_mssql_database.
DataAzurermMssqlElasticpool
Factory wrapper for azurerm_mssql_elasticpool.
DataAzurermMssqlFailoverGroup
Factory wrapper for azurerm_mssql_failover_group.
DataAzurermMssqlManagedDatabase
Factory wrapper for azurerm_mssql_managed_database.
DataAzurermMssqlManagedInstance
Factory wrapper for azurerm_mssql_managed_instance.
DataAzurermMssqlServer
Factory wrapper for azurerm_mssql_server.
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.
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.
MssqlDatabaseCreation
At most one of create_mode, import on azurerm_mssql_database: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MssqlDatabaseCreationCreateMode
The MssqlDatabaseCreation.createMode choice: sets create_mode.
MssqlDatabaseCreationImport
The MssqlDatabaseCreation.import choice: sets import.
MssqlDatabaseIdentity
Typed helper for the identity block of azurerm_mssql_database (derived from provider schema).
MssqlDatabaseImport
Typed helper for the import block of azurerm_mssql_database (derived from provider schema).
MssqlDatabaseLongTermRetentionPolicy
Typed helper for the long_term_retention_policy block of azurerm_mssql_database (derived from provider schema).
MssqlDatabaseServiceConfiguration
At most one of elastic_pool_id, maintenance_configuration_name on azurerm_mssql_database: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MssqlDatabaseServiceConfigurationElasticPoolId
The MssqlDatabaseServiceConfiguration.elasticPoolId choice: sets elastic_pool_id.
MssqlDatabaseServiceConfigurationMaintenanceConfigurationName
The MssqlDatabaseServiceConfiguration.maintenanceConfigurationName choice: sets maintenance_configuration_name.
MssqlDatabaseShortTermRetentionPolicy
Typed helper for the short_term_retention_policy block of azurerm_mssql_database (derived from provider schema).
MssqlDatabaseThreatDetectionPolicy
Typed helper for the threat_detection_policy block of azurerm_mssql_database (derived from provider schema).
MssqlDatabaseVulnerabilityAssessmentRuleBaselineResult
Typed helper for the baseline_result block of azurerm_mssql_database_vulnerability_assessment_rule_baseline (derived from provider schema).
MssqlElasticpoolMaxSize
At most one of max_size_bytes, max_size_gb on azurerm_mssql_elasticpool: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MssqlElasticpoolMaxSizeBytes
The MssqlElasticpoolMaxSize.maxSizeBytes choice: sets max_size_bytes.
MssqlElasticpoolMaxSizeGb
The MssqlElasticpoolMaxSize.maxSizeGb choice: sets max_size_gb.
MssqlElasticpoolPerDatabaseSettings
Typed helper for the per_database_settings block of azurerm_mssql_elasticpool (derived from provider schema).
MssqlElasticpoolSku
Typed helper for the sku block of azurerm_mssql_elasticpool (derived from provider schema).
MssqlFailoverGroupPartnerServer
Typed helper for the partner_server block of azurerm_mssql_failover_group (derived from provider schema).
MssqlFailoverGroupReadWriteEndpointFailoverPolicy
Typed helper for the read_write_endpoint_failover_policy block of azurerm_mssql_failover_group (derived from provider schema).
MssqlJobAgentIdentity
Typed helper for the identity block of azurerm_mssql_job_agent (derived from provider schema).
MssqlJobCredentialPassword
Exactly one of password, password_wo on azurerm_mssql_job_credential: the provider rejects none and more than one, so each variant sets one of them.
MssqlJobCredentialPasswordChoice
The MssqlJobCredentialPassword.password choice: sets password.
MssqlJobCredentialPasswordWo
The MssqlJobCredentialPassword.passwordWo choice: sets password_wo.
MssqlJobStepOutputTarget
Typed helper for the output_target block of azurerm_mssql_job_step (derived from provider schema).
MssqlJobTargetGroupJobTarget
Typed helper for the job_target block of azurerm_mssql_job_target_group (derived from provider schema).
MssqlManagedDatabaseLongTermRetentionPolicy
Typed helper for the long_term_retention_policy block of azurerm_mssql_managed_database (derived from provider schema).
MssqlManagedDatabasePointInTimeRestore
Typed helper for the point_in_time_restore block of azurerm_mssql_managed_database (derived from provider schema).
MssqlManagedDatabaseRecovery
At most one of point_in_time_restore, recover_database_id on azurerm_mssql_managed_database: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MssqlManagedDatabaseRecoveryPointInTimeRestore
The MssqlManagedDatabaseRecovery.pointInTimeRestore choice: sets point_in_time_restore.
MssqlManagedDatabaseRecoveryRecoverDatabaseId
The MssqlManagedDatabaseRecovery.recoverDatabaseId choice: sets recover_database_id.
MssqlManagedInstanceAzureActiveDirectoryAdministrator
Typed helper for the azure_active_directory_administrator block of azurerm_mssql_managed_instance (derived from provider schema).
MssqlManagedInstanceFailoverGroupReadWriteEndpointFailoverPolicy
Typed helper for the read_write_endpoint_failover_policy block of azurerm_mssql_managed_instance_failover_group (derived from provider schema).
MssqlManagedInstanceIdentity
Typed helper for the identity block of azurerm_mssql_managed_instance (derived from provider schema).
MssqlManagedInstanceStartStopSchedule
Typed helper for the schedule block of azurerm_mssql_managed_instance_start_stop_schedule (derived from provider schema).
MssqlManagedInstanceVulnerabilityAssessmentRecurringScans
Typed helper for the recurring_scans block of azurerm_mssql_managed_instance_vulnerability_assessment (derived from provider schema).
MssqlServerAdministratorLoginPassword
At most one of administrator_login_password, administrator_login_password_wo on azurerm_mssql_server: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MssqlServerAdministratorLoginPasswordChoice
The MssqlServerAdministratorLoginPassword.administratorLoginPassword choice: sets administrator_login_password.
MssqlServerAdministratorLoginPasswordWo
The MssqlServerAdministratorLoginPassword.administratorLoginPasswordWo choice: sets administrator_login_password_wo.
MssqlServerAzureadAdministrator
Typed helper for the azuread_administrator block of azurerm_mssql_server (derived from provider schema).
MssqlServerIdentity
Typed helper for the identity block of azurerm_mssql_server (derived from provider schema).
MssqlServerVulnerabilityAssessmentRecurringScans
Typed helper for the recurring_scans block of azurerm_mssql_server_vulnerability_assessment (derived from provider schema).
MssqlVirtualMachineAssessment
Typed helper for the assessment block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineAutoBackup
Typed helper for the auto_backup block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineAutoPatching
Typed helper for the auto_patching block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineAvailabilityGroupListenerLoadBalancerConfiguration
Typed helper for the load_balancer_configuration block of azurerm_mssql_virtual_machine_availability_group_listener (derived from provider schema).
MssqlVirtualMachineAvailabilityGroupListenerMultiSubnetIpConfiguration
Typed helper for the multi_subnet_ip_configuration block of azurerm_mssql_virtual_machine_availability_group_listener (derived from provider schema).
MssqlVirtualMachineAvailabilityGroupListenerNetwork
Exactly one of load_balancer_configuration, multi_subnet_ip_configuration on azurerm_mssql_virtual_machine_availability_group_listener: the provider rejects none and more than one, so each variant sets one of them.
MssqlVirtualMachineAvailabilityGroupListenerNetworkLoadBalancerConfiguration
The MssqlVirtualMachineAvailabilityGroupListenerNetwork.loadBalancerConfiguration choice: sets load_balancer_configuration.
MssqlVirtualMachineAvailabilityGroupListenerNetworkMultiSubnetIpConfiguration
The MssqlVirtualMachineAvailabilityGroupListenerNetwork.multiSubnetIpConfiguration choice: sets multi_subnet_ip_configuration.
MssqlVirtualMachineAvailabilityGroupListenerReplica
Typed helper for the replica block of azurerm_mssql_virtual_machine_availability_group_listener (derived from provider schema).
MssqlVirtualMachineDataSettings
Typed helper for the storage_configuration.data_settings block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineGroupWsfcDomainProfile
Typed helper for the wsfc_domain_profile block of azurerm_mssql_virtual_machine_group (derived from provider schema).
MssqlVirtualMachineKeyVaultCredential
Typed helper for the key_vault_credential block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineLogSettings
Typed helper for the storage_configuration.log_settings block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineManualSchedule
Typed helper for the auto_backup.manual_schedule block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineSchedule
Typed helper for the assessment.schedule block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineSqlInstance
Typed helper for the sql_instance block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineStorageConfiguration
Typed helper for the storage_configuration block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineTempDbSettings
Typed helper for the storage_configuration.temp_db_settings block of azurerm_mssql_virtual_machine (derived from provider schema).
MssqlVirtualMachineWsfcDomainCredential
Typed helper for the wsfc_domain_credential block of azurerm_mssql_virtual_machine (derived from provider schema).
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

MssqlDatabaseAuthenticationType
authentication_type — derived from the provider schema description.
MssqlDatabaseCreateMode
Mssql Database Create enum for create_mode.
MssqlDatabaseDisabledAlerts
disabled_alerts — derived from the provider schema description.
MssqlDatabaseEnclaveType
Mssql Database Enclave enum for enclave_type.
MssqlDatabaseLicenseType
Mssql Database License enum for license_type.
MssqlDatabaseMaintenanceConfigurationName
Mssql Database Maintenance Configuration enum for maintenance_configuration_name.
MssqlDatabaseSampleName
Mssql Database Sample enum for sample_name.
MssqlDatabaseSecondaryType
Mssql Database Secondary enum for secondary_type.
MssqlDatabaseState
state — derived from the provider schema description.
MssqlDatabaseStorageAccountType
Mssql Database Storage Account enum for storage_account_type.
MssqlDatabaseStorageKeyType
storage_key_type — derived from the provider schema description.
MssqlDatabaseVulnerabilityAssessmentRuleBaselineName
Mssql Database Vulnerability Assessment Rule Baseline enum for baseline_name.
MssqlElasticpoolEnclaveType
Mssql Elasticpool Enclave enum for enclave_type.
MssqlElasticpoolFamily
family — derived from the provider schema description.
MssqlElasticpoolLicenseType
Mssql Elasticpool License enum for license_type.
MssqlElasticpoolMaintenanceConfigurationName
Mssql Elasticpool Maintenance Configuration enum for maintenance_configuration_name.
MssqlElasticpoolSkuName
name — derived from the provider schema description.
MssqlElasticpoolTier
tier — derived from the provider schema description.
MssqlFailoverGroupMode
mode — derived from the provider schema description.
MssqlJobAgentSku
Mssql Job Agent enum for sku.
MssqlJobScheduleType
Mssql Job Schedule enum for type.
MssqlJobTargetGroupMembershipType
membership_type — derived from the provider schema description.
MssqlManagedInstanceDatabaseFormat
Mssql Managed Instance Database enum for database_format.
MssqlManagedInstanceFailoverGroupMode
mode — derived from the provider schema description.
MssqlManagedInstanceFailoverGroupSecondaryType
Mssql Managed Instance Failover Group Secondary enum for secondary_type.
MssqlManagedInstanceHybridSecondaryUsage
Mssql Managed Instance Hybrid Secondary enum for hybrid_secondary_usage.
MssqlManagedInstanceLicenseType
Mssql Managed Instance License enum for license_type.
MssqlManagedInstanceMinimumTlsVersion
Mssql Managed Instance Minimum Tls enum for minimum_tls_version.
MssqlManagedInstancePrincipalType
principal_type — derived from the provider schema description.
MssqlManagedInstanceProxyOverride
Mssql Managed Instance Proxy enum for proxy_override.
MssqlManagedInstanceSecurityAlertPolicyDisabledAlerts
Mssql Managed Instance Security Alert Policy Disabled enum for disabled_alerts.
MssqlManagedInstanceServicePrincipalType
Mssql Managed Instance Service Principal enum for service_principal_type.
MssqlManagedInstanceSkuName
Mssql Managed Instance Sku enum for sku_name.
MssqlManagedInstanceStartStopScheduleStartDay
start_day — derived from the provider schema description.
MssqlManagedInstanceStartStopScheduleStopDay
stop_day — derived from the provider schema description.
MssqlManagedInstanceStorageAccountType
Mssql Managed Instance Storage Account enum for storage_account_type.
MssqlServerConnectionPolicy
Mssql Server Connection enum for connection_policy.
MssqlServerMinimumTlsVersion
Mssql Server Minimum Tls enum for minimum_tls_version.
MssqlServerSecurityAlertPolicyDisabledAlerts
Mssql Server Security Alert Policy Disabled enum for disabled_alerts.
MssqlServerSecurityAlertPolicyState
Mssql Server Security Alert Policy enum for state.
MssqlServerVersion
Mssql Server enum for version.
MssqlVirtualMachineAvailabilityGroupListenerCommit
commit — derived from the provider schema description.
MssqlVirtualMachineAvailabilityGroupListenerFailoverMode
failover_mode — derived from the provider schema description.
MssqlVirtualMachineAvailabilityGroupListenerReadableSecondary
readable_secondary — derived from the provider schema description.
MssqlVirtualMachineAvailabilityGroupListenerRole
role — derived from the provider schema description.
MssqlVirtualMachineDayOfWeek
day_of_week — derived from the provider schema description.
MssqlVirtualMachineDaysOfWeek
days_of_week — derived from the provider schema description.
MssqlVirtualMachineDiskType
disk_type — derived from the provider schema description.
MssqlVirtualMachineFullBackupFrequency
full_backup_frequency — derived from the provider schema description.
MssqlVirtualMachineGroupClusterSubnetType
cluster_subnet_type — derived from the provider schema description.
MssqlVirtualMachineGroupSqlImageSku
Mssql Virtual Machine Group Sql Image enum for sql_image_sku.
MssqlVirtualMachineScheduleDayOfWeek
day_of_week — derived from the provider schema description.
MssqlVirtualMachineSqlConnectivityType
Mssql Virtual Machine Sql Connectivity enum for sql_connectivity_type.
MssqlVirtualMachineSqlLicenseType
Mssql Virtual Machine Sql License enum for sql_license_type.
MssqlVirtualMachineStorageWorkloadType
storage_workload_type — 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.

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.