okustera_s3_bucket (Resource)
The okustera_s3_bucket resource declares an S3-compatible storage bucket hosted on Okustera's Ceph RADOS Gateway (RGW) cluster. It integrates with OpenStack Keystone for identity and access control.
Example Usage
Standard S3 Bucket
resource "okustera_s3_bucket" "backups" {
name = "database-daily-backups"
acl = "private"
}
Schema
Required
name(String) Name of the bucket. Must follow standard S3 naming conventions.
Optional
acl(String) Canonical bucket ACL (private,public-read). Defaults toprivate.
Read-Only Attributes
id(String) Bucket name / identifier.object_count(Number) Current number of stored objects in the bucket.bytes_used(Number) Total bytes consumed by objects in the bucket.created_at(String) ISO timestamp of bucket creation.