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

Terraform is not overwriting manual changes #117

Closed
rpf3 opened this issue Apr 1, 2022 · 2 comments
Closed

Terraform is not overwriting manual changes #117

rpf3 opened this issue Apr 1, 2022 · 2 comments
Labels
🪲 bug Something isn't working

Comments

@rpf3
Copy link

rpf3 commented Apr 1, 2022

Describe the problem

I have an Auth0 client resource created and managed with Terraform and was not setting the web_origins argument. In testing a change, I was in the Auth0 web console and set a single URL in the web origins field. Now every time I run an apply Terraform wants to update the client to the correct value of an empty list. However after the apply the value is still visible on the web console. I even tried manually setting web_origins = [] and that didn't change the result.

What was the expected behavior?

I expect the Terraform provider to overwrite any manual changes in the UI and update the client with the values in the code.

Reproduction

  1. Create an auth0_client resource with nothing set for web_origins
  2. In the web console, add a value to the web origins and save
  3. Run another Terraform apply and verify the change to remove the web origin
  4. Verify in the web console the web origin value is still present

Environment

Terraform 1.0.0
Auth0 Provider 0.28.0

@rpf3 rpf3 added the 🪲 bug Something isn't working label Apr 1, 2022
@rpf3
Copy link
Author

rpf3 commented Apr 1, 2022

This looks like it's actually already tracked by #14 but I'll let someone else verify and close.

@sergiught
Copy link
Contributor

Hey @rpf3, thanks for opening this issue and indeed it's a duplicate of #14. We're aiming at tackling that very soon. We'll keep everyone posted:)

For now I'll close this down and add it in the summary of #14.

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