I've created an AWS S3 bucket to backup my Postgres DB. It was all going well but then I enabled Logging and started to get a bunch of Access Denied
logs.
I thought I had messed something up in my backup routine, so I created a brand new bucket under a new name and just enabled the logging, but did nothing else. And now I'm getting the Access Denied
logs again.
They read:
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>...</RequestId>
<HostId>
...
</HostId>
</Error>
Under Permissions, I am the only authorized user, with full access, and there's also the S3 log delivery group with write and read permissions.
Any ideas on what's causing these access denied requests? I have to stress that I haven't tried to do anything with this bucket, I just created it and enabled logging. (I am new to AWS S3 so I might be missing something very simple.)
AccessDenied