Type option "File or Variable" is missing for `gitlab_pipeline_schedule_variable`
Bug Report
The variables of a scheduled job can be from the type "variable" or "file", but this can not be set by the provider.
Exiting Config Values:
- key (String) Name of the variable.
- pipeline_schedule_id (Number) The id of the pipeline schedule.
- project (String) The id of the project to add the schedule to.
- value (String) Value of the variable.
Missing Config Value:
- variableType (String) with the options ENV_VAR and FILE
Relevant Terraform Configuration
resource "gitlab_pipeline_schedule_variable" "pipeline_schedules_variables" {
for_each = { for index, item in local.flatten_scheduled_pipeline_triggers_variables : index => item }
project = each.value.project
pipeline_schedule_id = each.value.pipeline_schedule_id
key = each.value.key
value = each.value.value
# variableType = each.value.variableType
}
Additional Details
- GitLab Terraform Provider Version:
v16.4 - GitLab Version:
v16.4 - Terraform Version:
v1.5.6
Edited by Nicolas Karg
