terraform-provider-stackitp.../docs/data-sources/objectstorage_bucket.md
Rüdiger Schmitz c257ac49e2
Fix/stackittpr 102 objectstorage handling region in individual resources (#711)
* Revert "fix: make resource/data-source specific region attribute read-only (#682)"

This reverts commit 3e8dcc542b.

* fix: Support individual regions

* fix: review findings
2025-03-12 09:49:47 +00:00

1.1 KiB

page_title subcategory description
stackit_objectstorage_bucket Data Source - stackit ObjectStorage bucket data source schema. Must have a region specified in the provider configuration.

stackit_objectstorage_bucket (Data Source)

ObjectStorage bucket data source schema. Must have a region specified in the provider configuration.

Example Usage

data "stackit_objectstorage_bucket" "example" {
  project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  name       = "example-name"
}

Schema

Required

  • name (String) The bucket name. It must be DNS conform.
  • project_id (String) STACKIT Project ID to which the bucket is associated.

Optional

  • region (String) The resource region. If not defined, the provider region is used.

Read-Only

  • id (String) Terraform's internal data source identifier. It is structured as "project_id,name".
  • url_path_style (String)
  • url_virtual_hosted_style (String)