Skip to content

Commit

Permalink
add local environment name to kms key
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-whitwell committed Jun 5, 2024
1 parent 17110d3 commit 4dbeca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environment/elasticache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ data "aws_iam_policy_document" "elasticache_kms_key" {
}

resource "aws_kms_alias" "elasticache_kms_alias" {
name = "alias/elasticache-lpa"
name = "alias/elasticache-lpa-${local.environment}"
target_key_id = aws_kms_key.elasticache_kms.id
}

Expand Down

0 comments on commit 4dbeca8

Please sign in to comment.