S3 AccessDenied - cannot upload complete logs

I’m unable to use S3 for Digitalocean Spaces in Kubernetes cluster. I tested with s3cmd the credentials works but not working in Drone RC6. Not much debug info to dig expect this error

{“error”:"AccessDenied: \n\tstatus code: 403, request id: tx000000000000008900772-005c89931f-ebfc57-ams3a, host id: ",“level”:“warning”,“msg”:“manager: cannot upload complete logs”,“step-id”:13,“time”:“2019-03-13T23:32:47Z”}

Env
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
DRONE_S3_ENDPOINT
DRONE_S3_BUCKET

I recommend speaking with the author of this pull request, who is using Drone + Digital Ocean Spaces https://github.com/drone/drone/pull/2600#issuecomment-466245097

1 Like

Thanks for pointing there.