entrepot_blob_store
Looks up a blob store by name, including its current usage. The S3 secret access key is never returned.
Example Usage
Section titled “Example Usage”data "entrepot_blob_store" "default" { name = "default"}
output "default_store_gib" { value = data.entrepot_blob_store.default.usage.total_bytes / 1073741824}Schema
Section titled “Schema”Required
Section titled “Required”name(String) Blob store name.
Read-Only
Section titled “Read-Only”file(Attributes) Settings of afilestore (null otherwise). (see below for nested schema)id(String) Same asname.s3(Attributes) Settings of ans3store (null otherwise). (see below for nested schema)type(String)fileors3.usage(Attributes) Current usage. (see below for nested schema)
Nested Schema for file
Section titled “Nested Schema for file”Read-Only:
path(String) Directory holding the blobs.
Nested Schema for s3
Section titled “Nested Schema for s3”Read-Only:
access_key_id(String) Access key ID (null when the AWS default credential chain is used).bucket(String) Bucket name.endpoint(String) Custom S3 endpoint.force_path_style(Boolean) Whether path-style addressing is used.prefix(String) Key prefix inside the bucket.redirect_downloads(Boolean) Whether large downloads are redirected to presigned URLs.region(String) Bucket region.
Nested Schema for usage
Section titled “Nested Schema for usage”Read-Only:
blob_count(Number) Number of blobs stored.repositories(Number) Number of repositories using the store.total_bytes(Number) Total size of the blobs in bytes.
Data source documentation generated from the provider’s schema (docs/data-sources/blob_store.md in terraform-provider-entrepot).