CI/CD variables
gitlab_ci_variablesManage GitLab project CI/CD variables: list, retrieve, create, update, or delete them. Configure masking and protection to secure sensitive values.
Instructions
Manages project CI/CD variables. Values of masked variables are not returned by GitLab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| value | No | ||
| action | Yes | ||
| masked | No | ||
| protected | No | ||
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| variable_type | No | ||
| environment_scope | No |