Skip to content

Commit

Permalink
silly syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
haitchison committed Jan 3, 2024
1 parent 7274c6f commit 147eaf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 147eaf4

Please sign in to comment.