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_resource_server data source incorrectly returns identifier value in the id field #530

Closed
6 tasks done
rishabhg20 opened this issue Mar 13, 2023 · 6 comments
Closed
6 tasks done
Labels
🪲 bug Something isn't working

Comments

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

The auth0_resource_server data source returns the identifier value of the API in the id field.

Expectation

The data source should return the ID in the id field as it says in the documentation.

Reproduction

data "auth0_resource_server" "custom-api" {
  identifier = "custom-api-name"
}

output "custom-api-id" {
  value = data.auth0_resource_server.custom-api.id
}

Auth0 Terraform Provider version

0.44.1

Terraform version

1.3.9

@rishabhg20 rishabhg20 added the 🪲 bug Something isn't working label Mar 13, 2023
@rishabhg20 rishabhg20 changed the title Auth0 Resource Server data source incorrectly returns identifier value in the id field auth0_resource_server data source incorrectly returns identifier value in the id field Mar 13, 2023
@sergiught
Copy link
Contributor

Hey @rishabhg20 👋🏻 , thanks for raising this! I have a fix ready in #532 and we'll aim at releasing this in the next version.

@rishabhg20
Copy link
Author

@sergiught thank you! How often do you cut releases?

@sergiught
Copy link
Contributor

We'll schedule a release for this week with the fix, potentially Thursday.

@rishabhg20
Copy link
Author

@sergiught perfect! Do you want me to close this issue or you'd do that once you cut the release?

@sergiught
Copy link
Contributor

Appreciate you offering that @rishabhg20 👍🏻 however we'll close this down only once you have the fix in your hands and can benefit from it 😃 (once the release happens). So no worries about it! Thanks tho!

@sergiught
Copy link
Contributor

Hey @rishabhg20 👋🏻

The fix is available now in the latest release v0.45.0. Please give it a go and let us know if you have any issues with it. Thanks!

Docs: https://registry.terraform.io/providers/auth0/auth0/0.45.0/docs

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