Skip to content

Quartz/s3-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway <> S3 proxy (upload / retrieve)

Terraform

Create secret.tfvars and provide an AWS S3 bucket name for uploads:

upload_bucket = "s3-bucket-name"

Plan

Terraform commands are run via Docker using a Makefile.

make plan

Apply

make apply

Making requests

Retrieve the API key from the API Gateway dashboard.

PUT

curl -X PUT --data "@/path/to/file" -H "X-Api-Key: APIKEY" https://APIID.execute-api.us-east-1.amazonaws.com/prod/s3-key

GET

curl -H "X-Api-Key: APIKEY" https://APIID.execute-api.us-east-1.amazonaws.com/prod/s3-key

Releases

No releases published

Packages

No packages published

Languages

  • HCL 94.6%
  • Makefile 5.4%