Module for S3 buckets?

This message is extracted from a ticket originally emailed to support@gruntwork.io. Names and URLs have been removed where appropriate.

Quick question. do you have any written modules for a simple private s3 bucket? I know of the one here - https://github.com/gruntwork-io/package-static-assets

Looking more so for one around just storing static assets for an app in the backend, user’s files, etc, vs serving a website.

Not to hard to flush out myself, just thought I’d ask.

We use S3 buckets in a number of places, each configured slightly different. You’ve already found the one for hosting a static website; we also have one for storing load balancer access logs, CloudTrail audit logs, Lambda deployment packages, and database backups.

I don’t think we have a generic module for S3 as almost everything for an S3 bucket is defined using “inline blocks”, which makes it very hard to build reusable, configurable modules. Hopefully, the examples above are enough to get you moving!