Skip to content

entrepot_role

Looks up a role (built-in such as viewer, developer, maintainer, admin, or custom) by name.

data "entrepot_role" "developer" {
name = "developer"
}
output "developer_actions" {
value = data.entrepot_role.developer.actions
}
  • name (String) Role name.
  • actions (List of String) Actions the role grants (read, write, delete, admin).
  • builtin (Boolean) Whether the role is built in (and cannot be changed).
  • description (String) Role description.
  • id (String) Same as name.

Data source documentation generated from the provider’s schema (docs/data-sources/role.md in terraform-provider-entrepot).