Skip to content

Commit

Permalink
Disable source/dest checks
Browse files Browse the repository at this point in the history
As we route traffic to the pod subnet
  • Loading branch information
pecigonzalo committed Oct 26, 2019
1 parent c3be782 commit 918bbbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/k8s-controllers.tf
Expand Up @@ -19,6 +19,7 @@ module "ctrl-0" {

vpc_id = "${module.vpc.vpc_id}"
subnet = "${module.dynamic_subnets.public_subnet_ids[0]}"
source_dest_check = false
associate_public_ip_address = false
assign_eip_address = false
create_default_security_group = "true" # TODO: Switch to false once we attach a SG
Expand Down Expand Up @@ -47,6 +48,7 @@ module "ctrl-1" {

vpc_id = "${module.vpc.vpc_id}"
subnet = "${module.dynamic_subnets.public_subnet_ids[1]}"
source_dest_check = false
associate_public_ip_address = false
assign_eip_address = false
create_default_security_group = "true" # TODO: Switch to false once we attach a SG
Expand Down Expand Up @@ -75,6 +77,7 @@ module "ctrl-2" {

vpc_id = "${module.vpc.vpc_id}"
subnet = "${module.dynamic_subnets.public_subnet_ids[2]}"
source_dest_check = false
associate_public_ip_address = false
assign_eip_address = false
create_default_security_group = "true" # TODO: Switch to false once we attach a SG
Expand Down

0 comments on commit 918bbbe

Please sign in to comment.