| Name | Version |
|---|---|
| terraform | ~> 1.0 |
| aws | ~> 5.0 |
| Name | Version |
|---|---|
| aws | 5.100.0 |
No modules.
| Name | Type |
|---|---|
| aws_kms_key_policy.this | resource |
| aws_iam_policy_document.kms_policy | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| key_id | (Required) The ID of the KMS Key to attach the policy. | string |
n/a | yes |
| policy | A JSON-formatted string that represents the key policy to attach to the KMS key. | map(object({ |
null |
no |
| bypass_policy_lockout_safety_check | (Optional) A boolean flag to indicate whether to bypass the KMS key policy lockout safety check. Defaults to false. | bool |
false |
no |
| Name | Description |
|---|---|
| id | The ID of the KMS Key Policy resource. |