Description
The example for the custom role data source shows this:
data "stackit_authorization_organization_custom_role" "example" {
resource_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "my.custom.role"
}
But the schema describes the role_id as required.
From the API documentation I assume the example is just wrong. But I would also like to add, that it would be super useful to get an existing role via name only instead of needing to provide the role_id.
The current implementation doesn't really add value, because if I already have the role_id, I don't see why I would want to use the data source, except for validation maybe.
REF:
Description
The example for the custom role data source shows this:
But the schema describes the
role_idas required.From the API documentation I assume the example is just wrong. But I would also like to add, that it would be super useful to get an existing role via name only instead of needing to provide the role_id.
The current implementation doesn't really add value, because if I already have the
role_id, I don't see why I would want to use the data source, except for validation maybe.REF: