* 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
37 lines
1 KiB
Markdown
37 lines
1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_objectstorage_bucket Data Source - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
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
|
|
|
|
```terraform
|
|
data "stackit_objectstorage_bucket" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example-name"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `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.
|
|
|
|
### 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)
|
|
|
|
|