Import of an auth0_resource_server_scopes unable to use existing scopes due to reorder #1062
Open
6 tasks done
Labels
🪲 bug
Something isn't working
Checklist
Description
I'm trying to import auth0_resource_server_scopes resource and it appears that the resources is alphabetizing the scopes which leads to it want to delete all the scopes and recreate them. This would break any clients and may break association resources as the underlying ids would like change.
Expectation
Scopes should not be recreated on import if they already exist on the resource server.
Reproduction
~ resource "auth0_resource_server_scopes" "scopes" {
id = "foo"
resource_server_identifier = "foo"
Auth0 Terraform Provider version
1.7.1
Terraform version
1.7.3
The text was updated successfully, but these errors were encountered: