terraform-provider-garage/docs/resources/bucket.md
Marc 'risson' Schmitt 2b61749be3
Add key, bucket, bucket_key, bucket_global_alias and bucket_local_alias resources
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@prologin.org>
2022-12-10 17:48:33 +01:00

1.4 KiB

page_title subcategory description
garage_bucket Resource - terraform-provider-garage This resource can be used to manage Garage buckets.

garage_bucket (Resource)

This resource can be used to manage Garage buckets.

Example Usage

resource "garage_bucket" "bucket" {}

resource "garage_bucket" "bucket-with-website" {
  website_access_enabled        = true
  website_config_index_document = "index.html"
  website_config_error_document = "error.html"
}

resource "garage_bucket" "bucket-with-quota" {
  quota_max_size    = 1024
  quota_max_objects = 100
}

Schema

Optional

  • quota_max_objects (Number)
  • quota_max_size (Number)
  • website_access_enabled (Boolean)
  • website_config_error_document (String)
  • website_config_index_document (String)

Read-Only

  • bytes (Number)
  • global_aliases (List of String)
  • id (String) The ID of this resource.
  • keys (Set of Object) (see below for nested schema)
  • objects (Number)
  • unfinished_uploads (Number)

Nested Schema for keys

Read-Only:

  • access_key_id (String)
  • local_aliases (List of String)
  • name (String)
  • permissions_owner (Boolean)
  • permissions_read (Boolean)
  • permissions_write (Boolean)