* Add example * Rename bucket_name --> bucket * Fix examples in wrong folder * Add example * Lint examples * Fix examples --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
34 lines
863 B
Markdown
34 lines
863 B
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.
|
|
---
|
|
|
|
# stackit_objectstorage_bucket (Data Source)
|
|
|
|
ObjectStorage bucket data source schema.
|
|
|
|
## 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.
|
|
|
|
### 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)
|