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.
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.