matthprost/S3 Bucket Website Deploy

Create a S3 bucket (if not existing), enable bucket website with given configuration and deploy your files into it.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
S3_ACCESS_KEYS3 access keyyes
S3_SECRET_KEYS3 secret keyyes
S3_ENDPOINTEndpoint of your S3 bucket. Ex: s3.fr-par.scw.cloudyes
S3_REGIONRegion of your S3 bucket. Ex: fr-paryes
BUCKET_NAMEEnter a bucket name there. Bucket will be created if not existing.yes
WEBSITE_CONFIG_PATHRoot path of the file that contains configuration for bucket website, should be a .json. See example file in repository.no/s3-default-config-file/.bucket-website.json
BUCKET_POLICY_CONFIG_PATHRoot path of the file that contains configuration bucket website policies, should be a .json.tql. See example file in repositoryno/s3-default-config-file/.bucket-policy.json.tpl
SOURCE_DIRECTORYRoot path of the source folder that will be sync with your bucket.no.
SYNC_ARGSArguments you can add to S3 sync command.no--delete
COMPRESS_TOOLCompress your files from SOURCE_DIRECTORY before uploading them into your bucket. Only gzip available, if empty no compression is done.no

no outputs