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_client resource: allowed_origins and web_origins fields don't apply removal #1108

Open
6 tasks done
seth-peters-apiture opened this issue Dec 27, 2024 · 0 comments
Open
6 tasks done
Labels
🪲 bug Something isn't working

Comments

@seth-peters-apiture
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 upgraded to the latest version of this provider 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 updating an auth0_client resource to change cross_origin_auth from true to false, remove allowed_origins, and remove web_origins, only the cross_origin_auth change is successfully applied.

The terraform apply output shows that the change is successful, but on successive plans and in the auth0 console it can be seen that the allowed_origins and web_origins changes are never applied.

Expectation

The expected changes shown in the plan should be applied when running terraform apply.

Reproduction

  1. Create an auth0_client resource that has cross_origin_auth set to true and has at least one url in the allowed_origins and web_origins lists with terraform.
  2. Update the terraform auth0_client resource code to set cross_origin_auth to false, set allowed_origins to null or remove the field entirely, and set web_origins to null or remove the field entirely.
  3. Run terraform apply
  4. The changes will say they applied
  5. Either run terraform plan again, or check in the auth0 console. The change will not have been applied.

Auth0 Terraform Provider version

1.9.1

Terraform version

1.7.4

@seth-peters-apiture seth-peters-apiture added the 🪲 bug Something isn't working label Dec 27, 2024
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

1 participant