aws-solutions/content-analysis-on-aws

aws-content-analysis-use-existing-mie-stack.yaml does not deploy

ianwow opened this issue · 2 comments

aws-content-analysis-use-existing-mie-stack.yaml does not deploy.

Exception during processing: 'An error occurred (AccessDeniedException) when calling the CreateStateMachine operation: User: arn:aws:sts::<accountid>:assumed-role/WorkflowCustomResourceRole/M3-MediaInsightsWorkflowApi-WorkflowCustomResource-JQ8PMRqATfB0 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::<accountid>:role/CustomerManaged/M3-StepFunctionRole-QC7QPYKFEZLE

aws-content-analysis.template Also fails to deploy in v2.0.5.

OperatorLibrary with error:
Exception during processing: 'ChaliceViewError: Exception 'An error occurred (AccessDenied) when calling the PutRolePolicy operation: User: arn:aws:sts::<accountid>:assumed-role/MIE-MieStack-13P624SAAW0B-WorkflowCustomResourceRo-1S2J5U7GFSTN8/MIE-MieStack-13P624SAAW0BV--WorkflowCustomResource-NrJj5Rch92Pr is not authorized to perform: iam:PutRolePolicy on resource: role CustomerManaged''