diff --git a/docs.md b/docs.md index 88fd61e4..db1ea782 100644 --- a/docs.md +++ b/docs.md @@ -52,6 +52,8 @@ | external_elb | Security group for external ELBs. | | internal_subnets | Comma separated list of internal subnet IDs. | | external_subnets | Comma separated list of external subnet IDs. | +| internal_route_tables | Comma separated list of internal route table IDs. | +| external_route_tables | The external route table ID. | | iam_role | ECS Service IAM role. | | log_bucket_id | S3 bucket ID for ELB logs. | | domain_name | The internal domain name, e.g "stack.local". | @@ -572,4 +574,3 @@ | desired_count | The desired count | `1` | no | | memory | The number of MiB of memory to reserve for the container | `512` | no | | cpu | The number of cpu units to reserve for the container | `512` | no | - diff --git a/main.tf b/main.tf index 38588911..321ed91b 100644 --- a/main.tf +++ b/main.tf @@ -292,3 +292,13 @@ output "vpc_id" { output "ecs_cluster_security_group_id" { value = "${module.ecs_cluster.security_group_id}" } + +// Comma separated list of internal route table IDs. +output "internal_route_tables" { + value = "${module.vpc.internal_rtb_id}" +} + +// The external route table ID. +output "external_route_tables" { + value = "${module.vpc.external_rtb_id}" +}