/es-kms-key

A Terraform module that creates a KMS key for usage with Elasticsearch Service

Primary LanguageHCLEclipse Public License 1.0EPL-1.0

es-kms-key

This module provides a KMS key configured for Elasticsearch Service usage.

Usage

module "kms_key" {
  source = "github.com/jdhollis/es-kms-key"
  
  additional_account_ids = ["…"]  # Account IDs for any accounts that need to be able to use the key when accessing bucket objects across accounts.
  alias                  = "…"    # Something descriptive.
  principals             = ["…"]  # In a multi-account setup, this will most likely be the ARN of the assumed role.
}