Programmatically create or update Deployments on Astro Private Cloud

You can programmatically create or update Deployments with all possible configurations using the Houston API upsertDeployment mutation.

When you make upsert updates to your Airflow Deployments, you must explicitly specify all existing environment variables, otherwise, the upsert overwrites them.

For a complete example of the upsertDeployment mutation, see Upsert a Deployment with the Houston API.