Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Commit 84fcba8

Browse files
Merge pull request #51 from BuildDirect/expose-route-tables
expose route table ids to root stack module
2 parents b411232 + 3d3ced9 commit 84fcba8

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

docs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
| external_elb | Security group for external ELBs. |
5353
| internal_subnets | Comma separated list of internal subnet IDs. |
5454
| external_subnets | Comma separated list of external subnet IDs. |
55+
| internal_route_tables | Comma separated list of internal route table IDs. |
56+
| external_route_tables | The external route table ID. |
5557
| iam_role | ECS Service IAM role. |
5658
| log_bucket_id | S3 bucket ID for ELB logs. |
5759
| domain_name | The internal domain name, e.g "stack.local". |
@@ -572,4 +574,3 @@
572574
| desired_count | The desired count | `1` | no |
573575
| memory | The number of MiB of memory to reserve for the container | `512` | no |
574576
| cpu | The number of cpu units to reserve for the container | `512` | no |
575-

main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,13 @@ output "vpc_id" {
292292
output "ecs_cluster_security_group_id" {
293293
value = "${module.ecs_cluster.security_group_id}"
294294
}
295+
296+
// Comma separated list of internal route table IDs.
297+
output "internal_route_tables" {
298+
value = "${module.vpc.internal_rtb_id}"
299+
}
300+
301+
// The external route table ID.
302+
output "external_route_tables" {
303+
value = "${module.vpc.external_rtb_id}"
304+
}

0 commit comments

Comments
 (0)