Skip to content

devops-workflow/terraform-aws-s3-buckets

Folders and files

NameName
Last commit message
Last commit date
Feb 10, 2018
Apr 29, 2021
May 18, 2018
Nov 5, 2017
Nov 5, 2017
Feb 10, 2018
Nov 5, 2017
Nov 5, 2017
Jun 21, 2018
Feb 10, 2018
Jun 21, 2018

Repository files navigation

CircleCI

AWS S3 Buckets Terraform module

Terraform module which creates S3 buckets on AWS.

Terraform Registry: https://registry.terraform.io/modules/devops-workflow/s3-buckets/aws

Usage

module "s3-buckets" {
  source      = "devops-workflow/s3-buckets/aws"
  names       = ["bucket1", "bucket2", "bucket3"]
  environment = "dev"
  org         = "corp"
}

This would create/manage 3 S3 buckets: corp-dev-bucket1, corp-dev-bucket2, and corp-dev-bucket3

If a S3 bucket already exists, you will need to import it. Like this:

terraform import module.s3-buckets.aws_s3_bucket.this[0] corp-dev-bucket1