Skip to content

Commit

Permalink
Merge pull request #143 from ministryofjustice/kms-key-fix
Browse files Browse the repository at this point in the history
add local environment name to kms key
  • Loading branch information
jay-whitwell authored Jun 5, 2024
2 parents 17110d3 + 4dbeca8 commit b1a55fb
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 b1a55fb

Please sign in to comment.