Skip to content

entrepot_blob_store

Looks up a blob store by name, including its current usage. The S3 secret access key is never returned.

data "entrepot_blob_store" "default" {
name = "default"
}
output "default_store_gib" {
value = data.entrepot_blob_store.default.usage.total_bytes / 1073741824
}
  • name (String) Blob store name.

Read-Only:

  • path (String) Directory holding the blobs.

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.

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).