Skip to content

Commit

Permalink
update ssm param name
Browse files Browse the repository at this point in the history
  • Loading branch information
buggtb committed Feb 28, 2024
1 parent de416b9 commit 83ec53a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform-unity/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ resource "aws_iam_role_policy_attachment" "lambda_stop_task_policy_attachment" {
}

resource "aws_ssm_parameter" "lambda_function_name" {
name = "/unity/cs/management/httpd/httpd-lambda-name"
name = "/unity/cs/management/proxy/${var.deployment_name}-httpd-lambda-name"
type = "String"
value = aws_lambda_function.httpdlambda.function_name
overwrite = true
Expand Down
14 changes: 13 additions & 1 deletion terraform-unity/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,16 @@ variable "deployment_name" {
variable "mgmt_dns" {
description = "The DNS or IP of the ALB or EC2 instance"
type = string
}
}

variable "project"{
description = "The unity project its installed into"
type = string
default = "UnknownProject"
}

variable "venue" {
description = "The unity venue its installed into"
type = string
default = "UnknownVenue"
}

0 comments on commit 83ec53a

Please sign in to comment.