×

10.8. oblakoteka_object_storage_item

 
Defines an object within a storage bucket
 
Example Use
resource "oblakoteka_object_storage_item" "txt1" {
 key = "txt1"
 source = "txt1.txt"
 access_key = oblakoteka_object_storage_access_key.mykey.key_id
 secret_key = oblakoteka_object_storage_access_key.mykey.key
 bucket = oblakoteka_object_storage_bucket.mybucket.name
}
 
Attributes
key (Required): Unique key of the object.
bucket (Required): Associated bucket name.
source (Required): Source of the object data.
access_key (Optional): Access key for the object.
secret_key (Optional, Sensitive): Secret key (hidden).