From 147eaf4de1038d4b3fb76f453e960f0e89ff3e23 Mon Sep 17 00:00:00 2001 From: Hope Aitchison Date: Wed, 3 Jan 2024 16:29:34 +0000 Subject: [PATCH] silly syntax error --- test/unit-test/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit-test/main.tf b/test/unit-test/main.tf index 342669d..c5bea6d 100644 --- a/test/unit-test/main.tf +++ b/test/unit-test/main.tf @@ -4,7 +4,7 @@ module "module_test" { application_name = local.application_name tags = local.tags description = "test lambda" - role_name = format("InstanceSchedulerLambdaFunctionPolicy-s%", random_id.role.dec) + role_name = format("InstanceSchedulerLambdaFunctionPolicy-%s", random_id.role.dec) policy_json_attached = true policy_json = data.aws_iam_policy_document.instance-scheduler-lambda-function-policy.json function_name = "instance-scheduler-lambda-function" @@ -222,7 +222,7 @@ resource "random_id" "sg_name" { } resource "aws_security_group" "lambda_security_group_test" { - name = format("lambda-vpc-module-test-s%", random_id.sg_name.dec) + name = format("lambda-vpc-module-test-%s", random_id.sg_name.dec) description = "lambda attached to vpc test security group" vpc_id = data.aws_vpc.platforms-test.id