Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Commit

Permalink
Update VPC parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Jose Karam <[email protected]>
  • Loading branch information
NSCoder committed Feb 1, 2019
1 parent d6826a7 commit 678b01e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ resource "aws_lambda_function" "lambda" {
tags = "${local.tags}"

vpc_config {
subnet_ids = "${local.vpc_subnet_ids}"
security_group_ids = "${local.vpc_security_group_ids}"
subnet_ids = ["${local.vpc_subnet_ids}"]
security_group_ids = ["${local.vpc_security_group_ids}"]
}
}

Expand Down
6 changes: 4 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ variable "tags" {
}

variable "vpc_subnet_ids" {
type = "list"
type = "list"
default = []
}

variable "vpc_security_group_ids" {
type = "list"
type = "list"
default = []
}

0 comments on commit 678b01e

Please sign in to comment.