not able to run aws ssm run-command as different user other than root

Viewed 3510

I want to sync a s3 bucket on ec2 instance and I want to do it using ssm run-command. The problem is ssm run-command always executes as root user which does not have s3 permissions. how to run ssm run-commands as ubuntu user.

0 Answers
Related