I have setup image upload to aws S3. Its is working fine, but backup is not working with s3. I have created a new bucket for backup and added the bucket name in the admin panel. It gives me following error in logs,
Aws::S3::Errors::AccessDenied (Access Denied) /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/aws-sdk-core-3.6.0/lib/seahorse/client/plugins/raise_response_errors.rb:15:in `call'
Do I need a second S3 bucket for backup? If so, do i need create a new policy for my new bucket and attach it to my IAM?
Need some help guys!!