Do deployments expose an environment variable that can be used to indicate the name of the deployment, so I can set them for Prod v Dev?

There isn’t any environment variable right now that exposes that information, but let’s say you’re programmatically deciding where to write files in S3 or run an ECS task based on whether the deployment is in production or not.

Setting prod/dev settings in an Airflow Variable is very common, so you could always go down that route. If you wanted to do so via an Environment Variable, it’d be something like: ASTRO_ENV=production|dev_paolaperaza.

If you have some infrastructure running outside of Airflow and setting an Env Var would mean it’d be easier for non-Airflow code to be respected, you might prefer to do so. Both solutions should work equivalently.