Skip to content

Commit

Permalink
Add aliases and tags to KMS keys for easier identification and metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Grayson committed Sep 27, 2023
1 parent ddfd21a commit 33bdfce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ resource "aws_kms_key" "key" {
description = "KMS key"
deletion_window_in_days = 10
enable_key_rotation = true
alias = "${var.project}-${var.stage}-key"
policy = <<EOF
{
"Version": "2012-10-17",
Expand Down

0 comments on commit 33bdfce

Please sign in to comment.