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

Import auth0_organization_connection fails #299

Closed
5 tasks done
manuel-guilbault opened this issue Aug 25, 2022 · 3 comments
Closed
5 tasks done

Import auth0_organization_connection fails #299

manuel-guilbault opened this issue Aug 25, 2022 · 3 comments
Labels
🪲 bug Something isn't working

Comments

@manuel-guilbault
Copy link

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

Trying to import an existing auth0_organization_connection resource using a random UUID v4 as the ID, as per documentation, fails with the following error:

│ Error: 404 Not Found: Not Found

Expectation

I expect the existing auth0_organization_connection to be imported in the state successfully.

Reproduction

  1. Deploy an auth0_organization resource (with a connections block) using version 0.28.1 of the provider.
  2. Upgrade the provider to version 0.36.0.
  3. Modify the auth0_organization resource declaration by converting the connections block into a new auth0_organization_connection resource.
  4. Try to import the auth0_organization_connection resource in the state.

Auth0 Terraform Provider version

0.36.0

Terraform version

1.2.7

@manuel-guilbault manuel-guilbault added the 🪲 bug Something isn't working label Aug 25, 2022
@sergiught
Copy link
Contributor

Hey @manuel-guilbault 👋🏻 ! Really appreciate you opening this issue. I was able to reproduce the issue and started working on a fix. I'll give you an update on this when the fix is available. Thanks for your patience!

@sergiught
Copy link
Contributor

Hey @manuel-guilbault this was now fixed within https://registry.terraform.io/providers/auth0/auth0/0.37.0, closing this issue down now.

@manuel-guilbault
Copy link
Author

Awesome, thanks a lot @sergiught !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants