Skip to content

dxw/terraform-aws-s3-bucket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-s3-bucket

Terraform module to create S3 bucket on AWS

Example of Bucket with only private access

module "s3_bucket" {
    source            = "Smartbrood/s3-bucket/aws"
    s3_fqdn           = var.s3_fqdn
    aws_account_id    = var.aws_account_id
    aws_username      = var.aws_username
    files             = var.files
    base64_files      = var.base64_files
    enable_versioning = var.enable_versioning

    tags = {
        Terraform   = "true"
        Environment = "stage"
        Project     = "my_project"
    }
}

Example of Bucket with read public access

module "s3_bucket" {
    source            = "Smartbrood/s3-bucket/aws"
    s3_fqdn           = var.s3_fqdn
    aws_account_id    = var.aws_account_id
    aws_username      = var.aws_username
    files             = var.files
    base64_files      = var.base64_files
    enable_versioning = var.enable_versioning

    allow_public   = "true"

    tags = {
        Terraform   = "true"
        Environment = "stage"
        Project     = "my_project"
    }
}

Authors

Module managed by Smartbrood LLC.

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module to create S3 bucket on AWS

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%