Resource: auth0_role

With this resource, you can create and manage collections of permissions that can be assigned to users, which are otherwise known as roles. Permissions (scopes) are created on auth0_resource_server, then associated with roles and optionally, users using this resource.

Example Usage

resource "auth0_role" "my_role" {
  name        = "My Role - (Managed by Terraform)"
  description = "Role Description..."
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

# Existing roles can be imported using their ID.
#
# Example:
terraform import auth0_role.my_role "XXXXXXXXXXXXXXXXXXXXXXX"