Skip to content

aws.ec2-route-table resource

Description

RouteTable is an EC2 route table: the set of routes for a VPC, which subnets and gateways then associate with. CreateRouteTable takes only the VPC id and the create-time tags; the VPC is fixed once the table exists, so a change to it replaces the table. The routes in the table and the associations to it are each their own resource, so this resource manages only the table itself and its tags.

Source: internal/service/ec2/route_table_rsrc.go:23

Example usage:

imports: {
  aws: 'github.com/cloudboss/unobin-library-aws'
}

resources: {
  example: aws.ec2-route-table {
    # Set input fields here.
  }
}

Inputs

vpc-id

string

required

tags

map(string)

Input Constraints

This kind declares no extra input constraints.

Outputs

route-table-id

string

owner-id

string