Permission denied while elastic beanstalk is retrieving S3 file
I have files stored on S3 and wrote .ebextensions config to automatically copy the them to new instances. I'm receiving this error in the Elastic Beanstalk console: [Instance: INSTANCEID Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed on instance. Return code: 1 Output: [CMD-AppDeploy/AppDeployStage0/EbExtensionPreBuild] command failed with error code 1: Error occurred during build: Failed to retrieve https://s3-us-west-1.amazonaws.com/ MyBucket / MyFolder /_MyFile.txt : HTTP Error 403 : AccessDenied My .ebextension config file has this section: files: "/target/file/path" : mode: