Last active
August 31, 2022 22:56
-
-
Save joshes/159cb9e62aed7dec789005b40e5a9b14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Print all Airflow URLs you have access to with their environment name | |
for env in $(aws mwaa list-environments | jq -r '.Environments[]'); do | |
echo "Env: $env - url: https://$(aws mwaa get-environment --name $env | jq -r '.Environment.WebserverUrl')" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment