Skip to content

Commit 2c1cf77

Browse files
committed
update backend lookup for venue and project
1 parent 83ec53a commit 2c1cf77

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

terraform-unity/lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ resource "aws_iam_policy" "lambda_ecs_stop_task_policy" {
116116

117117

118118
resource "aws_iam_policy" "lambda_vpc_access_policy" {
119-
name = "${var.deployment_name}-lambda_vpc_access_policy"
119+
name = "${var.installprefix}-lambda_vpc_access_policy"
120120
description = "Allows Lambda functions to manage ENIs for VPC access"
121121

122122
policy = jsonencode({

terraform-unity/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,9 @@ variable "venue" {
2424
type = string
2525
default = "UnknownVenue"
2626
}
27+
28+
variable "installprefix" {
29+
description = "The management console install prefix"
30+
type = string
31+
default = "UnknownPrefix"
32+
}

0 commit comments

Comments
 (0)