Skip to content

Commit f810394

Browse files
noeleontcloudlena
authored andcommitted
Add missing env for level-4
1 parent e6621eb commit f810394

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

level-4/advanced/terraform/function.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ resource "aws_lambda_function" "my_function" {
66
runtime = "nodejs18.x"
77
handler = "index.handler"
88

9+
environment {
10+
variables = {
11+
JOKE_TABLE_SUFFIX = "-${var.aws_user}"
12+
}
13+
}
14+
915
tracing_config {
1016
mode = "Active"
1117
}

0 commit comments

Comments
 (0)