s3-cache-header-setter-go

command module
v0.0.0-...-d477def Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

s3-cache-header-setter-go

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
npm run deploy
Uninstall
npx sls remove -s dev

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL