Getting error :
root@omp_affiliate_backend ~]# s3cmd get s3://admarvel-noc/all-users/nrpe-plugins.tar.gz .
s3://admarvel-noc/all-users/nrpe-plugins.tar.gz -> ./nrpe-plugins.tar.gz [1 of 1]
ERROR: S3 error: 403 (Forbidden):
Is it due to iam role ? As no iam role is assigned to omp_affiliate_backend server where as another server has iam role(AmazonS3FullAccess) could easily download that tar.
If yes can I attach Iam role to instance after launching it ie now ? If not how do I download from that bucket ?