10/14/2021, 9:26 AM
Hello @broad-dog-22463, are these issues automatically created by a bot? Just asking, because we contributed to the upstream TF provider and v3.5.0 is available: We would like to see this in a new Pulumi provider version. 🙏🏼


10/14/2021, 9:33 AM
I can get you out a release today ;)
🚀 1


10/14/2021, 9:33 AM
You rock! (as always)
@broad-dog-22463 just an explicit mention that we contributed a set of new resources to the TF provider, so probably these need to be mapped in the Pulumi provider. But I'm probably telling you the obvious. 🙂
@broad-dog-22463 thanks for the new Pulumi Keycloak provider release! 😉


02/04/2022, 5:14 AM
Hi @broad-dog-22463 . Thanks for the keycloak provider, it's very neat that I can setup my infra all in pulumi using this. I have an issue with importing a Client though.
Copy code
var realmManagementClient = new Client("realm-management-client", new ClientArgs()
                    Name = "${client_realm-management}",
                    Description = "Imported by Pulumi",
                    StandardFlowEnabled = true,
                    RealmId = "realm-test",
                    ClientId = "realm-management",
                    LoginTheme = "keycloak",
                    AccessType = "BEARER-ONLY"
                new CustomResourceOptions()
                    ImportId = "realm-test/realm-management",
                    Provider = cro.Provider
fails with
Copy code
keycloak:openid:Client (realm-management-client):
    error: importing realm-test/realm-management: importer for realm-test/realm-management returned a empty resource state. This is always the result of a bug in the resource provider - please re
port this as a bug in the Pulumi provider repository.
I'm trying to setup token-exchange, which requires me to create a ClientPolicy for the
Ideally I'd like to avoid importing this resource via command line
I ended up writing a bespoke client that will call the keycloak rest endpoint to get the clientId that I was after