Permalink
Browse files

enable private dns

  • Loading branch information...
lopopolo committed Nov 11, 2018
1 parent 116b6c1 commit e04efe78b5b1be082facb9d4a255453acb18e0ff
Showing with 6 additions and 5 deletions.
  1. +6 −5 terraform/modules/hyperbola/app/backend/security-groups.tf
@@ -40,11 +40,12 @@ resource "aws_security_group" "ssm" {
}

resource "aws_vpc_endpoint" "ssm" {
vpc_id = "${data.aws_vpc.this.id}"
service_name = "${data.aws_vpc_endpoint_service.ssm.service_name}"
vpc_endpoint_type = "Interface"
subnet_ids = ["${data.aws_subnet_ids.private.ids}"]
security_group_ids = ["${aws_security_group.ssm.id}"]
vpc_id = "${data.aws_vpc.this.id}"
service_name = "${data.aws_vpc_endpoint_service.ssm.service_name}"
vpc_endpoint_type = "Interface"
subnet_ids = ["${data.aws_subnet_ids.private.ids}"]
security_group_ids = ["${aws_security_group.ssm.id}"]
private_dns_enabled = true
}

resource "aws_security_group" "backend" {

0 comments on commit e04efe7

Please sign in to comment.