davidmoten / aws-maven-plugin

Deploys resources to AWS using maven

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting 403 while running aws:deployS3 command

vinapp opened this issue · comments

Below is the error I get when I run "mvn package aws:deployS3". Note: I have specified correct accesskey and secret. Also, I tried uploading the file from aws cli with the same credentials and it works there. Any Idea on this error ?

[ERROR] Failed to execute goal com.github.davidmoten:aws-maven-plugin:0.2.21:deployS3 (default-cli) on project aws-cloudformation: Execution default-cli of goal com.github.davidmoten:aws-maven-plugin:0.2.21:deployS3 failed: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: FE4263C66AA323D6; S3 Extended Request ID: Qu3qZsjILj8BEIMDyyugwNmJdMub6hqwJyIyZp3xh4mLve/8f4fTEF2CArBROHeLICeNzYsoCK0=) -> [Help 1]

Note, sorry don't know what is going on here. My credentials work fine.