You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
I created a resource server using an auth0_resource_server, with a few scopes configured.
After removing the scopes block, terraform apply says it will remove the scopes but they stay configured.
Subsequent terraform apply always show a plan where scopes will be removed, until new scopes are added (different plan), or scopes are manually removed from the Auth0 console.
Terraform Version
Terraform 0.13.5
+ provider.auth0 0.15.2
Affected Resource(s)
auth0_resource_server
Terraform Configuration Files
Initial configuration:
resourceauth0_resource_server"test" {
name ="test123"
identifier ="https://example.com"scopes {
value ="foo:bar"
description ="bar the foo"
}
}
Removing the scopes block doesn't delete the last, unique scope configured.
Expected Behavior
The last scope should be removed and subsequent plan should not show any difference.
Actual Behavior
The last scope stays configured, and Terraform always shows a difference and says it will remove the last scope.
Steps to Reproduce
Create the a resource server with 1 scope defined
terraform apply
Remove the scope from the configuration
terraform apply shows it will remove the scope
The text was updated successfully, but these errors were encountered:
This relates to several other issues that are present within the provider and I have captured this along with the others within auth0/terraform-provider-auth0#14.
Description
I created a resource server using an
auth0_resource_server
, with a fewscopes
configured.After removing the
scopes
block,terraform apply
says it will remove the scopes but they stay configured.Subsequent
terraform apply
always show a plan where scopes will be removed, until new scopes are added (different plan), or scopes are manually removed from the Auth0 console.Terraform Version
Affected Resource(s)
auth0_resource_server
Terraform Configuration Files
Initial configuration:
Removing the
scopes
block doesn't delete the last, unique scope configured.Expected Behavior
The last scope should be removed and subsequent plan should not show any difference.
Actual Behavior
The last scope stays configured, and Terraform always shows a difference and says it will remove the last scope.
Steps to Reproduce
terraform apply
terraform apply
shows it will remove the scopeThe text was updated successfully, but these errors were encountered: