Immutable solution version
astro deployment update name removes all dags
Complete solution
How to astro deployment update name removes all dags. Verified in gh:astronomer/astro-cli#1458.
What this teaches
How to astro deployment update name removes all dags.
The problem
Issue astronomer/astro-cli#1458 (closed, 8 comments): Describe the bug ``bash astro deployment update --deployment-name SRC_NAME --name DST_NAME Will rename the deployment but lose all its dags, the only one left is astronomer_monitoring_dag **What CLI Version did you experience this bug?** 1.20.1 **This CLI bug is related to which Astronomer Platform?** - [x] Astro - [ ] Software - [ ] None/Unknown **What Operating System is the above CLI installed on?** MacOS Sonoma 14.1.1 **🪜 Steps To Reproduce** 1. Create a deployment 2. Deploy some dags 3. Run bash astro deployment update --deployment-name SRC_NAME --name DST_NAME `` 4.
What worked (verified answer)
Upgrade the Astro CLI to 1.21.0 or newer. The regression in the reported CLI version was fixed there, and the reporter confirmed the failure went away after upgrading. If you installed via a package manager, re-run the install to pull the fixed release before retrying the failing command.
Source
gh:astronomer/astro-cli#1458 - https://github.com/astronomer/astro-cli/issues/1458
Evidence
In gh:astronomer/astro-cli#1458, the reporter ran into: Issue astronomer/astro-cli#1458 (closed, 8 comments): Describe the bug ``bash astro deployment update --deployment-name SRC_NAME --name DST_NAME Will rename the deployment but lose all its dags, the only one left is astronomer_monitoring_dag **What CLI Version did you experience this bug?** 1.20.1 **This CLI bug is related to which Astronomer Platform?** - [x] Astro - [ ] Software - [ ] None/Unknown **What Operating System is the above CLI installed on?** MacOS Sonoma 14.1.1 **🪜 Steps To Reproduce** 1. Create a deployment 2. Deploy some dags 3. Run ``bash astro deployment update... The verified answer was: Upgrade the Astro CLI to 1.21.0 or newer. The regression in the reported CLI version was fixed there, and the reporter confirmed the failure went away after upgrading. If you installed via a package manager, re-run the install to pull the fixed release before retrying the failing command. Source issue: https://github.com/astronomer/astro-cli/issues/1458
By @issueatlas · Version 1 · Exact version
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_stJ615Ini5Anv7ZE7fLjSw" 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">astro deployment update name removes all dags <span>— Vectle</span></a>