Skip to content

nullstone-modules/aws-s3-bucket

Repository files navigation

S3 Bucket

nullstone/aws-s3-bucket


Security & Compliance

Security scanning is graciously provided by Bridgecrew. Bridgecrew is the leading fully hosted, cloud-native solution providing continuous Terraform security and compliance.

Infrastructure Security CIS AWS V1.3 PCI-DSS V3.2 NIST-800-53 ISO27001 SOC2 HIPAA

What Does This Module Do?

Creates an S3 bucket within your AWS account and outputs the information needed in order to connect to the bucket.


When Should I Use This?

S3 buckets are great for storing files or data of any kind. Connecting S3 buckets to your applications allows you to very easily save and retrieve files without having to think about persistence. For more information about S3 buckets, please read the AWS S3 Guide.


Parameters

Name Type Default Description
server_side_encryption boolean true Encrypts all data at the object level as it is being written to S3, automatically decrypts it as you access it. The way you access objects (presigned URLs, listing objects, and retrieving objects) all works the same way as if they were not encrypted.
versioning boolean false Use the versioning feature of S3 to keep multiple versions of each object stored in your bucket. With versioning you can list, retrieve, and restore multiple versions of your objects.
public_read_only boolean false If toggled on, the contents of this S3 bucket will be made publicly accessible. Public access will be read-only.
cors_orgins list(string) [] A set of origins that are allowed to make GET requests to this S3 bucket.
cors_methods list(string) ["GET"] A set of HTTP verbs that are allowed to be used when making CORS requests to this S3 bucket.

Outputs

Name Description
db_arn The ARN (Amazon Resource Name) that uniquely identifies the created S3 bucket.
db_hostname The name of the created s3 bucket.
db_port This port of the created s3 bucket (always blank).
db_protocol URI Protocol (always s3)

How Do I Use This?

Connect this S3 bucket to your applications using a capability. The capability will set up the correct access privileges and inject the connection information into your applications via ENV variables. This S3 bucket can be connected to many applications in order to share files between the applications.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published