github.com/ezbercih/terraform@v0.1.1-0.20140729011846-3c33865e0839/website/source/docs/providers/aws/r/route_table.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_route_table" 4 sidebar_current: "docs-aws-resource-route-table|" 5 --- 6 7 # aws\_route\_table 8 9 Provides a resource to create a VPC routing table. 10 11 ## Example Usage 12 13 ``` 14 resource "aws_route_table" "r" { 15 vpc_id = "${aws_vpc.default.id}" 16 route { 17 cidr_block = "10.0.1.0/24" 18 } 19 } 20 ``` 21 22 ## Argument Reference 23 24 The following arguments are supported: 25 26 * `vpc_id` - (Required) The ID of the routing table. 27 * `route` - (Required) A list of route objects. Their keys are documented below. 28 29 Each route supports the following: 30 31 * `cidr_block` - (Required) The CIDR block of the route. 32 * `gateway_id` - (Optional) The Internet Gateway ID. 33 * `instance_id` - (Optional) The EC2 instance ID. 34 35 ## Attributes Reference 36 37 The following attributes are exported: 38 39 * `id` - The ID of the routing table 40