auth0-cli
auth0-cli copied to clipboard
auth0 terraform generate command does not create imports for auth0_client_credentials resources
Checklist
- [X] I have looked into the README and have not found a suitable solution or answer.
- [X] I have looked into the documentation and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have upgraded to the latest version of this project and the issue still persists.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
When using the auth0 terraform generate command on one of auth0 tenants, the auth0_client_credentials resource is not imported within auth0_import.tf
Expectation
I expect all auth0 resources to be generated from my tenant so as to be able to replicate my tenants settings in another tenant.
Reproduction
Consistently reproduced:
- Via the auth0 Dashboard, create and configure a tenant with at least one application/client with Applcation Type: regular_web, and change the default credentials from "Client Secret (Post)" to "None"
- Setup the auth0 cli with the tenant and run cmd: auth0 terraform generate --tenant
- auth0_import.tf is generated.
Terraform file does not include any import statements for the auth0_client_credentials resources.
Auth0 CLI version
1.4.0 54e9a30eeb58a4a7e40e04dc19af6869036bfb32