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.
resource "auth0_role" "my_role" {
name = "My Role - (Managed by Terraform)"
description = "Role Description..."
}
name
(String) The name of the role.description
(String) The description of the role.id
(String) The ID of this resource.Import is supported using the following syntax:
# Existing roles can be imported using their ID.
#
# Example:
terraform import auth0_role.my_role "XXXXXXXXXXXXXXXXXXXXXXX"