Archive for:

aws ssm start-session –target returns Terminate Session

When trying to start-session, the following error appears:

An error occurred (AccessDeniedException) when calling the TerminateSession operation: User: arn:aws:iam:::user/abc is not authorized to perform: ssm:TerminateSession on resource: arn:aws:ssm:session/abc because no identity-based policy allows the ssm:TerminateSession action