Skip to content

Commit 184c6c8

Browse files
npalmCopilot
andauthored
Update modules/runner-binaries-syncer/runner-binaries-syncer.tf
Co-authored-by: Copilot <[email protected]>
1 parent d348c24 commit 184c6c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/runner-binaries-syncer/runner-binaries-syncer.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ resource "aws_lambda_function" "syncer" {
5858

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

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

0 commit comments

Comments
 (0)