Skip to content

Commit

Permalink
Merge pull request #5 from university-outreach-infrastructure-tf/tf0.…
Browse files Browse the repository at this point in the history
…12-updates

Tf0.12 updates
  • Loading branch information
anarwal committed Jan 21, 2020
2 parents 8309c53 + ffe299a commit f7b5604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/route-tables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ resource "aws_route_table_association" "public" {
}

resource "aws_route_table" "private"{
count = length(var.private_subnets)
vpc_id = aws_vpc.vpc.id
tags = merge( module.networking_labels.tags, { "Name"= format("%s-private", module.networking_labels.id), "Type" = "Private", "Environment" = var.stage })
tags = merge( module.networking_labels.tags, { "Name"= format("%s-private-00%s", module.networking_labels.id, count.index), "Type" = "Private", "Environment" = var.stage })
}

resource "aws_route" "private" {
Expand Down

0 comments on commit f7b5604

Please sign in to comment.