MWAA Setup
Use this skill when datus mwaa is installed but has no configured environment.
Config structure
Profiles live under agent.plugins.mwaa.<profile> in the config file named by
the ## Plugins section of the system prompt:
agent:
plugins:
mwaa:
prod:
default: true
region: us-east-1
environment: prod-airflow # optional default MWAA environment name
# credentials — omit to use the standard AWS chain, otherwise any of:
profile: my-aws-profile
role_arn: arn:aws:iam::123456789012:role/datus-mwaa
# access_key_id / secret_access_key — use ${VAR} refs
Steps
- Ask for
regionand optionally a defaultenvironmentname. - The principal needs
airflow:ListEnvironments,airflow:GetEnvironment,airflow:CreateWebLoginToken, andairflow:CreateCliToken. - Write the profile into the config file named in the
## Pluginspreamble; mark the first profiledefault: true. - Verify with
datus mwaa environments list.
Related
For day-to-day DAG operations (list/trigger/monitor with per-command
permissions), configure the datus airflow plugin against this MWAA
environment (use datus mwaa token cli for the hostname/token, or the web
login URL from datus mwaa token web-login).
Troubleshooting
no environment— pass the environment name or setenvironmentin the profile.cli runreturns an error for some commands — MWAA's REST CLI does not support every Airflow subcommand; usedatus airflowinstead.