StorageBucketObjectBodySource class final
Upload from a local filesystem path. Terraform reads the file at apply time and uploads it to GCS.
source is ForceNew: changing the path replaces the object.
- Inheritance
-
- Object
- StorageBucketObjectBody
- StorageBucketObjectBodySource
- Annotations
-
- @immutable
Constructors
-
StorageBucketObjectBodySource(TfArg<
String> source) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ TfArg<
String> -
Filesystem path to the data. Usually
TfArg.literal('./path/to/file').final -
value
→ TfArg<
String> -
The scalar value that will be written to the argMap under
blockKey. Always aTfArg<String>(source is a file path, content is the inline string).no setteroverride
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