Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit f2072f7

Browse files
authored
fix: replaced old environment variable (#2146)
1 parent aa7edd1 commit f2072f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/runner-binaries-syncer/runner-binaries-syncer.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ resource "aws_lambda_function" "syncer" {
4848

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

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

0 commit comments

Comments
 (0)