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

4.3k Views Asked by At

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

There are 0 best solutions below