You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying data keycloak_group with the nested group, it returns an error
Step to reproduce:
// First, run a TF apply for groups creation
data "keycloak_realm" "realm" {
realm = "master"
}
resource "keycloak_group" "parent_group" {
realm_id = data.keycloak_realm.realm.id
name = "parent-group"
}
resource "keycloak_group" "child_group" {
realm_id = data.keycloak_realm.realm.id
parent_id = keycloak_group.parent_group.id
name = "child-group"
}
// Then run another TF plan/apply for query groups by datasource
data "keycloak_group" "parent_group" {
realm_id = data.keycloak_realm.realm.id
name = "parent-group"
}
data "keycloak_group" "child_group" {
realm_id = data.keycloak_realm.realm.id
name = "child-group"
}
Then received this error:
Error: no group with name child-group found
on keycloak_test.tf line 30, in data "keycloak_group" "child_group":
30: data "keycloak_group" "child_group" {
Both groups are present in Keycloak after the first creation run.
When trying
data keycloak_group
with the nested group, it returns an errorStep to reproduce:
Then received this error:
Both groups are present in Keycloak after the first creation run.
Originally posted by @chanhht in #330 (comment)
The text was updated successfully, but these errors were encountered: