You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not really a bug but a warning following the commit b041c03 which introduces a change in the required AWS permissions policy for the account used by schickling/mysql-backup-s3.
Previously schickling/mysql-backup-s3 required an account with only this (very simple) AWS policy:
Bucket BUCKET_NAME not found (or owned by someone else), attempting to create
An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.
The policy now requires s3:ListBucket in order to execute aws s3api head-bucket (as documented here).
The required minimum AWS permissions policy is now:
For anyone around here, I'm proposing to opt-out of the new behaviour via a S3_ENSURE_BUCKET_EXISTS=no environment variable in #153 - opinions welcomed in the PR :)
This is not really a bug but a warning following the commit b041c03 which introduces a change in the required AWS permissions policy for the account used by
schickling/mysql-backup-s3
.Previously
schickling/mysql-backup-s3
required an account with only this (very simple) AWS policy:Since the addition of the following line the backup fails with the above policy.
dockerfiles/mysql-backup-s3/backup.sh
Line 54 in b041c03
The reported error message is:
The policy now requires
s3:ListBucket
in order to executeaws s3api head-bucket
(as documented here).The required minimum AWS permissions policy is now:
Justed wanted to give a heads up to other developers running into this problem.
The text was updated successfully, but these errors were encountered: