Checklist
Description
auth0 terraform gen does no longer create auth0_generated.tf file.
Giving more context :
auth0 version 1.29.0 9013b72
I use environment variables AUTH0_DOMAIN, AUTH0_CLIENT_ID and AUTH_CLIENT_SECRET that seems valid and refers to an application that have all rights.
I also tried in an empty folder to be sure and also on several tenants.
However, I still get this result:
Fetching data from Auth0... done
▸ Output directory "./" is not empty. Proceeding will overwrite the auth0_main.tf, auth0_import.tf and auth0_generat Are you sure you want to proceed? Yes
Generating Terraform configuration... failed
▸ Terraform resource config generated successfully but there was an error with terraform plan.
▸ Run ./terraform plan to troubleshoot
▸ Once the plan succeeds, run ./terraform apply to complete the import.
▸ The terraform binary and auth0_import.tf files can be deleted afterwards.
I also tried to specify --Debug or a terraform version with -v but nothing changed.
Expectation
When I use the command line: auth0 terraform gen, I should also get auth0_generated.tf files.
Reproduction
- Given I have a configured application with all rights to the managment API
- And Environment variables AUTH0_DOMAIN, AUTH0_CLIENT_ID, AUTH0_CLIENT_SECRET refers to this application
- When I use the Auth0 CLI with the command: auth0 terraform gen
- Then I should get all files including auth0_generated.tf
Auth0 CLI version
1.29.0 9013b72
Checklist
Description
auth0 terraform gen does no longer create auth0_generated.tf file.
Giving more context :
auth0 version 1.29.0 9013b72
I use environment variables AUTH0_DOMAIN, AUTH0_CLIENT_ID and AUTH_CLIENT_SECRET that seems valid and refers to an application that have all rights.
I also tried in an empty folder to be sure and also on several tenants.
However, I still get this result:
I also tried to specify --Debug or a terraform version with -v but nothing changed.
Expectation
When I use the command line: auth0 terraform gen, I should also get auth0_generated.tf files.
Reproduction
Auth0 CLI version
1.29.0 9013b72