Create a connection from cli

Is there a way to add a connection when initialising the cluster? Or after, but from the command line?

Hi @bgutu! There’s no current way to programmatically create or edit connections to an Astronomer Cloud deployment at the onset of a deploy (whether to a new or existing deployment) via the CLI or otherwise, but that’s very much a feature we’re thinking about for Astronomer’s bigger 1.0 release. GitHub issue here for reference: https://github.com/astronomer/astronomer/issues/174

For developing locally, you’re free to leverage the airflow_settings.yaml file (automatically generated with you initialize an Astronomer project via the CLI) to add Airflow connections, pools, and variables. Related forum post and doc.

Does that answer your question?