We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ec53a commit 2c1cf77Copy full SHA for 2c1cf77
terraform-unity/lambda.tf
@@ -116,7 +116,7 @@ resource "aws_iam_policy" "lambda_ecs_stop_task_policy" {
116
117
118
resource "aws_iam_policy" "lambda_vpc_access_policy" {
119
- name = "${var.deployment_name}-lambda_vpc_access_policy"
+ name = "${var.installprefix}-lambda_vpc_access_policy"
120
description = "Allows Lambda functions to manage ENIs for VPC access"
121
122
policy = jsonencode({
terraform-unity/variables.tf
@@ -24,3 +24,9 @@ variable "venue" {
24
type = string
25
default = "UnknownVenue"
26
}
27
+
28
+variable "installprefix" {
29
+ description = "The management console install prefix"
30
+ type = string
31
+ default = "UnknownPrefix"
32
+}
0 commit comments