In Keycloak 24 with Terraform mrparkers 4.4.0 I need to add a mapper to a dedicated client scope. All of the docs tell me to do it like this:
data "keycloak_openid_client_scope" "loadboard_scope" {
realm_id = local.realm_names["drivers"]
name = "loadboard-dedicated"
}
However, no matter what value I use for name, "loadboard" or "loadboard-dedicated" or "scope-loadboard" I keep getting an error during plan and/or apply:
expected provided client scope name to match 1 scope, but matched 0 scopes
How am I expected to add a mapper to the dedicated client scope?