terraform-provider-stackitp.../docs/resources/objectstorage_bucket.md
Rüdiger Schmitz 2923621ab0
Feat/stackittpr 20 region adjustments | tfp (migrate first service to new regions concept) (#664)
* feat: completed bucket and credential group

* feat: fix linter warnings

* feat: updated documentation

* feat: updated to current version of the regional api

* feat: implement review findings

* feat: implement further review findings

* fix: make sure region is stored for the data-source in the state
2025-02-10 14:28:33 +01:00

1.5 KiB

page_title subcategory description
stackit_objectstorage_bucket Resource - stackit ObjectStorage bucket resource schema. Must have a region specified in the provider configuration. If you are creating credentialsgroup and bucket resources simultaneously, please include the depends_on field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.

stackit_objectstorage_bucket (Resource)

ObjectStorage bucket resource schema. Must have a region specified in the provider configuration. If you are creating credentialsgroup and bucket resources simultaneously, please include the depends_on field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.

Example Usage

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

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 resource identifier. It is structured as "project_id,name".
  • url_path_style (String)
  • url_virtual_hosted_style (String)