I am trying to update the variables on deployment using the CI process. Is it possible? Airflow has a CLI to update variables(https://airflow.apache.org/cli.html#variables), but I don’t think I can use that with remote cloud deployment. How can I achieve this?
Hi @shwetha! Right now, you unfortunately cannot programmatically update Variables + Connections on
astro airflow deploy for a remote deployment on Astronomer Cloud. You can always use the
airflow_settings.yaml file for doing so locally and we’re actively working on expanding the functionality of that feature.
We explored a workaround on doing so via a CI/CD process with the API, but unfortunately found it was not a viable solution.
We’ll keep you posted on both that feature and any other livable workarounds if we find any.