Skip to content

Commit 9b045d7

Browse files
committed
run terraform fmt
1 parent e1bfefc commit 9b045d7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

terraform/modules/lamda-deployer/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

terraform/modules/lamda-deployer/variables.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ variable "function_role_arn" {
2323
}
2424

2525
variable "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

3131
variable "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
}

0 commit comments

Comments
 (0)