config-storage

cloudposse/config-storage/aws

Terraform Module HCL AWS

This module creates an S3 bucket suitable for storing AWS Config data

Install
module "config-storage" {
source = "cloudposse/config-storage/aws"
version = "1.0.2"
}
plain text: /constructs/tfmod-cloudposse-config-storage-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-aws-config-storage ![Latest Release](https://github.com/cloudposse/terraform-aws-config-storage/releases/latest) ![Slack Community](https://slack.cloudposse.com) ![Discourse Forum](https://ask.sweetops.com/) [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) This module creates an S3 bucket suitable for storing AWS Config data. It implements a configurable log retention policy, which allows you to efficiently manage logs across different storage classes (_e.g._ Glacier) and ultimately expire the data altogether. It enables server-side default encryption. https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html It blocks public access to the bucket by default. https://docs.aws.amazon.com/AmazonS3/latest/dev/acce

Inputs (37)
NameTypeDescriptionDefault
sse_algorithmstringThe server-side encryption algorithm to use. Valid values are AES256 and aws:kms"AES256"
kms_master_key_arnstringThe AWS KMS master key ARN used for the SSE-KMS encryption. This can only be use""
bucket_notifications_prefixstringPrefix filter. Used to manage object notifications""
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
standard_transition_daysnumberNumber of days to persist in the standard storage tier before moving to the infr30
lifecycle_prefixstringPrefix filter. Used to manage object lifecycle events""
enable_glacier_transitionboolEnables the transition to AWS Glacier which can cause unnecessary costs for hugetrue
abort_incomplete_multipart_upload_daysnumberMaximum time (in days) that you want to allow multipart uploads to remain in pro5
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bunull
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indinull
noncurrent_version_transition_daysnumberSpecifies when noncurrent object versions transitions30
glacier_transition_daysnumberNumber of days after which to move the data to the glacier storage tier60
force_destroybool(Optional, Default:false ) A boolean that indicates all objects should be deletefalse
expiration_daysnumberNumber of days after which to expunge the objects90
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length.null
lifecycle_tagsmap(string)Tags filter. Used to manage object lifecycle events{}
Outputs (6)
prefix — Prefix configured for lifecycle rules
enabled — Is module enabled
bucket_notifications_sqs_queue_arn — Notifications SQS queue ARN
bucket_domain_name — FQDN of bucket
bucket_id — Bucket Name (aka ID)
bucket_arn — Bucket ARN
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.2
Cloud AWS
★ Stars7
Forks10
Total downloads251.4k
Inputs37
Outputs6
Examples1
LicenseApache-2.0
Namespacecloudposse
Updated