opensearch-kms-key

dod-iac/opensearch-kms-key/aws

Terraform Module HCL AWS

A KMS key for use with Amazon OpenSearch Service

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

Usage Creates a KMS Key for use with Amazon OpenSearch Service. ``hcl module "opensearch_kms_key" { source = "dod-iac/opensearch-kms-key/aws" name = format("alias/app-%s-opensearch-%s", var.application, var.environment) description = format("A KMS key used to encrypt data in Amazon OpenSearch Service for %s:%s.", var.application, var.environment) principals = ["*"] 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 cod

Inputs (5)
NameTypeDescriptionDefault
descriptionstring"A KMS key used to encrypt data at-rest
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/opensearch"
principalslist(string)AWS Principals that can use this KMS key. Use ["*"] to allow all principals in []
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
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars0
Forks1
Total downloads3.5k
Inputs5
Outputs3
Resources2
LicenseMIT
Namespacedod-iac
Updated