Describe the bug
The permissions defined for the role CMF-MGNAutomation deployed to the target accounts is missing permissions required to run post-launch actions.
To Reproduce
Follow instructions here to remove vmware tools.
When a test cutover runs, the following error appears:
An error occurred (AccessDeniedException) when calling the GetDocument operation: User: arn:aws:sts:::assumed-role/CMF-MGNAutomation/cloud-migration-factory-prod-MGNLambdaRole is not authorized to perform: ssm:GetDocument on resource: arn:aws:ssm:us-east-1::document/AWS-RunPowerShellScript because no identity-based policy allows the ssm:GetDocument action
The ssm:GetDocument is not the only missing action, adding the ssm:GetDocument permission leads to the two following actions being missing also:
ssm:SendCommand
ssm:StartSession
Expected behavior
I expect the post-launch actions to run.
Please complete the following information about the solution:
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0097) - AWS CloudEndure Migration Factory Solution. Version v1.1.0".
Screenshots
None
Additional context
PR Incoming to fix these issues.
Describe the bug
The permissions defined for the role
CMF-MGNAutomationdeployed to the target accounts is missing permissions required to run post-launch actions.To Reproduce
Follow instructions here to remove vmware tools.
When a test cutover runs, the following error appears:
The ssm:GetDocument is not the only missing action, adding the
ssm:GetDocumentpermission leads to the two following actions being missing also:ssm:SendCommandssm:StartSessionExpected behavior
I expect the post-launch actions to run.
Please complete the following information about the solution:
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0097) - AWS CloudEndure Migration Factory Solution. Version v1.1.0".
Screenshots
None
Additional context
PR Incoming to fix these issues.