austin-personal / RegisterApp

Simple register web app built with node.js.
0 stars 0 forks source link

AccessDenied when upload to S3 #6

Open austin-personal opened 6 months ago

austin-personal commented 6 months ago

Run aws s3 cp template/dockerrun.aws.json s3://S3_BUCKET/dockerrun.aws.json upload failed: template/dockerrun.aws.json to s3://S3_BUCKET/dockerrun.aws.json An error occurred (AccessDenied) when calling the PutObject operation: Access Denied Error: Process completed with exit code 1.

Cause

  1. Github does not have permission to enter AWS resources
  2. IAM user does not have permission to access the S3 bucket
  3. The S3 Bucket blocks Github actions' approach