No longer possible to generate auth0 terraform config without paid subscription

$ auth0 login

$ echo -e "export AUTH0_DOMAIN=CHANGE_ME\nexport AUTH0_CLIENT_ID=CHANGE_ME\nexport AUTH0_CLIENT_SECRET=CHANGE_ME" > sourceme
# edited this file

$ source sourceme
$ mkdir -p auth0-ref && auth0 tf generate --output-dir auth0-ref

Fetching data from Auth0... failed

=== dev-xxxxxxxxxx.eu.auth0.com error

 ▸    402 Payment Required: A paid subscription is required to use Advanced Customizations..

I used to be able to generate auth0 terraform files for my auth0 tenant without a paid plan. Today I tried again with another tenant I’ve had for years but wasn’t tracked in terraform, and the process is no longer possible.

My goal is to track my tenant’s config with terraform, is this no longer possible without payment? It’s unclear at which step the command is failing. I’d like to generate as much as the terraform config as possible, utlitmately this is a way for me to get all the IDs needed to terraform import resources into my existing (custom) auth0 terraform module.

I worked around this using:

auth0 api get connections
auth0 api get clients

To get the IDs of the resources I needed although getting it all to import into terraform was messy but worked in the end.

Hi @dan-cbm

Thanks for letting us know!

Most probably, some configuration that you have on the tenant was created using a free trial and uses premium features, that is why you might not be able to export the entire tenant configuration!

Take care!

Kind Regards,
Nik