This message was deleted.
# general
s
This message was deleted.
w
(I'm a total noob on auth0)
Ok, so now I'm a little bit confused. It seems like the code above started modifying the tenant I set up in auth0 when I logged in the first time. I guess it is because my client id and secret sort of point to that tenant. But, the documentation for the
Tenant
class says it will create a tenant... is there a way to do that for real? Or do I have to create the tenants manually before I start "controlling" them from pulumi?
Funny that a blog post was announced on twitter that basically answered my question at the same time I wrote the question. @plain-businessperson-30883, thanks! Also, If you would like to manage different tenants for dev, test and prod I guess you need to create those manually in auth0 first and then set the client id and secret config in the dev, test and prod stack config.
p
You're welcome, @wet-noon-14291. Here in Credijusto we ended up with the same approach. I actually noticed the behavior you mentioned while writing that post, since we already had the tenants created I imported them.
w
It is a little bit dodgy behavior imo. In your case when you imported them it is fine, but when you don’t import it doesn’t work as expected as I see it.