GroupVariableArgs

data class GroupVariableArgs(val description: Output<String>? = null, val environmentScope: Output<String>? = null, val group: Output<String>? = null, val hidden: Output<Boolean>? = null, val key: Output<String>? = null, val masked: Output<Boolean>? = null, val protected: Output<Boolean>? = null, val raw: Output<Boolean>? = null, val value: Output<String>? = null, val variableType: Output<String>? = null) : ConvertibleToJava<GroupVariableArgs>

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

Link copied to clipboard
constructor(description: Output<String>? = null, environmentScope: Output<String>? = null, group: Output<String>? = null, hidden: Output<Boolean>? = null, key: Output<String>? = null, masked: Output<Boolean>? = null, protected: Output<Boolean>? = null, raw: Output<Boolean>? = null, value: Output<String>? = null, variableType: Output<String>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

The description of the variable.

Link copied to clipboard
val environmentScope: Output<String>? = null

The environment scope of the variable. Defaults to all environment (*). Note that in Community Editions of Gitlab, values other than * will cause inconsistent plans.

Link copied to clipboard
val group: Output<String>? = null

The name or id of the group.

Link copied to clipboard
val hidden: Output<Boolean>? = null

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.

Link copied to clipboard
val key: Output<String>? = null

The name of the variable.

Link copied to clipboard
val masked: Output<Boolean>? = null

If set to true, the value of the variable will be masked in job logs. The value must meet the masking requirements.

Link copied to clipboard
val protected: Output<Boolean>? = null

If set to true, the variable will be passed only to pipelines running on protected branches and tags.

Link copied to clipboard
val raw: Output<Boolean>? = null

Whether the variable is treated as a raw string. When true, variables in the value are not expanded.

Link copied to clipboard
val value: Output<String>? = null

The value of the variable.

Link copied to clipboard
val variableType: Output<String>? = null

The type of a variable. Valid values are: env_var, file.

Functions

Link copied to clipboard
open override fun toJava(): GroupVariableArgs