File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
terraform-project-api-gateway_module Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ data "aws_iam_policy" "mcp_operator_policy" {
104104
105105# IAM Role for Lambda Authorizer
106106resource "aws_iam_role" "iam_for_lambda_auth" {
107- name = " iam_for_lambda_auth"
107+ name = " ${ var . deployment_name } - iam_for_lambda_auth"
108108 inline_policy {
109109 name = " unity-cs-lambda-auth-inline-policy"
110110 policy = data. aws_iam_policy_document . inline_policy . json
@@ -116,7 +116,7 @@ resource "aws_iam_role" "iam_for_lambda_auth" {
116116# Unity CS Common Auth Lambda
117117resource "aws_lambda_function" "cs_common_lambda_auth" {
118118 filename = " ucs-common-lambda-auth.zip"
119- function_name = var. unity_cs_lambda_authorizer_function_name
119+ function_name = " ${ var . deployment_name } - ${ var . unity_cs_lambda_authorizer_function_name } "
120120 role = aws_iam_role. iam_for_lambda_auth . arn
121121 handler = " index.handler"
122122 runtime = " nodejs14.x"
You can’t perform that action at this time.
0 commit comments