Skip to content

Commit 146bb7a

Browse files
committed
Remove default Routing table association
1 parent 1d6e397 commit 146bb7a

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ module "search" {
1515
newbits = 10
1616
netnum = 16
1717
azs = ["us-east1"]
18-
rt_id = "rt-adfarwr"
1918
access_sg_ids = ["sg-rewr4sre"]
2019
access_cidrs = ["172.168.0.0/26"]
2120
storage = 25

main.tf

-6
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ resource "aws_subnet" "this" {
1414
tags = "${merge(var.tags, map("Name", "${var.name} ES ${count.index}"))}"
1515
}
1616

17-
resource "aws_route_table_association" "this" {
18-
count = "${length(aws_subnet.this.*.id)}"
19-
subnet_id = "${element(aws_subnet.this.*.id, count.index)}"
20-
route_table_id = "${var.rt_id}"
21-
}
22-
2317
# ---------------------------------------
2418
# Network ACL DB
2519
# ---------------------------------------

variables.tf

-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ variable "netnum" {
2929
default = 0
3030
}
3131

32-
variable "rt_id" {
33-
description = "Route Table Id to assing to the EFS subnet."
34-
}
35-
3632
variable "access_cidrs" {
3733
description = "A list of Subnets CIDR Blocks to grant access"
3834
type = "list"

0 commit comments

Comments
 (0)