Skip to content

Commit 712b412

Browse files
committed
add to poll lambda
1 parent c844893 commit 712b412

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

infrastructure/terraform/modules/backend-api/module_lambda_sftp_poll.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ module "lambda_sftp_poll" {
2222

2323
timeout = 60 * 10
2424
memory_size = 2048
25+
26+
vpc = {
27+
id = data.aws_vpc.account_vpc.id
28+
cidr_block = data.aws_vpc.account_vpc.cidr_block
29+
subnet_ids = data.aws_subnets.account_vpc_private_subnets.ids
30+
security_group_ids = [data.aws_security_group.account_vpc_sg_allow_sftp_egress.id]
31+
}
2532
}
2633

2734
data "aws_iam_policy_document" "sftp_poll" {

0 commit comments

Comments
 (0)