Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Permision denied after uploads finished #74

Open
alelopezperez opened this issue Jan 13, 2023 · 3 comments
Open

Permision denied after uploads finished #74

alelopezperez opened this issue Jan 13, 2023 · 3 comments

Comments

@alelopezperez
Copy link

My IAM user has full S3 control

Completed 2.1 KiB/143.6 KiB (17.5 KiB/s) with 4 file(s) remaining upload: website-astro/dist/index.html to s3://***/index.html Completed 2.1 KiB/[14](https://github.com/alelopezperez/areweleetcodeyet/actions/runs/3910959737/jobs/6683900581#step:7:15)3.6 KiB (17.5 KiB/s) with 3 file(s) remaining Completed 2.9 KiB/143.6 KiB (10.4 KiB/s) with 3 file(s) remaining upload: website-astro/dist/favicon.svg to s3://***/favicon.svg Completed 2.9 KiB/143.6 KiB (10.4 KiB/s) with 2 file(s) remaining Completed 5.0 KiB/143.6 KiB ([17](https://github.com/alelopezperez/areweleetcodeyet/actions/runs/3910959737/jobs/6683900581#step:7:18).6 KiB/s) with 2 file(s) remaining upload: website-astro/dist/assets/index.c91a56c8.css to s3://***/assets/index.c91a56c8.css Completed 5.0 KiB/143.6 KiB (17.6 KiB/s) with 1 file(s) remaining Completed 143.6 KiB/143.6 KiB (467.3 KiB/s) with 1 file(s) remaining upload: website-astro/dist/client.bf4f0f8e.js to s3://***/client.bf4f0f8e.js sh: /: Permission denied

Code:
- name: Deploying uses: kersvers/s3-sync-with-cloudfront-invalidation@v1.0.0 with: args: --acl public-read --follow-symlinks --delete env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} DISTRIBUTION_ID: ${{ secrets.AWS_S3_CDN }} AWS_REGION: 'us-east-1' # optional: defaults to us-east-1 SOURCE_DIR: 'website-astro/dist/' # optional: defaults to entire repository

@HalimSD
Copy link

HalimSD commented Jul 12, 2023

I'm getting exactly the same permission denied error after the upload process completes. How did you fix it?

@alelopezperez
Copy link
Author

I ended up using another thing the official one from aws.

@alelopezperez
Copy link
Author

I'm getting exactly the same permission denied error after the upload process completes. How did you fix it?

check this my solution here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants