aws-samples / amazon-mwaa-examples

Amazon Managed Workflows for Apache Airflow (MWAA) Examples repository contains example DAGs, requirements.txt, plugins, and CloudFormation templates focused on Amazon MWAA.
MIT No Attribution
97 stars 54 forks source link

Stop Start Usecase - Granting iam:PassRole to be able to recreate MWAA #68

Closed crupakheti closed 3 months ago

crupakheti commented 3 months ago

Description of changes:

The resume/start portion of the Stop Start MWAA usecase is breaking lately. Looks like the 'iam:PassRole' permission is now required to create a new MWAA environment using the AWS SDK. This PR adds the permission to the Lambda function that makes the mwaa:CreateEnvironment SDK call.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.