Drone ECR Plugin

Hi – I’m trying to use the ECR plugin but I’m running into a problem during the push stage. I’m getting this error.

denied: User: arn:aws:sts::<CLIENT_ID>:assumed-role/<URL>/<REDACTED> is not authorized to perform: ecr:InitiateLayerUpload on resource: arn:aws:ecr:<REGION>:<CLIENT_ID>:<REPOSITORY>
time="2019-04-24T20:48:09Z" level=fatal msg="exit status 1"

I believe drone is successful up to the point of pushing the image to ECR. I can call aws ecr get-login successfully on my local with the same credentials but in drone it seems to fail at the pushing step.

Any insight into this would be appreciated.

Thank you,