Skip to content

Generic Terraform S3 module with Terratest examples

Notifications You must be signed in to change notification settings

bspeagle/tf-s3-example

Repository files navigation

Requirements

No requirements.

Providers

Name Version
aws 4.4.0

Modules

No modules.

Resources

Name Type
aws_s3_bucket.logging resource
aws_s3_bucket.this resource
aws_s3_bucket_policy.redshift resource
aws_s3_bucket_public_access_block.this resource
aws_redshift_service_account.this data source

Inputs

Name Description Type Default Required
acl ACL for bucket (public-read, private, etc...) string "private" no
bucket_count Count of resources to create number 1 no
bucket_names List o' bucket names list(string) [] no
bucket_type The type of bucket to create string "default" no
create_bucket Should this bucket be created? Should it?!?!?!? bool true no
disable_acls Toggle to disable ACLs for public bucket access bool true no
force_destroy Force destroy all files in bucket when destroying bucket. BE CAREFUL!!! bool false no
kms_key_arn KMS key ARN for server side encryption string null no
logging_enabled Toggle bucket logging bool false no
sse_enabled Toggle server-side encryption. If true variable kms_master_key_id must be supplied bool true no
tags A map of tags to add to all resources map(string) {} no
versioning_enabled Toggle bucket versioning bool true no

Outputs

Name Description
arn The ARN of the bucket
id The Id of the S3 bucket

About

Generic Terraform S3 module with Terratest examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published