When the start-stop-mwaa-environment service attempts to resume an environment which originally had a tag applied, it fails to create the environment due to a missing permission airflow:TagResource.
Steps to reproduce:
Set-up an MWAA environment with tags applied.
Set-up start stop service for this environment.
Stop works fine.
Start fails to create environment with a similar message to the following in CloudTrail...
"User: arn:aws:sts::######:assumed-role/test-mwaa-start-stop-mwaa-mwaaresumingnewenvironmen-#######/test-mwaa-start-stop-mwaa-mwaaresumingnewenvironme-NNEECId1PYKo is not authorized to perform: airflow:TagResource on resource: arn:aws:airflow:eu-west-2:######:environment/teststartstop"
When the start-stop-mwaa-environment service attempts to resume an environment which originally had a tag applied, it fails to create the environment due to a missing permission
airflow:TagResource
.Steps to reproduce: Set-up an MWAA environment with tags applied. Set-up start stop service for this environment. Stop works fine. Start fails to create environment with a similar message to the following in CloudTrail...