Skip to content

Commit

Permalink
fix: replaced old environment variable (philips-labs#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
julada authored Jun 14, 2022
1 parent aa7edd1 commit f2072f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/runner-binaries-syncer/runner-binaries-syncer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "aws_lambda_function" "syncer" {

resource "aws_iam_role_policy" "lambda_kms" {
count = try(var.server_side_encryption_configuration.rule.apply_server_side_encryption_by_default.kms_master_key_id, null) != null ? 1 : 0
name = "${var.environment}-lambda-kms-policy-syncer"
name = "${var.prefix}-lambda-kms-policy-syncer"
role = aws_iam_role.syncer_lambda.id

policy = templatefile("${path.module}/policies/lambda-kms.json", {
Expand Down

0 comments on commit f2072f7

Please sign in to comment.