Files
opentf/website/source/docs/providers/aws/r/route_table_assoc.html.markdown
2014-07-23 17:26:50 -04:00

714 B

layout, page_title, sidebar_current
layout page_title sidebar_current
aws AWS: aws_route_table_association docs-aws-resource-route-table-assoc

aws_route_table_association

Provides a resource to create an association between a subnet and routing table.

Example Usage

resource "aws_route_table_association" "a" {
    subnet_id = "${aws_subnet.foo.id}"
    route_table_id = "${aws_route_table.bar.id}"
}

Argument Reference

The following arguments are supported:

  • subnet_id - (Required) The subnet ID to create an association.
  • route_table_id - (Required) The ID of the routing table to associate with.

Attributes Reference

The following attributes are exported:

  • id - The ID of the association