×

6.10.5. cloupard_storage_bucket

 
Defines a bucket within the storage.
 
Example Use.
resource "cloupard_storage_bucket" "mybucket" {
storage_id = cloupard_storage.storage_test.id
name = "mybucket"
note = "bucket1 on mystorage"
max_size_in_bytes = 1073741824
anonymous_access_type = 1
move_into_commercial_mode_on_test_out = false
versioning = false
}
 
Attributes.
 
  • storage_id (Required): Associated storage ID.
  • name  (Required): Name of the bucket.
  • note  (Computed, Optional): Additional note for the bucket.
  • max_size_in_bytes  (Computed, Optional): Maximum size limit for the bucket.
  • anonymous_access_type  (Computed, Optional): Access type for anonymous users.
Values.
0 – none
1 – read
2 – read and write
  • move_into_commercial_mode_on_test_out  (Computed, Optional): Flag to move to commercial mode after test.
  • versioning  (Computed, Optional): Flag for versioning support. False or True
  • id (Computed): Unique identifier for the bucket.