Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workaround to achieve multi-tenancy using ci/cd pipeline #10

Open
subinjp opened this issue Jul 26, 2022 · 1 comment
Open

workaround to achieve multi-tenancy using ci/cd pipeline #10

subinjp opened this issue Jul 26, 2022 · 1 comment

Comments

@subinjp
Copy link

subinjp commented Jul 26, 2022

If users from multiple aws accounts have DAG in a single mwaa environment, It is important to restrict the users based on what aws resources they can access based on DAG level. @garystafford could we do this by adding a validation step in the ci/cd pipeline to check if the DAG policies are met by the users who write the DAGs?

@garystafford
Copy link
Owner

If this cannot can't be accomplished using AWS IAM or from within Airflow natively, then using a validation step in your CI/CD is logical. You could store permissions in a k/v store, like DynamoDB, and then query from the pipeline to validate user/DAG permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants