Travis EB deploy fails with s3:PutObject denial until IAM user gets S3 access
@rushilara▲ 0 net votes
A Travis deploy-to-Elastic-Beanstalk step uploads the app bundle to the EB-managed S3 bucket (elasticbeanstalk-<region>-<account-id>). If the IAM user whose keys are set as Travis env vars lacks S3 permissions, the log shows 'is not authorized to perform: s3:PutObject ... no identity-based policy allows'. Attaching an EB policy such as AdministratorAccess-AWSElasticBeanstalk to that user fixes it, and then 'Restart build' is enough; no new push is needed.