discovery_engine library
Vertex AI Search (Discovery Engine): data stores, search engines, IAM, schema / serving controls, location CMEK config and third-party data connectors (apply-excluded), and Gemini Enterprise license configs (never_apply — seat subscriptions).
Classes
-
AppConstant<
T> -
A value the Stack hands to application code as a
static constin the generated AppExports file — known when synth runs, so the app compiles against it. - AppExports
-
Where synth writes the Dart file application code imports: the Stack's
constants, as the
static constmembers of<name>Constants, and a typed reader of its Terraform outputs,<name>Outputs. -
AttributeRef<
T> -
Public for sealed pattern matching, but constructor is private — only
TfRef.attribute()may construct instances. - DartDefineOutput
-
An
outputwhose value is the client build's--dart-definefile, registered withStack.addDartDefineOutput. - Data
-
Base of every user-instantiable Terraform
datablock. - DataGoogleDiscoveryEngineDataStore
-
Factory wrapper for
google_discovery_engine_data_store. - DataGoogleDiscoveryEngineDataStores
-
Factory wrapper for
google_discovery_engine_data_stores. - DataGoogleDiscoveryEngineSearchEngineIamPolicy
-
Factory wrapper for
google_discovery_engine_search_engine_iam_policy. -
DataRef<
T> -
Public for sealed pattern matching, but constructor is private — only
TfRef.data()may construct instances. - DiscoveryEngineAclConfigExternalIdpConfig
-
Typed helper for the
idp_config.external_idp_configblock ofgoogle_discovery_engine_acl_config(derived from provider schema). - DiscoveryEngineAclConfigIdpConfig
-
Typed helper for the
idp_configblock ofgoogle_discovery_engine_acl_config(derived from provider schema). - DiscoveryEngineAssistantBannedPhrases
-
Typed helper for the
customer_policy.banned_phrasesblock ofgoogle_discovery_engine_assistant(derived from provider schema). - DiscoveryEngineAssistantCustomerPolicy
-
Typed helper for the
customer_policyblock ofgoogle_discovery_engine_assistant(derived from provider schema). - DiscoveryEngineAssistantGenerationConfig
-
Typed helper for the
generation_configblock ofgoogle_discovery_engine_assistant(derived from provider schema). - DiscoveryEngineAssistantModelArmorConfig
-
Typed helper for the
customer_policy.model_armor_configblock ofgoogle_discovery_engine_assistant(derived from provider schema). - DiscoveryEngineAssistantSystemInstruction
-
Typed helper for the
generation_config.system_instructionblock ofgoogle_discovery_engine_assistant(derived from provider schema). - DiscoveryEngineChatEngineAgent
-
Exactly one of
agent_creation_config,dialogflow_agent_to_linkon thechat_engine_configblock ofgoogle_discovery_engine_chat_engine: the provider rejects none and more than one, so each variant sets one of them. - DiscoveryEngineChatEngineAgentCreationConfig
-
Typed helper for the
chat_engine_config.agent_creation_configblock ofgoogle_discovery_engine_chat_engine(derived from provider schema). - DiscoveryEngineChatEngineAgentCreationConfigChoice
-
The DiscoveryEngineChatEngineAgent.agentCreationConfig choice: sets
agent_creation_config. - DiscoveryEngineChatEngineAgentDialogflowAgentToLink
-
The DiscoveryEngineChatEngineAgent.dialogflowAgentToLink choice: sets
dialogflow_agent_to_link. - DiscoveryEngineChatEngineCommonConfig
-
Typed helper for the
common_configblock ofgoogle_discovery_engine_chat_engine(derived from provider schema). - DiscoveryEngineChatEngineConfig
-
Typed helper for the
chat_engine_configblock ofgoogle_discovery_engine_chat_engine(derived from provider schema). - DiscoveryEngineCmekConfigSingleRegionKeys
-
Typed helper for the
single_region_keysblock ofgoogle_discovery_engine_cmek_config(derived from provider schema). - DiscoveryEngineControlAction
-
Exactly one of
boost_action,filter_action,redirect_action,synonyms_action,promote_actionongoogle_discovery_engine_control: the provider rejects none and more than one, so each variant sets one of them. - DiscoveryEngineControlActiveTimeRange
-
Typed helper for the
conditions.active_time_rangeblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlBoost
-
Exactly one of
fixed_boost,interpolation_boost_specon theboost_actionblock ofgoogle_discovery_engine_control: the provider rejects none and more than one, so each variant sets one of them. - DiscoveryEngineControlBoostAction
-
Typed helper for the
boost_actionblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlBoostActionChoice
-
The DiscoveryEngineControlAction.boostAction choice: sets
boost_action. - DiscoveryEngineControlBoostInterpolationBoostSpec
-
The DiscoveryEngineControlBoost.interpolationBoostSpec choice: sets
interpolation_boost_spec. - DiscoveryEngineControlConditions
-
Typed helper for the
conditionsblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlFilterAction
-
Typed helper for the
filter_actionblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlFilterActionChoice
-
The DiscoveryEngineControlAction.filterAction choice: sets
filter_action. - DiscoveryEngineControlFixedBoost
-
The DiscoveryEngineControlBoost.fixedBoost choice: sets
fixed_boost. - DiscoveryEngineControlInterpolationBoostSpec
-
Typed helper for the
boost_action.interpolation_boost_specblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlPoint
-
Typed helper for the
boost_action.interpolation_boost_spec.control_pointblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlPromoteAction
-
Typed helper for the
promote_actionblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlPromoteActionChoice
-
The DiscoveryEngineControlAction.promoteAction choice: sets
promote_action. - DiscoveryEngineControlQueryTerms
-
Typed helper for the
conditions.query_termsblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlRedirectAction
-
Typed helper for the
redirect_actionblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlRedirectActionChoice
-
The DiscoveryEngineControlAction.redirectAction choice: sets
redirect_action. - DiscoveryEngineControlSearchLinkPromotion
-
Typed helper for the
promote_action.search_link_promotionblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlSynonymsAction
-
Typed helper for the
synonyms_actionblock ofgoogle_discovery_engine_control(derived from provider schema). - DiscoveryEngineControlSynonymsActionChoice
-
The DiscoveryEngineControlAction.synonymsAction choice: sets
synonyms_action. - DiscoveryEngineDataConnectorActionConfig
-
Typed helper for the
action_configblock ofgoogle_discovery_engine_data_connector(derived from provider schema). - DiscoveryEngineDataConnectorBapConfig
-
Typed helper for the
bap_configblock ofgoogle_discovery_engine_data_connector(derived from provider schema). - DiscoveryEngineDataConnectorDestinationConfigs
-
Typed helper for the
destination_configsblock ofgoogle_discovery_engine_data_connector(derived from provider schema). - DiscoveryEngineDataConnectorDestinations
-
Typed helper for the
destination_configs.destinationsblock ofgoogle_discovery_engine_data_connector(derived from provider schema). - DiscoveryEngineDataConnectorEntities
-
Typed helper for the
entitiesblock ofgoogle_discovery_engine_data_connector(derived from provider schema). - DiscoveryEngineDataConnectorJsonParams
-
The DiscoveryEngineDataConnectorParams.jsonParams choice: sets
json_params. - DiscoveryEngineDataConnectorMetadata
-
Typed helper for the
metadatablock ofgoogle_discovery_engine_data_connector(derived from provider schema). - DiscoveryEngineDataConnectorParams
-
Exactly one of
params,json_paramsongoogle_discovery_engine_data_connector: the provider rejects none and more than one, so each variant sets one of them. - DiscoveryEngineDataConnectorParamsChoice
-
The DiscoveryEngineDataConnectorParams.params choice: sets
params. - DiscoveryEngineDataStoreAdvancedSiteSearchConfig
-
Typed helper for the
advanced_site_search_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). - DiscoveryEngineDataStoreChunkingConfig
-
Typed helper for the
document_processing_config.chunking_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). - DiscoveryEngineDataStoreDefaultParsingConfig
-
Typed helper for the
document_processing_config.default_parsing_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). - DiscoveryEngineDataStoreDigitalParsingConfig
-
Typed helper for the
document_processing_config.default_parsing_config.digital_parsing_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). Shared by every block of this shape in the resource. - DiscoveryEngineDataStoreDocumentProcessingConfig
-
Typed helper for the
document_processing_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). - DiscoveryEngineDataStoreLayoutBasedChunkingConfig
-
Typed helper for the
document_processing_config.chunking_config.layout_based_chunking_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). - DiscoveryEngineDataStoreLayoutParsingConfig
-
Typed helper for the
document_processing_config.default_parsing_config.layout_parsing_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). Shared by every block of this shape in the resource. - DiscoveryEngineDataStoreOcrParsingConfig
-
Typed helper for the
document_processing_config.default_parsing_config.ocr_parsing_configblock ofgoogle_discovery_engine_data_store(derived from provider schema). Shared by every block of this shape in the resource. - DiscoveryEngineDataStoreParsingConfigOverrides
-
Typed helper for the
document_processing_config.parsing_config_overridesblock ofgoogle_discovery_engine_data_store(derived from provider schema). - DiscoveryEngineLicenseConfigEndDate
-
Typed helper for the
end_dateblock ofgoogle_discovery_engine_license_config(derived from provider schema). - DiscoveryEngineLicenseConfigStartDate
-
Typed helper for the
start_dateblock ofgoogle_discovery_engine_license_config(derived from provider schema). - DiscoveryEngineRecommendationEngineCommonConfig
-
Typed helper for the
common_configblock ofgoogle_discovery_engine_recommendation_engine(derived from provider schema). - DiscoveryEngineRecommendationEngineFeaturesConfig
-
Typed helper for the
media_recommendation_engine_config.engine_features_configblock ofgoogle_discovery_engine_recommendation_engine(derived from provider schema). - DiscoveryEngineRecommendationEngineMediaRecommendationEngineConfig
-
Typed helper for the
media_recommendation_engine_configblock ofgoogle_discovery_engine_recommendation_engine(derived from provider schema). - DiscoveryEngineRecommendationEngineMostPopularConfig
-
Typed helper for the
media_recommendation_engine_config.engine_features_config.most_popular_configblock ofgoogle_discovery_engine_recommendation_engine(derived from provider schema). - DiscoveryEngineRecommendationEngineOptimizationObjectiveConfig
-
Typed helper for the
media_recommendation_engine_config.optimization_objective_configblock ofgoogle_discovery_engine_recommendation_engine(derived from provider schema). - DiscoveryEngineRecommendationEngineRecommendedForYouConfig
-
Typed helper for the
media_recommendation_engine_config.engine_features_config.recommended_for_you_configblock ofgoogle_discovery_engine_recommendation_engine(derived from provider schema). - DiscoveryEngineSearchEngineCommonConfig
-
Typed helper for the
common_configblock ofgoogle_discovery_engine_search_engine(derived from provider schema). - DiscoveryEngineSearchEngineConfig
-
Typed helper for the
search_engine_configblock ofgoogle_discovery_engine_search_engine(derived from provider schema). - DiscoveryEngineSearchEngineFeatureConfig
-
Typed helper for the
knowledge_graph_config.feature_configblock ofgoogle_discovery_engine_search_engine(derived from provider schema). - DiscoveryEngineSearchEngineIamBindingCondition
-
Typed helper for the
conditionblock ofgoogle_discovery_engine_search_engine_iam_binding(derived from provider schema). - DiscoveryEngineSearchEngineIamMemberCondition
-
Typed helper for the
conditionblock ofgoogle_discovery_engine_search_engine_iam_member(derived from provider schema). - DiscoveryEngineSearchEngineKnowledgeGraphConfig
-
Typed helper for the
knowledge_graph_configblock ofgoogle_discovery_engine_search_engine(derived from provider schema). - DiscoveryEngineWidgetConfigAccessSettings
-
Typed helper for the
access_settingsblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigDataStoreUiConfigs
-
Typed helper for the
ui_settings.data_store_ui_configsblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigFacetField
-
Typed helper for the
ui_settings.data_store_ui_configs.facet_fieldblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigFieldsUiComponentsMap
-
Typed helper for the
ui_settings.data_store_ui_configs.fields_ui_components_mapblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigGenerativeAnswerConfig
-
Typed helper for the
ui_settings.generative_answer_configblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigHomepageSetting
-
Typed helper for the
homepage_settingblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigIcon
-
Typed helper for the
homepage_setting.shortcuts.iconblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigLogo
-
Typed helper for the
ui_branding.logoblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigSearchAddonSpec
-
Typed helper for the
ui_settings.search_addon_specblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigShortcuts
-
Typed helper for the
homepage_setting.shortcutsblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigUiBranding
-
Typed helper for the
ui_brandingblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - DiscoveryEngineWidgetConfigUiSettings
-
Typed helper for the
ui_settingsblock ofgoogle_discovery_engine_widget_config(derived from provider schema). - EnvironmentConstant
- The AppConstant.fromEnvironment choice.
- GcsBackend
-
terraform { backend "gcs" { ... } }configuration. - GoogleDiscoveryEngineAclConfig
-
Factory wrapper for
google_discovery_engine_acl_config. - GoogleDiscoveryEngineAssistant
-
Factory wrapper for
google_discovery_engine_assistant. - GoogleDiscoveryEngineChatEngine
-
Factory wrapper for
google_discovery_engine_chat_engine. - GoogleDiscoveryEngineCmekConfig
-
Factory wrapper for
google_discovery_engine_cmek_config. - GoogleDiscoveryEngineControl
-
Factory wrapper for
google_discovery_engine_control. - GoogleDiscoveryEngineDataConnector
-
Factory wrapper for
google_discovery_engine_data_connector. - GoogleDiscoveryEngineDataStore
-
Factory wrapper for
google_discovery_engine_data_store. - GoogleDiscoveryEngineLicenseConfig
-
Factory wrapper for
google_discovery_engine_license_config. - GoogleDiscoveryEngineRecommendationEngine
-
Factory wrapper for
google_discovery_engine_recommendation_engine. - GoogleDiscoveryEngineSchema
-
Factory wrapper for
google_discovery_engine_schema. - GoogleDiscoveryEngineSearchEngine
-
Factory wrapper for
google_discovery_engine_search_engine. - GoogleDiscoveryEngineSearchEngineIamBinding
-
Factory wrapper for
google_discovery_engine_search_engine_iam_binding. - GoogleDiscoveryEngineSearchEngineIamMember
-
Factory wrapper for
google_discovery_engine_search_engine_iam_member. - GoogleDiscoveryEngineSearchEngineIamPolicy
-
Factory wrapper for
google_discovery_engine_search_engine_iam_policy. - GoogleDiscoveryEngineServingConfig
-
Factory wrapper for
google_discovery_engine_serving_config. - GoogleDiscoveryEngineSitemap
-
Factory wrapper for
google_discovery_engine_sitemap. - GoogleDiscoveryEngineTargetSite
-
Factory wrapper for
google_discovery_engine_target_site. - GoogleDiscoveryEngineUserStore
-
Factory wrapper for
google_discovery_engine_user_store. - GoogleDiscoveryEngineWidgetConfig
-
Factory wrapper for
google_discovery_engine_widget_config. - IgnoreAllChanges
- IgnoreChanges.all.
- IgnoreAttributes
- IgnoreChanges.of.
- IgnoreChanges
-
What
ignore_changescovers: every attribute, or the listed ones. - InvalidDartDefineOutput
-
An output of
Stack.addDartDefineOutputthat cannot carry what it names: an output that is not registered, is sensitive or has no environment value, two outputs read from one variable, or no output at all. - InvalidLifecycle
-
A
lifecycleblock Terraform rejects: a data source (or one of its attributes) inreplaceTriggeredBy,allinside IgnoreChanges.of, or a condition with an empty error message. - InvalidMoveTarget
-
A
movedblock whosetonames no resource of the Stack. - InvalidTimeout
-
A negative
timeoutsduration. - LifecycleCondition
-
A
preconditionorpostconditionblock: Terraform fails the plan (LifecycleCondition.pre) or the apply (LifecycleCondition.post) with errorMessage when condition is false. - LifecycleOptions
-
lifecycle { ... }block on a resource. - LocalBackend
-
terraform { backend "local" { ... } }configuration. - MissingProvider
-
A block needs a provider configuration the Stack does not register:
the provider its type implies (
googleforgoogle_pubsub_topic), the one itsprovidermeta-argument names, or one a module call passes on. - ModuleCall
-
A
module "<localName>" { ... }call as a Dart value. - NoProviders
- The Stack registers no provider, but declares resources or data sources.
- ProviderConflict
- Two provider registrations Terraform rejects together: two defaults of one name, a repeated alias, an alias that is not an identifier, or configurations of one name with different source / version constraints.
-
RefConstant<
T> - The AppConstant.ref choice.
- ReplaceTrigger
-
What
lifecycle.replaceTriggeredBylists: a resource of the Stack or an attribute getter of one.Resourceand TfRef implement it; synth reports a data source or a data-source attribute as anInvalidLifecycle. - Resource
- Base of every user-instantiable Terraform resource.
- ResourceRef
-
Public for sealed pattern matching, but constructor is private — only
TfRef.resource()may construct instances. - S3Backend
-
terraform { backend "s3" { ... } }configuration. -
Sensitive<
T> -
What an argument Terraform marks sensitive takes: a variable, an
expression or an attribute getter — a value Terraform resolves, never a
Dart literal that would be written into
main.tf.json. - SensitiveLiteral
-
A sensitive field is set to a literal, which would write the secret in
plain text into
main.tf.json. - Stack
- User-extended IaC composition root.
- StackBackend
-
Lightweight backend hook. Core ships
GcsBackend,S3Backend, andLocalBackend; anything else implements this interface in the caller. TheStackonly stores the value and exposes a discriminator for synth'sterraform { backend ... }emitter. - StackProvider
-
Coordination interface between
Stack(in this package) and concrete providers (e.g.GoogleProviderinterradart_google). Concrete providers implement every getter using their baked-in constants from Stage 2 codegen. - SynthIssue
- One reason a Stack cannot be synthesized.
- SynthResult
-
Bundle returned by
StackSynth.synth. - TfAddressed
-
Anything that exposes a Terraform address, e.g.
google_pubsub_topic.orders. -
TfArg<
T> - A Terraform argument: a Dart-side literal, a reference to another block's attribute (TfRef), a variable or a raw expression.
-
TfArgExpression<
T> - A raw Terraform expression — the tf.json template string, verbatim.
-
TfArgLiteral<
T> -
TfArgVariable<
T> - TfCollectionType
-
list(...),set(...)ormap(...). - TfMoved
-
One
moved { from = ... to = ... }block: the state object at from now belongs to the resource at to, so a rename does not become a destroy-and-create. - TfObjectType
-
object({ ... }). - TfOptionalType
-
optional(<type>[, <default>]). -
TfOutput<
T> -
An
output "<name>" { value = ... }block, registered withStack.addOutput. - TfPrimitiveType
-
string,number,boolorany. -
TfRef<
T> - A Terraform-side reference: an attribute of a resource (AttributeRef) or a data source (DataRef), or a whole resource (ResourceRef).
- TfTimeouts
-
timeouts { ... }on a resource or data source: how long Terraform waits for each operation before giving up. - TfTupleType
-
tuple([...]). - TfType
-
A Terraform type constraint:
string,list(number),object({ name = string }). - TfVariable
-
One
variable "<name>" { ... }declaration. - UndeclaredVariable
-
A
TfArg.variableorvar.<name>in an expression names a variable the Stack does not declare. - UnregisteredReference
-
A block references another block that was never registered on the
Stack: built, but not passed to
add(...)/addModule(...). - UnresolvableConstant
-
An
AppConstant.refwhose value is not known at synth: the attribute is not set to a literal, is sensitive, does not match the constant's type, or belongs to a block that is not registered. -
ValueConstant<
T> - The AppConstant.value choice.
Enums
- ResourceKind
-
Whether a Stack entry is a
resourceblock or adatablock in Terraform JSON.
Extension Types
- DiscoveryEngineAclConfigIdpType
-
idp_type— derived from the provider schema description. - DiscoveryEngineChatEngineIndustryVertical
-
Discovery Engine Chat Engine Industry enum for
industry_vertical. - DiscoveryEngineControlAttributeType
-
attribute_type— derived from the provider schema description. - DiscoveryEngineControlSolutionType
-
Discovery Engine Control Solution enum for
solution_type. - DiscoveryEngineDataStoreContentConfig
-
Discovery Engine Data Store Content enum for
content_config. - DiscoveryEngineDataStoreIndustryVertical
-
Discovery Engine Data Store Industry enum for
industry_vertical. - DiscoveryEngineLicenseConfigSubscriptionTerm
-
Discovery Engine License Config Subscription enum for
subscription_term. - DiscoveryEngineLicenseConfigSubscriptionTier
-
Discovery Engine License Config Subscription enum for
subscription_tier. - DiscoveryEngineRecommendationEngineIndustryVertical
-
Discovery Engine Recommendation Engine Industry enum for
industry_vertical. - DiscoveryEngineRecommendationEngineTrainingState
-
training_state— derived from the provider schema description. - DiscoveryEngineSearchEngineIndustryVertical
-
Discovery Engine Search Engine Industry enum for
industry_vertical. - DiscoveryEngineSearchEngineRequiredSubscriptionTier
-
required_subscription_tier— derived from the provider schema description. - DiscoveryEngineSearchEngineTier
-
search_engine_config.search_tier. - DiscoveryEngineTargetSiteIndexingStatus
-
Discovery Engine Target Site Indexing enum for
indexing_status. - DiscoveryEngineTargetSiteType
-
Discovery Engine Target Site enum for
type. - DiscoveryEngineWidgetConfigDeviceVisibility
-
device_visibility— derived from the provider schema description. - DiscoveryEngineWidgetConfigImageSource
-
image_source— derived from the provider schema description. - DiscoveryEngineWidgetConfigInteractionType
-
interaction_type— derived from the provider schema description. - DiscoveryEngineWidgetConfigResultDescriptionType
-
result_description_type— derived from the provider schema description. - OutputEnvironment
-
The environment
Stack.outputEnvironmentreturns: each variable and its value, in registration order. - RefTo
-
A reference to a resource of type
R, for an argument that names another resource (network,vpc_id,role_arn, ...).
Extensions
-
RefToList
on TfArg<
List< RefTo< >R> > -
A list-valued reference argument (
security_group_ids,subnet_ids): a literal list of RefTos, or one value that is the whole list (TfArg.variable('subnet_ids'),TfArg.expression(...)). - TerraformDurationExt on Duration
- Converts a Dart Duration into a Terraform duration string ("604800s").
Constants
- terradartManifestVariable → const String
-
The environment variable the
terradartcommand sets to the file runStack and runEnvironments describe what they wrote in.
Functions
-
runEnvironments<
E extends Enum> (List< String> args, List<E> environments, Stack build(E env), {String dir(E env)?, String? workspace(E env)?, List<String> backendConfig(E env)?, E? defaultEnv}) → Future<void> -
The entry point of a project with one Stack per environment. The
environments are the members of an enum of the project's own — any
names, each carrying its values — so the Stack takes a typed
envand derives everything per environment from it, its backend included: -
runStack(
List< String> args, Stack build(), {String out = 'tf-out'}) → Future<void> -
The entry point of a project with one Stack: writes it to
out.
Exceptions / Errors
- DuplicateModuleError
-
A
ModuleCallregistered twice under one name. - DuplicateResourceError
-
Thrown by
Stack.addwhen an entry with the same(kind, terraformType, localName)triple is registered twice. - SynthException
-
Thrown by
Stack.synth()andStack.writeTo()when the Stack has one or more SynthIssues. Nothing is written.