Auth0 Community Ask Me Anything with Auth0 Terraform Provider

Howdy Konrad!

I have two questions that I am bursting to ask, the first: whats the Auth0 ‘ideal’ approach to managing multiple tenants in Terraform?

I’ve seen some answers on issues in Github which suggested using a workspace per tenant, but using Terraform workspaces to manage environments can to be contraversial. I’d love to see how you’d put it into action.

My second question which is loosely Terraform related - are subtenants still a thing, or are organisations the way to go now?

Consider the below use case:

An international organisation managing country-specific applications, these applications may have alternative auth flows depending on the country they are depoloyed into, and are managed by a team within that country.

One way of managing this would be to set up multiple tenants specific to each country, but this feels like it would get messy quickly as the tenants would all be floating in a pool together - hence, subtenants, but then again Organisations? I don’t know enough about Organisations to know!

5 Likes