Cross-Account S3 for dags and Secrets Manager for connections

0

Hi

I am really trying hard to get this one.

I have my S3 bucket for dags and secrets manager secrets for variables in account A and my MWAA environment in account B. I have given all the permissions to the MWAA execution role and set the bucket policy and secrets manager policy as well to allow my MWAA role. But my MWAA environment cannot access any of these.

So I am wondering whether MWAA actually supports cross account S3 bucket as a source bucket and cross account secrets manager to store airflow variables.

Please help me out because I have googled a lot but found nothing helpful.

Mouzma
已提问 3 年前1141 查看次数
2 回答
0

Hi!

The S3 bucket for DAGs must exist in the same account as the MWAA environment. This is to prevent MWAA executing code from another account.

Cross account secrets manager may work with IAM delegation https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html or by adding an explicit AWS connection via secret via the Airflow connections UI.

Thanks!

AWS
John_J
已回答 3 年前
0

What about KMS key? It can be cross-account. Right?

Mouzma
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则