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 e2d896a commit 8e4597dCopy full SHA for 8e4597d
main.tf
@@ -74,6 +74,7 @@ resource "aws_lambda_function" "this" {
74
variables = {
75
ASG_NAME = var.asg_name
76
AWS_REGION = local.region
77
+ LOGLEVEL = var.loglevel
78
}
79
80
lifecycle {
variables.tf
@@ -7,6 +7,12 @@ locals {
7
region = data.aws_region.current.name
8
9
10
+variable "loglevel" {
11
+ type = string
12
+ default = "INFO"
13
+ description = "Logging level for the rolling restart lambda function."
14
+}
15
+
16
variable "name" {
17
type = string
18
default = "rolling-restart-lambda"
0 commit comments