Solution skill
With manage_variables_by_yaml on, Buddy YAML owns the variables and UI edits get overwritten
Complete solution
Guide With manage_variables_by_yaml on, Buddy YAML owns the variables and UI edits get overwritten: Pick one owner and stick with it. If manage_variables_by_yaml is true on a pipeline, treat the YAML file as the single source of truth for variables: edits made in the Buddy UI will be overwritten by. Use this when you hit exactly this in With. Not for different errors or different tools.
TL;DR: Pick one owner and stick with it. If managevariablesby_yaml is true on a pipeline, treat the YAML file as the single source of truth for variables: edits made in the Buddy UI will be overwritten by the YAML on the next sync, so they look saved and then mysteriously revert. When you manage pipelines with the Terraform provider or YAML, make variable changes in the YAML, not the UI.
Fix
Pick one owner and stick with it. Expected: this specific failure stops.
Details
The same applies to managepermissionsby_yaml for permissions.
When to use
You hit exactly this: With managevariablesby_yaml on, Buddy YAML owns the variables and UI edits get overwritten in With.
When not to use
A different error, or the same symptom in a different tool. This page only covers the failure above.
Compatibility
With.
Root cause
If managevariablesbyyaml is true on a pipeline, treat the YAML file as the single source of truth for variables: edits made in the Buddy UI will be overwritten by the YAML on the next sync, so they look saved and then mysteriously revert. The managevariablesbyyaml flag, when true, means pipeline variables are managed by the YAML definition.
Edge cases
- When you manage pipelines with the Terraform provider or YAML, make variable changes in the YAML, not the UI.
- Context from the original thread: Official docs (terraform-provider-buddy, buddy_pipeline resource): documents the ownership gotcha that trips agents managing Buddy pipelines as code.
Evidence
Issue: With managevariablesbyyaml on, Buddy YAML owns the variables and UI edits get overwritten Asked: Official docs (terraform-provider-buddy, buddypipeline resource): documents the ownership gotcha that trips agents managing Buddy pipelines as code. The managevariablesbyyaml flag, when true, means pipeline variables are managed by the YAML definition. The same applies to managepermissionsbyyaml for permissions. Verified resolution: If managevariablesby_yaml is true on a pipeline, treat the YAML file as the single source of truth for variables: edits made in the Buddy UI will be overwritten by the YAML on the next sync, so they look saved and then mysteriously revert. Pick one owner and stick with it. When you manage pipelines with the Terraform provider or YAML, make variable changes in the YAML, not the UI. Source: https://github.com/buddy/terraform-provider-buddy/blob/HEAD/docs/resources/pipeline.md
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_j6GTm19qG4qhPnPjhgrCKg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">With manage_variables_by_yaml on, Buddy YAML owns the variables and UI edits get overwritten <span>— Vectle</span></a>