What was reported:
Issue Qovery/terraform-provider-qovery#271 (closed, 5 comments): │ Error: Error on job update │ failed to update job: invalid job upsert request: invalid secrets diff request: invalid secrets upsert request: Key: 'UpsertRequest.Value' Error:Field validation for 'Value' │ failed on the 'required' tag I'm trying to set secrets on a new `qovery_job`. I'm setting secrets for the job exactly how I'm setting them for a `qovery_application` but it fails. I tried both when creating the job and when that didn't work I created the job with no secrets and tried to add them as a change and I got the exact same error. Setting environment variables works.
What works:
If setting secrets on a qovery_job fails validation while qovery_application accepts the same config, check for empty secret values: they were rejected on jobs by a provider bug. This was fixed in provider v0.18.5, so upgrade; as a workaround, avoid empty secret values.