Skip to content

Latest commit

 

History

History

aws-kms-key

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

AWS KMS Key

This module creates KMS key, adds an alias and creates Key and IAM policies

Requirements

Name Version
terraform >= 0.13
aws >= 4.0, < 5.0

Providers

Name Version
aws >= 4.0, < 5.0

Modules

No modules.

Resources

Name Type
aws_iam_policy.admin resource
aws_iam_policy.user resource
aws_kms_alias.this resource
aws_kms_key.this resource
aws_caller_identity.current data source
aws_iam_policy_document.iam_admin data source
aws_iam_policy_document.iam_user data source
aws_iam_policy_document.kms data source

Inputs

Name Description Type Default Required
alias_name n/a string n/a yes
description n/a string "" no
is_enabled n/a bool true no
key_admin_arns n/a list(string) [] no
key_user_arns n/a list(string) [] no

Outputs

Name Description
iam_admin_policy_arn n/a
iam_user_policy_arn n/a
kms_key_arn n/a
kms_key_id n/a