/terraform-aws-s3-state-bucket

Terraform module that creates an encrypted, versioned S3 bucket for storing Terraform state.

Primary LanguageHCLMIT LicenseMIT

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_s3_bucket.bucket resource
aws_s3_bucket_server_side_encryption_configuration.bucket resource
aws_s3_bucket_versioning.bucket resource

Inputs

Name Description Type Default Required
bucket_name The name of the state bucket. string n/a yes
encryption Boolean to determine if encryption is enabled on the state bucket. bool true no
versioning Boolean to determine if versioning is enabled on the state bucket. bool true no

Outputs

Name Description
bucket_arn The ARN of the S3 bucket.