MemberRole

class MemberRole : KotlinCustomResource

The gitlab.MemberRole resource allows to manage the lifecycle of a custom member role. Custom roles allow an organization to create user roles with the precise privileges and permissions required for that organization’s needs.

This resource requires an Ultimate license. Most custom roles are considered billable users that use a seat. Custom roles billing and seat usage There can be only 10 custom roles on your instance or namespace. See issue 450929 for more details. Upstream API: GitLab GraphQL API docs

Import

Starting in Terraform v1.5.0 you can use an import block to import gitlab_member_role. For example: terraform import { to = gitlab_member_role.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: GitLab member role can be imported using the id made up of gid://gitlab/MemberRole/<ID> e.g.

$ pulumi import gitlab:index/memberRole:MemberRole example 'gid://gitlab/MemberRole/123'

Properties

Link copied to clipboard
val baseAccessLevel: Output<String>

The base access level for the custom role. Valid values are: DEVELOPER, GUEST, MAINTAINER, MINIMAL_ACCESS, OWNER, REPORTER

Link copied to clipboard
val createdAt: Output<String>

Timestamp of when the member role was created. Only available with GitLab version 17.3 or higher.

Link copied to clipboard
val description: Output<String>

Description for the member role.

Link copied to clipboard
val editPath: Output<String>

The Web UI path to edit the member role

Link copied to clipboard

All permissions enabled for the custom role. Valid values are: ADMIN_CICD_VARIABLES, ADMIN_COMPLIANCE_FRAMEWORK, ADMIN_GROUP_MEMBER, ADMIN_INTEGRATIONS, ADMIN_MERGE_REQUEST, ADMIN_PROTECTED_BRANCH, ADMIN_PUSH_RULES, ADMIN_RUNNERS, ADMIN_TERRAFORM_STATE, ADMIN_VULNERABILITY, ADMIN_WEB_HOOK, ARCHIVE_PROJECT, MANAGE_DEPLOY_TOKENS, MANAGE_GROUP_ACCESS_TOKENS, MANAGE_MERGE_REQUEST_SETTINGS, MANAGE_PROJECT_ACCESS_TOKENS, MANAGE_SECURITY_POLICY_LINK, READ_ADMIN_CICD, READ_ADMIN_DASHBOARD, READ_CODE, READ_COMPLIANCE_DASHBOARD, READ_CRM_CONTACT, READ_DEPENDENCY, READ_RUNNERS, READ_VULNERABILITY, REMOVE_GROUP, REMOVE_PROJECT

Link copied to clipboard
val groupPath: Output<String>

Full path of the namespace to create the member role in. Required for SAAS Not allowed for self-managed

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val iid: Output<Int>

The id integer value extracted from the id attribute

Link copied to clipboard
val name: Output<String>

Name for the member role.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>