Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
6 tasks done
hyei opened this issue Feb 28, 2024 · 1 comment · Fixed by #1032
Closed
6 tasks done
Labels
bug This points to a verified bug in the code

Comments

@hyei
Copy link

hyei commented Feb 28, 2024

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this project and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • 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:

  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 54e9a30

@duedares-rvj
Copy link
Contributor

duedares-rvj commented Sep 23, 2024

Closing this since changes have been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants