| page_title | stackit_objectstorage_bucket Data Source - stackit |
|---|---|
| subcategory | |
| description | ObjectStorage bucket data source schema. Must have a region specified in the provider configuration. |
ObjectStorage bucket data source schema. Must have a region specified in the provider configuration.
data "stackit_objectstorage_bucket" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-name"
}name(String) The bucket name. It must be DNS conform.project_id(String) STACKIT Project ID to which the bucket is associated.
region(String) The resource region. If not defined, the provider region is used.
id(String) Terraform's internal data source identifier. It is structured as "project_id,region,name".object_lock(Boolean) Enable Object Lock on this bucket. Can only be set at creation time. Requires an active project-level compliance lock.url_path_style(String)url_virtual_hosted_style(String)