terraform-provider-keycloak icon indicating copy to clipboard operation
terraform-provider-keycloak copied to clipboard

Set manually realm ID

Open jitbasemartin opened this issue 2 years ago • 0 comments

Hi !

I would like to set manually the realm ID, like:

resource "keycloak_realm" "realm_1" {
  id                = "b2c07820-16de-4350-94d6-54d9f0796d2b"
  realm             = "realm-1"
  enabled           = true
  ...
}

But I got

| Error: Invalid or unknown key
│ 
│   with keycloak_realm.realm_1,
│   on main.tf line 37, in resource "keycloak_realm" "realm_1":
│   37:   id                = "b2c07820-16de-4350-94d6-54d9f0796d2b"

Is it possible to do that ?

Thanks

jitbasemartin avatar Jan 03 '22 22:01 jitbasemartin