View Code? Open in Web Editor
NEW
GitHub Action to generate an AWS S3 Pre-Signed URL
Home Page: https://github.com/marketplace/actions/s3-pre-signed-url
License: MIT License
s3-pre-signed-url's Introduction
s3-pre-signed-url's People
Contributors
Watchers
s3-pre-signed-url's Issues
Describe the bug
The output of the presign URL does not work.
GitHub Actions workflow
- name: Generate S3 PreSigned URL
uses: anton-yurchenko/s3-pre-signed-url@v1
id: s3
with:
region: eu-central-1
access_key: ${{ secrets.AWS_ACCESS_KEY }}
secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
bucket: ${{ inputs.bucket }}
path: dumps/Corp-Root-CA-G2.zip
expires_in: 300
- name: PreSigned URL
run: echo ${{ steps.s3.outputs.url }}
Input values (please complete the following information):
- Version:
v1
- region:
eu-central-1
- bucket:
mbtointlogs
- path:
dumps/Corp-Root-CA-G2.zip
- expires_in:
300
Expected behavior
the output should generate a presign URL which can be used to download the bucket file.
Screenshots
Additional context
- self-hosted runner on linux EC2 instance Ubuntu 22.04 LTS