File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
terraform/modules/lamda-deployer Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ resource "aws_lambda_function" "deployer" {
7171
7272 environment {
7373 variables = {
74- DEPLOYER_FUNCTION_ROLE_ARN = " ${ var . function_role_arn } "
75- DEPLOYER_FUNCTION_ENV_VARS = " ${ jsonencode (var. env_vars [" variables" ])} "
74+ DEPLOYER_FUNCTION_ROLE_ARN = " ${ var . function_role_arn } "
75+ DEPLOYER_FUNCTION_ENV_VARS = " ${ jsonencode (var. env_vars [" variables" ])} "
7676 DEPLOYER_POLICY_MAX_UNALIASED_VERSIONS = " ${ var . maximum_unaliased_versions } "
7777 }
7878 }
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ variable "function_role_arn" {
2323}
2424
2525variable "env_vars" {
26- type = " map"
26+ type = " map"
2727 description = " A map of variables to be passed to the lambda function on deployment"
28- default = {}
28+ default = {}
2929}
3030
3131variable "maximum_unaliased_versions" {
32- description = " The number of versions without an alias to keep. A function with an alias is a function in use."
33- default = 3
32+ description = " The number of versions without an alias to keep. A function with an alias is a function in use."
33+ default = 3
3434}
You can’t perform that action at this time.
0 commit comments