Skip to content

Commit

Permalink
fix module
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamraj Yadav committed Jul 19, 2022
1 parent 51794e0 commit ff3aa77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module "vpn" {
label_order = ["name", "environment"]
cidr_block = "172.0.0.0/16"
subnet_ids = module.subnets.public_subnet_id
route_cidr = ["0.0.0.0/0","0.0.0.0/0"]
route_cidr = ["0.0.0.0/0", "0.0.0.0/0"]
route_subnet_ids = module.subnets.public_subnet_id
network_cidr = ["0.0.0.0/0"]

Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,5 @@ resource "aws_ec2_client_vpn_route" "vpn_route" {
client_vpn_endpoint_id = join("", aws_ec2_client_vpn_endpoint.default.*.id)
destination_cidr_block = element(var.route_cidr, count.index)
target_vpc_subnet_id = element(var.route_subnet_ids, count.index)
depends_on = [aws_ec2_client_vpn_network_association.default]
}

0 comments on commit ff3aa77

Please sign in to comment.