Terraform provider reference / data sources / object_storage

fiberax_object_storage (Data Source)

The object storage of the project: where to point your S3 tools, the reservation and its bounds, and the buckets with what they hold now.

For the aws provider use endpoint with path-style addressing (s3_use_path_style = true): bucket names are not served as subdomains. Needs the token of an object storage project.

Example Usage

data "fiberax_object_storage" "this" {
  provider = fiberax.storage
}

# The endpoint and region for S3 tools. To manage objects with the aws provider, keep them in a
# second configuration and give it the key through the environment (AWS_ACCESS_KEY_ID,
# AWS_SECRET_ACCESS_KEY): a key created in the same configuration is unknown when the aws provider
# is configured - see the guide "Object storage (S3)", section 5. Path-style addressing is required.
output "s3_endpoint" {
  value = data.fiberax_object_storage.this.endpoint
}

output "s3_region" {
  value = data.fiberax_object_storage.this.region
}

Schema

Read-Only

Nested Schema for buckets

Read-Only:

Nested Schema for reservation_limits

Read-Only:

Generated from the provider schema for version 0.11.0. How to install the provider: Terraform provider.