Group Protected Environment Args
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_levelsconfiguration, 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 thedeploy_access_levelsconfiguration, 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:productionConstructors
Properties
Array of approval rules to deploy, with each described by a hash.
Array of access levels allowed to deploy, with each described by a hash.
The deployment tier of the environment. Valid values are production, staging, testing, development, other.
The number of approvals required to deploy to this environment.