I have create IAM role based on the above document which has s3 full acces I have attached it to ec2 properly when I use the commmand
aws s3 cp s3://BUCKET_NAME/app-tier/ app-tier --recursive
fatal error: Unable to locate credentials
The instance says the above error
why am i getting this its always a problem with you guys in IAM
Where are you trying to do this workshop exercise? Please note that what you may find on AWS assumes full and unrestricted access to everything. This is not the case in KK AWS playgrounds for reasons of cost (you don’t want to pay a higher subscription), and prevention of account abuse.
no its just basic setup I don’t know wheather you go throughthe workshop or not its just basic . You can just say by reading the doucmentation.I just needed basic setup I need to create a IAM role with S3 access and attach that to ec2 this ec2 going to fecth file in s3 .
If this simple thing is not possible for kodkloud lab then thers is no use of calling it as playground.
In the fist place while creating the role I was popup with partial error .Try it yourself it gonna take2min
Also whever I reset my aws playground and launch a new one im getting this error.
below is the error tahat pops up while creatinga ec2role for s3 readonly access
I have been informed that relaxing some permissions in IAM is going to be ready “in a couple of weeks”. Take that as an estimate.