Im trying to backup my s3 bucket on aws. It should be pretty straightforward but for some reason i get ‘Resource ARN is not valid’ error for the bucket that im trying to backup. Versioning is enabled , permissions are there. Has anybody encountered something similar? Or is it a bug?
Thank you in advance!
3
Answers
According to the documentation in AWS .
Another thing to check for is to verify that the IAM permissions for the user or role that you’re using to back up the S3 bucket are correctly configured.
The user or role should have the necessary permissions to access and read the S3 bucket.
Thanks a lot. For anyone else looking, the AWSBackupDefaultServiceRole, which is created by AWS, needs to be modified. You need to add these policies to it:
This allows you to create a backup of S3 with the IAM Default role selected.
The way to fix this is:
AWSBackupDefaultServiceRole
AWSBackupServiceRolePolicyForS3Backup
=> select itAWSBackupServiceRolePolicyForS3Restore
=> selectNow if you go back to Backup you should be able to create an On-Demand Backup using the
Default role
option.