Storage
StorageBuckets
resource nirvana_storage_bucket
required
Name of the Bucket, used to address it over S3. It must be 3 to 63 characters of lowercase letters, digits, dots and hyphens, start and end with a letter or digit, not contain two adjacent dots and not be formatted as an IP address. “admin” and “ops-api” are reserved. The name cannot be changed once the Bucket is created.
computed
S3 endpoint of the Bucket’s region. Point S3 clients at it, with an Object Storage Key of the same project and region.
Number of objects in the Bucket. Updated periodically, so it can lag behind recent writes.
Region S3 clients must sign their requests for (the SigV4 region). Configure it as the region of any S3 client or SDK used with the Bucket.
nirvana_storage_bucket
resource "nirvana_storage_bucket" "example_storage_bucket" {
name = "my-bucket"
project_id = "123e4567-e89b-12d3-a456-426614174000"
region = "us-sva-2"
tags = ["production", "ethereum"]
}
data nirvana_storage_bucket
computed
S3 endpoint of the Bucket’s region. Point S3 clients at it, with an Object Storage Key of the same project and region.
Number of objects in the Bucket. Updated periodically, so it can lag behind recent writes.
Region S3 clients must sign their requests for (the SigV4 region). Configure it as the region of any S3 client or SDK used with the Bucket.
nirvana_storage_bucket
data "nirvana_storage_bucket" "example_storage_bucket" {
bucket_id = "bucket_id"
}
data nirvana_storage_buckets
nirvana_storage_buckets
data "nirvana_storage_buckets" "example_storage_buckets" {
project_id = "project_id"
name = "name"
region = "region"
status = "ready"
tags = ["string"]
}
StorageKeys
resource nirvana_storage_key
required
nirvana_storage_key
resource "nirvana_storage_key" "example_storage_key" {
name = "ci-uploads"
project_id = "123e4567-e89b-12d3-a456-426614174000"
region = "us-sva-2"
}
data nirvana_storage_key
computed
nirvana_storage_key
data "nirvana_storage_key" "example_storage_key" {
key_id = "key_id"
}
data nirvana_storage_keys
optional
nirvana_storage_keys
data "nirvana_storage_keys" "example_storage_keys" {
project_id = "project_id"
name = "name"
region = "region"
}