An open API service indexing awesome lists of open source software.

https://github.com/osodevops/aws-terraform-module-s3

Terraform S3 module for AWS
https://github.com/osodevops/aws-terraform-module-s3

Last synced: about 23 hours ago
JSON representation

Terraform S3 module for AWS

Awesome Lists containing this project

README

          

#

[![README Header][readme_header_img]][readme_header_link]

S3 module to create a bucket with encrpytion, TLS, cors rules and intelligent tiering.

You can see a working example in the ./example directory.

---

## Usage

### Requirements
Terraform 1.1.7

## Examples

Follow this example
```hcl
module "s3" {
source = "../"
s3_bucket_name = "exaple_bucket_name"
s3_bucket_acl = "private"
s3_bucket_force_destroy = false
common_tags = var.common_tags

# Bucket public access
restrict_public_buckets = true
block_public_acls = true
block_public_policy = true
ignore_public_acls = true

versioning = {
status = "Enabled"
mfa_delete = "Disabled"
}

cors_rule = {
allowed_headers = ["Authorization"]
allowed_methods = ["GET"]
allowed_origins = ["*"]
expose_headers = []
max_age_seconds = 3000
}

}
```

## Need some help

File a GitHub [issue](https://github.com/osodevops/aws-terraform-module-s3/issues), send us an [email][email] or [tweet us][twitter].

## The legals

Copyright © 2017-2022 [OSO](https://oso.sh) | See [LICENCE](LICENSE) for full details.

[OSO who we are](https://oso.sh/who-we-are/)

## Who we are

We at [OSO][website] help teams to adopt emerging technologies and solutions to boost their competitiveness, operational excellence and introduce meaningful innovations that drive real business growth. Our developer-first culture, combined with our cross-industry experience and battle-tested delivery methods allow us to implement the most impactful solutions for your business.

Looking for support applying emerging technologies in your business? We’d love to hear from you, get in touch by [email][email]

Start adopting new technologies by checking out [our other projects][github], [follow us on twitter][twitter], [join our team of leaders and challengers][careers], or [contact us][contact] to find the right technology to support your business.[![Beacon][beacon]][website]

[logo]: https://oso-public-resources.s3.eu-west-1.amazonaws.com/oso-logo-green.png
[website]: https://oso.sh?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=website
[github]: https://github.com/osodevops?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=github
[careers]: https://oso.sh/careers/?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=careers
[contact]: https://oso.sh/contact/?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=contact
[linkedin]: https://www.linkedin.com/company/oso-devops?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=linkedin
[twitter]: https://twitter.com/osodevops?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=twitter
[email]: mailto:enquiries@oso.sh?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=email
[readme_header_img]: https://oso-public-resources.s3.eu-west-1.amazonaws.com/oso-animation.gif
[readme_header_link]: https://oso.sh/what-we-do/?utm_source=github&utm_medium=readme&utm_campaign=osodevops/aws-terraform-module-s3&utm_content=readme_header_link
[beacon]: https://github-analyics.ew.r.appspot.com/G-WV0Q3HYW08/osodevops/aws-terraform-module-s3?pixel&cs=github&cm=readme&an=aws-terraform-module-s3