Score:0

AWS batch script errors on call to S3 ListObjectsV2 even though batch IAM has "Full S3 access"

cn flag

I am running a container on AWS Batch. The container calls a shell script which then pulls some data from an S3 repo and processes it. I then want to push this processed result out to the S3 repo in the same shell script.

The IAM for this batch job has FullS3Access. The aws s3 cp command pulls the data down from S3 just fine. But I cannot cp or sync any data back to the same S3 bucket nor even call ls on it. Why would this still be the case, even though my IAM has Full S3 access?

Is it because I am calling a shell script, and I need to transfer privileges to that script in some way?

cn flag
Can you share the commands used and the output, or any errors?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.