Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Commit

Permalink
Merge pull request #70 from TeliaSoneraNorge/prefix_in-alias
Browse files Browse the repository at this point in the history
Added prefix for Key alias in init module
  • Loading branch information
glennbech authored Jun 18, 2018
2 parents cad14f4 + 16a2f5c commit ba8d48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/init/init.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ resource "aws_kms_key" "encrypt" {
}

resource "aws_kms_alias" "encrypt-alias" {
name = "alias/terraform-state-encryption-key"
name = "alias/${var.prefix}-terraform-state-encryption-key"
target_key_id = "${aws_kms_key.encrypt.key_id}"
}

Expand Down

0 comments on commit ba8d48f

Please sign in to comment.