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

Unsupported attribute scopes used in docs (auth0_resource_server_scope, auth0_resource_server_scopes) #994

Open
6 tasks done
jackton1 opened this issue Jul 30, 2024 · 0 comments
Assignees
Labels
🪲 bug Something isn't working

Comments

@jackton1
Copy link

jackton1 commented Jul 30, 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 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

Running terraform plan with the following code results in an unsupported attribute error.

resource "auth0_resource_server" "my_api" {
  name       = "Example Resource Server (Managed by Terraform)"
  identifier = "https://api.example.com"
  
  # ------------------------------- Start ---------------------------
  # Until we remove the ability to operate changes on
  # the scopes field it is important to have this
  # block in the config, to avoid diffing issues.
  lifecycle {
    ignore_changes = [scopes]
  }
  # --------------------------------- End -------------------------
}

The block between the start and End comment results in Unsupported attribute error.

See:

Expectation

The documentation is updated to reflect expected usage without errors

Reproduction

Copy the code above and run terraform plan.

Auth0 Terraform Provider version

v1.4.0

Terraform version

v1.9.0

@jackton1 jackton1 added the 🪲 bug Something isn't working label Jul 30, 2024
@duedares-rvj duedares-rvj self-assigned this Sep 12, 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

2 participants