i m using cloud9 and want to write code in cloud9, link it to managed aws apache airflow.
inside cloud9 managed to create airflow login token with a command
aws mwaa create-cli-token --name myapache-airflow-de-project > token-airflow-cluster.txt
it creates the login token:
"CliToken": "SOmestuff",
"WebServerHostname": "some1111.us-east1.airflow.amazonaws.com"
installed astro cli on cloud9 but suspect it works only with astronomer.io based airflow clusters.
however i m trying to login using
"astro login --token-link somestuff"
it gives
You are logging into Astro via an OAuth token
This token will expire in 24 hours and will not refresh
Error: cannot retrieve userinfo: API error (401): Unauthorized
since it says “logging into astro” - this means astro cli does not work with aws managed airflow? it cant even login to there?