This module creates KMS key, adds an alias and creates Key and IAM policies
Name | Version |
---|---|
terraform | >= 0.13 |
aws | >= 4.0, < 5.0 |
Name | Version |
---|---|
aws | >= 4.0, < 5.0 |
No modules.
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 |
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 |
Name | Description |
---|---|
iam_admin_policy_arn | n/a |
iam_user_policy_arn | n/a |
kms_key_arn | n/a |
kms_key_id | n/a |