Skip to content

amlodzianowski/s3-cache-header-setter-python

Repository files navigation

s3-cache-header-setter-python

GitHub Workflow Status

This project is a serverless helper for configuring Cache-Control headers on objects uploaded to S3.

Deployment

Prerequisites

Node installed on the deployment machine

Create a .env in the root directory of this project containing the necessary settings:

S3_BUCKET_NAME=s3-bucket-name
S3_PATH_PREFIX=s3-path-prefix
AWS_REGION=region-where-s3-bucket-lives

Install

npm install
npx sls deploy -s dev

Uninstall

npx sls remove -s dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages