auth0 / auth0-cli

Build, manage and test your Auth0 integrations from the command line
https://auth0.github.io/auth0-cli/
MIT License
243 stars 52 forks source link

auth0 terraform generate command does not create imports for auth0_client_credentials resources #980

Open hyei opened 6 months ago

hyei commented 6 months ago

Checklist

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:

  1. 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"
  2. Setup the auth0 cli with the tenant and run cmd: auth0 terraform generate --tenant
  3. 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