Files
opentf/website/source/docs/providers/aws/r/route_table_association.html.markdown
2017-04-17 13:17:54 +03:00

823 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
aws AWS: aws_route_table_association docs-aws-resource-route-table-association Provides a resource to create an association between a subnet and routing table.

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