Resource
aws.ec2.RouteTable
Describes a route table.
Example
let vpc = aws.ec2.Vpc {
cidr_block = '10.0.0.0/16'
tags = {
Environment = 'example'
}
}
aws.ec2.RouteTable {
vpc_id = vpc.vpc_id
tags = {
Environment = 'example'
}
}
Argument Reference
vpc_id
- Type:
VpcId (pattern: /^vpc-[0-9a-f]{8,}$/ (Full)) - Required: Yes
The ID of the VPC.
tags
- Type: Map<
String,String> - Required: No
The tags for the resource.
Attribute Reference
route_table_id
- Type:
RouteTableId (pattern: /^rtb-[0-9a-f]{8,}$/ (Full)) - Read-only
The ID of the route table.