terraform-s3-dir

command module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2017 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址