Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am I missing something but is there no way to add a route via CloudFormation to the default route table that comes provisioned with a VPC?

share|improve this question
up vote 12 down vote accepted

Nah you can't, there's nothing to refer to anyway (e.g. logical ID). Just create your own main table ;-).

This is probably one of the reason it can't be used:

One way to protect your VPC is to leave the main route table in its original default state (with only the local route), and explicitly associate each new subnet you create with one of the custom route tables you've created. This ensures that you must explicitly control how each subnet's outbound traffic is routed.

share|improve this answer
Sounds like a chore. – Sleeper Smith Apr 15 '14 at 15:17
Think that's bad? Wait until you separate out your templates so that each one has only a single responsibility, with a parent template pulling smaller ones into a larger stack... now you have to pass both the VPC and the RouteTable from one template to all your other child templates. This, despite the fact the RouteTable already knows which VPC it's a part of, but you can't extract that information from it.</rant> – DanielM Aug 11 '15 at 20:14
@DanielM Sounds like a job for . Looks like we have the same gripe. :D hahahaha. – Sleeper Smith Aug 16 '15 at 1:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.