Skip to content

Commit

Permalink
use public subnet to allow for debugging
Browse files Browse the repository at this point in the history
For more details see:
cloudposse/terraform-aws-elastic-beanstalk-environment#88

Signed-off-by: Jakub Sokołowski <[email protected]>
  • Loading branch information
jakubgs committed Jul 30, 2019
1 parent 4907880 commit b885e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aws-eb-env/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module "eb_environment" {
loadbalancer_certificate_arn = "${aws_acm_certificate.main.arn}"
vpc_id = "${module.vpc.vpc_id}"
public_subnets = "${module.subnets.public_subnet_ids}"
private_subnets = "${module.subnets.private_subnet_ids}"
private_subnets = "${module.subnets.public_subnet_ids}" /* should be private */
security_groups = ["${module.vpc.vpc_default_security_group_id}"]

/* Access */
Expand Down

0 comments on commit b885e54

Please sign in to comment.