TimeProvider class final

Concrete StackProvider for hashicorp/time (used by TimeSleep).

Annotations
  • @immutable

Constructors

TimeProvider()
const

Properties

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 setter
hashCode int
The hash code for this object.
no setterinherited
providerName String
Short provider name, e.g. 'google'. Used as the JSON key under provider.<providerName>.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
Source identifier in form <namespace>/<name>, e.g. 'hashicorp/google'. GoogleProvider returns kProviderSource. Synth emits this under terraform.required_providers.<providerName>.source.
no setter
versionConstraint String
Pinned for time_sleep — independent of the Google provider pin.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toTfJson() Map<String, Object?>
Backwards-compat shim for tests / earlier callers that invoked toTfJson() directly. Returns the same map as configArgs.

Operators

operator ==(Object other) bool
The equality operator.
inherited