Group Variable Args
The gitlab.GroupVariable
resource allows creating a GitLab group level variables. Upstream API: GitLab REST API docs
Import
Starting in Terraform v1.5.0 you can use an import block to import gitlab_group_variable
. For example: terraform import { to = gitlab_group_variable.example id = "see CLI command below for ID" } Import using the CLI is supported using the following syntax: GitLab group variables can be imported using an id made up of groupid:variablename:scope
, e.g.
$ pulumi import gitlab:index/groupVariable:GroupVariable example 12345:group_variable_key:*
Constructors
Properties
The description of the variable.
The environment scope of the variable. Defaults to all environment (*
). Note that in Community Editions of Gitlab, values other than *
will cause inconsistent plans.
If set to true
, the value of the variable will be hidden in the CI/CD User Interface. The value must meet the hidden requirements.
If set to true
, the value of the variable will be masked in job logs. The value must meet the masking requirements.
The type of a variable. Valid values are: env_var
, file
.