Fix documentation (#253)

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
Henrique Santos 2024-02-07 13:51:59 +00:00 committed by GitHub
parent a29c954c84
commit 80666ec3d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ data "stackit_objectstorage_credentials_group" "example" {
### Optional
- `credentials_group_id` (String) Terraform's internal data source identifier. It is structured as "`project_id`,`credentials_group_id`".
- `credentials_group_id` (String) The credentials group ID.
- `name` (String) The credentials group's display name.
### Read-Only

View file

@ -76,7 +76,7 @@ func (r *credentialsGroupDataSource) Schema(_ context.Context, _ datasource.Sche
descriptions := map[string]string{
"main": "ObjectStorage credentials group data source schema. Must have a `region` specified in the provider configuration.",
"id": "Terraform's internal data source identifier. It is structured as \"`project_id`,`credentials_group_id`\".",
"credentials_group_id": "The credentials group ID",
"credentials_group_id": "The credentials group ID.",
"name": "The credentials group's display name.",
"project_id": "Object Storage Project ID to which the credentials group is associated.",
"urn": "Credentials group uniform resource name (URN)",
@ -90,7 +90,7 @@ func (r *credentialsGroupDataSource) Schema(_ context.Context, _ datasource.Sche
Computed: true,
},
"credentials_group_id": schema.StringAttribute{
Description: descriptions["id"],
Description: descriptions["credentials_group_id"],
Optional: true,
Computed: true,
},