GroupProtectedEnvironment

class GroupProtectedEnvironment : KotlinCustomResource

The gitlab.GroupProtectedEnvironment resource allows to manage the lifecycle of a protected environment in a group.

In order to use a user_id in the deploy_access_levels configuration, you need to make sure that users have access to the group with Maintainer role or higher. In order to use a group_id in the deploy_access_levels configuration, the group_id must be a sub-group under the given group. Upstream API: GitLab REST API docs

Import

GitLab group protected environments can be imported using an id made up of groupId:environmentName, e.g.

$ pulumi import gitlab:index/groupProtectedEnvironment:GroupProtectedEnvironment bar 123:production

Properties

Link copied to clipboard

Array of approval rules to deploy, with each described by a hash.

Link copied to clipboard

Array of access levels allowed to deploy, with each described by a hash.

Link copied to clipboard
val environment: Output<String>

The deployment tier of the environment. Valid values are production, staging, testing, development, other.

Link copied to clipboard
val group: Output<String>

The ID or full path of the group which the protected environment is created against.

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

The number of approvals required to deploy to this environment.

Link copied to clipboard
val urn: Output<String>