mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-12 16:00:25 -04:00
823 B
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