GoogleProvider class final
Concrete StackProvider for hashicorp/google ~> 8.0.
StackSynth.synth(...) reads source / versionConstraint to populate
the terraform.required_providers.google block, and configArgs to
populate the provider.google[] block.
All configuration fields are plain Dart types (not TfArg) — provider
blocks in Terraform JSON do not interpolate references to resources, so
there is no TfRef use case here. Pass literal strings only.
- Implemented types
- Annotations
-
- @immutable
Constructors
Properties
- alias → String?
-
Provider alias (
provider "google" { alias = "eu" }), ornullfor the default configuration. Select it on a resource by passing the instance asprovider:;Stack.addProviderregisters it and returns it for that.final -
configArgs
→ Map<
String, Object?> -
Provider-specific config args (project, region, credentials, etc.) as
JSON-encodable map. The returned map is copied verbatim into the
provider.<providerName>block. Empty map for unparameterized providers.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- project → String?
-
Default GCP project ID.
final
- providerName → String
-
Short provider name, e.g.
'google'. Used as the JSON key underprovider.<providerName>.no setteroverride - region → String?
-
Default GCP region (e.g.
us-central1).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Provider registry source —
hashicorp/google.no setteroverride - userProjectOverride → bool?
-
When true, quota and billing for the request are attributed to
project (
user_project_override).final - versionConstraint → String
-
Version constraint —
~> 8.0.no setteroverride - zone → String?
-
Default GCP zone (e.g.
us-central1-a).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited