s3-kms-key

dod-iac/s3-kms-key/aws

Terraform Module HCL AWS

A KMS Key for use with S3.

Install
module "s3-kms-key" {
source = "dod-iac/s3-kms-key/aws"
version = "1.0.4"
}
plain text: /constructs/tfmod-dod-iac-s3-kms-key-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Usage Creates a KMS Key for use with S3. ``hcl module "s3_kms_key" { source = "dod-iac/s3-kms-key/aws" name = format("alias/app-%s-s3-%s", var.application, var.environment) description = format("A KMS key used to encrypt objects at rest in S3 for %s:%s.", var.application, var.environment) principals = [var.instance_role_arn] tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Terraform Version Terraform 0.13. Pin module version to ~> 1.0.0 . Submit pull-requests to main branch. Terraform 0.11 and 0.12 are not supported. License This project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. However, because the project utilizes code licensed from contributors and other th

Inputs (6)
NameTypeDescriptionDefault
namestringThe display name of the alias. The name must start with the word "alias" followe"alias/s3"
principalslist(string)AWS Principals that can use this KMS key. Use ["*"] to allow all principals.[]
tagsmap(string)Tags applied to the KMS key.{}
descriptionstring"A KMS key used to encrypt objects at re
enable_key_rotationboolSpecifies whether key rotation is enabled.true
key_deletion_window_in_daysstringDuration in days after which the key is deleted after destruction of the resourc30
Outputs (4)
aws_kms_alias_arn — The Amazon Resource Name (ARN) of the key alias.
aws_kms_alias_name — The display name of the alias.
aws_kms_key_arn — The Amazon Resource Name (ARN) of the key.
aws_kms_key_id — The globally unique identifier for the key.
Resources (2)
aws_kms_aliasaws_kms_key
Topics & Tags
terraformawss3kms
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.4
Cloud AWS
★ Stars2
Forks7
Total downloads11.4k
Inputs6
Outputs4
Resources2
LicenseMIT
Namespacedod-iac
Updated