provider property

StackProvider? provider
final

Optional Terraform provider meta-argument: the provider configuration this block uses, e.g. the aliased GoogleProvider(alias: 'eu') the Stack registered with addProvider.

When set, synth emits "provider": "<name>[.<alias>]" on the block and requires that same instance to be registered on the Stack. Omit for the default configuration of defaultProvider. Every curated factory exposes it as its provider: constructor parameter.

Implementation

final StackProvider? provider;