» oci_core_route_table_attachment

This resource provides the ability to associate a route table for a subnet in Oracle Cloud Infrastructure Core service.

Attaches the specified route table to the specified subnet.

» Example Usage

resource "oci_core_route_table_attachment" "test_route_table_attachment" {
  subnet_id = "${oci_core_subnet.test_subnet.id}"
  route_table_id ="${oci_core_route_table.test_route_table.id}"

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported:

» Import

Route Table Attachment can be imported using the id, e.g.

$ terraform import oci_core_route_table_attachment.test_route_table_attachment "{subnetId}/{routeTableId}"