Skip to content

Commit ba9ed75

Browse files
added db password
1 parent 439fbcf commit ba9ed75

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

terraform/lambda.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,4 @@ resource "aws_lambda_function" "crud_api" {
1010
security_group_ids = [aws_security_group.lambda_sg1.id]
1111
}
1212

13-
environment {
14-
variables = {
15-
DB_HOST = aws_db_instance.postgres.address
16-
DB_USER = "admin"
17-
DB_PASSWORD = var.db_password
18-
DB_NAME = "cruddb"
19-
}
20-
}
21-
}
22-
2313

0 commit comments

Comments
 (0)