entrepot_blob_store
A blob store holds repository content. file stores use a directory on a mounted volume (PVC, EBS, EFS) under the server’s storage.allowedRoots; s3 stores use an S3-compatible bucket. Repositories choose their blob store at creation.
Example Usage
Section titled “Example Usage”# A directory on a mounted volume (PVC, EBS or EFS) under the server's storage.allowedRoots.resource "entrepot_blob_store" "efs" { name = "shared" type = "file" file = { path = "/data/shared" }}
# An S3 bucket. Leave access_key_id unset to use IRSA / the AWS default credential chain.resource "entrepot_blob_store" "s3" { name = "artifacts" type = "s3" s3 = { bucket = "my-entrepot-artifacts" region = "eu-west-2" prefix = "prod" redirect_downloads = true }}Schema
Section titled “Schema”Required
Section titled “Required”name(String) Blob store name. Changing it forces a new store.type(String)fileors3. Changing it forces a new store.
Optional
Section titled “Optional”file(Attributes) Settings fortype = "file". (see below for nested schema)s3(Attributes) Settings fortype = "s3". (see below for nested schema)
Read-Only
Section titled “Read-Only”id(String) Same asname.
Nested Schema for file
Section titled “Nested Schema for file”Required:
path(String) Directory, e.g./data/default.
Nested Schema for s3
Section titled “Nested Schema for s3”Required:
bucket(String)
Optional:
access_key_id(String) Leave unset to use the AWS default credential chain (IRSA).endpoint(String) Custom endpoint for MinIO, Ceph RGW, R2, …force_path_style(Boolean) Use path-style addressing (MinIO).prefix(String) Key prefix inside the bucket.redirect_downloads(Boolean) Redirect large downloads to presigned S3 URLs.region(String)secret_access_key(String, Sensitive) Write-only: never returned by the API, so changes made outside Terraform are not detected.
Import
Section titled “Import”The terraform import command can be used, for example:
# Blob stores are imported by name.terraform import entrepot_blob_store.s3 artifactsResource documentation generated from the provider’s schema (docs/resources/blob_store.md in terraform-provider-entrepot).