terraform-s3-dir

command module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2016 License: MIT Imports: 9 Imported by: 0

README

terraform-s3-dir

terraform-s3-dir is a small utility that takes a directory of files and produces a configuration file for Terraform that will upload those files into a particular named S3 bucket.

It could be useful for using Terraform to deploy a static website to S3's website publishing feature.

This utility just generates the aws_s3_bucket_object configurations. It's up to the user to separately create the bucket into which the objects will be placed.

Installing

Pretty standard Go program:

  • go get github.com/saymedia/terraform-s3-dir
  • go install github.com/saymedia/terraform-s3-dir

Usage

Usage: terraform-s3-dir [-h] [-x glob patterns to exclude] <root dir> <bucket name>
 -h, --help
 -x, --exclude=glob patterns to exclude

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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