terraform-provider-stackitp.../docs/data-sources/objectstorage_credentials_group.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

40 lines
1.2 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_objectstorage_credentials_group Data Source - stackit"
subcategory: ""
description: |-
ObjectStorage credentials group data source schema. Must have a region specified in the provider configuration.
---
# stackit_objectstorage_credentials_group (Data Source)
ObjectStorage credentials group data source schema. Must have a `region` specified in the provider configuration.
## Example Usage
```terraform
data "stackit_objectstorage_credentials_group" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
credentials_group_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `project_id` (String) Object Storage Project ID to which the credentials group is associated.
- `region` (String) The resource region. If not defined, the provider region is used.
### Optional
- `credentials_group_id` (String) The credentials group ID.
- `name` (String) The credentials group's display name.
### Read-Only
- `id` (String) Terraform's internal data source identifier. It is structured as "`project_id`,`credentials_group_id`".
- `urn` (String) Credentials group uniform resource name (URN)