Skip to content

Commit 7ef4bd8

Browse files
authored
Merge pull request #1 from unity-sds/issues/401
Updated lambda SSM naming convention
2 parents 54e4eca + 33f4994 commit 7ef4bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terraform-unity/lambda.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ resource "aws_iam_role_policy_attachment" "lambda_stop_task_policy_attachment" {
153153
}
154154

155155
resource "aws_ssm_parameter" "lambda_function_name" {
156-
name = "/unity/cs/management/proxy/${var.installprefix}-httpd-lambda-name"
156+
name = "/unity/${var.project}/${var.venue}/cs/management/proxy/lambda-name"
157157
type = "String"
158158
value = aws_lambda_function.httpdlambda.function_name
159159
overwrite = true
@@ -168,4 +168,4 @@ output "lambda_function_arn" {
168168
output "lambda_function_name" {
169169
description = "The name of the Lambda function"
170170
value = aws_lambda_function.httpdlambda.function_name
171-
}
171+
}

0 commit comments

Comments
 (0)