vpc-flow-logs-kms-key

dod-iac/vpc-flow-logs-kms-key/aws

Terraform Module HCL AWS

A KMS key used to encrypt VPC flow logs stored in S3

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

Usage Creates a KMS key used to encrypt VPC flow logs stored in AWS S3. ``hcl module "vpc_flow_logs_kms_key" { source = "dod-iac/vpc-flow-logs-kms-key/aws" name = "alias/name" tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Testing Run all terratest tests using the terratest script. If using aws-vault, you could use aws-vault exec $AWS_PROFILE -- terratest. The AWS_DEFAULT_REGION environment variable is required by the tests. Use TT_SKIP_DESTROY=1 to not destroy the infrastructure created during the tests. Use TT_VERBOSE=1 to log all tests as they are run. Use TT_TIMEOUT to set the timeout for the tests, with the value being in the Go format, e.g., 15m. The go test command can be executed directly, too. Terraform Version Terraform 0.13. P

Inputs (4)
NameTypeDescriptionDefault
descriptionstringThe description of the key as viewed in AWS console."A KMS key used to encrypt VPC flow logs
key_deletion_window_in_daysstringDuration in days after which the key is deleted after destruction of the resourc30
namestringThe display name of the alias. The name must start with the word "alias" followe"alias/vpc-flow-logs"
tagsmap(string)Tags applied to the KMS key.{}
Outputs (3)
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.
Resources (2)
aws_kms_aliasaws_kms_key
Topics & Tags
terraformvpcaws
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars0
Forks0
Total downloads5.2k
Inputs4
Outputs3
Resources2
Examples1
LicenseNOASSERTION
Namespacedod-iac
Updated