/terraform-aws-s3

Created s3 bucket with SSL only access and the option to create a log bucket or use an existing log bucket

Primary LanguageHCL

AWS S3 Bucket Terraform module

Terraform module which creates an S3 bucket with logging and a policy for secure connections only

Usage

module "s3" {
  source                = "shadbury/s3/aws"
  version               = "1.0.2"
  bucket_key            = "aws_bucket"
  logging_bucket        = "aws_log_bucket"
  create_logging_bucket = false # Set to false if a logging bucket already exists
  public_access         = false # If false, this apply public access restrictions to the bucket
}