You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such a route table can come handy to attach to a subnet which I am not sure if I want to open to public internet or not.
baremetal_core_route_table does not allow me to create such a route table, I can create one from console though.
In case I define route table as:
resource "baremetal_core_route_table" "tts_tf_apps_routetable" {
compartment_id = "${var.compartment_ocid}"
vcn_id = "${baremetal_core_virtual_network.tts_tf_vcn.id}"
display_name = "tts_tf_routetable"
}
It errors:
baremetal_core_route_table.tts_tf_apps_routetable: "route_rules": required field is not set
If I define route table as it crashes and creates a crash.log
resource "baremetal_core_route_table" "tts_tf_apps_routetable" {
compartment_id = "${var.compartment_ocid}"
vcn_id = "${baremetal_core_virtual_network.tts_tf_vcn.id}"
display_name = "tts_tf_routetable"
route_rules {}
}
The text was updated successfully, but these errors were encountered:
Based on how this resources is consuming route_rule blocks what we need to support is complete omission of a block resulting in an empty array being posted in the create/update call--both already supported by the api.
Want to create a route table with 0 route rule.
Such a route table can come handy to attach to a subnet which I am not sure if I want to open to public internet or not.
baremetal_core_route_table does not allow me to create such a route table, I can create one from console though.
In case I define route table as:
resource "baremetal_core_route_table" "tts_tf_apps_routetable" {
compartment_id = "${var.compartment_ocid}"
vcn_id = "${baremetal_core_virtual_network.tts_tf_vcn.id}"
display_name = "tts_tf_routetable"
}
It errors:
If I define route table as it crashes and creates a crash.log
resource "baremetal_core_route_table" "tts_tf_apps_routetable" {
compartment_id = "${var.compartment_ocid}"
vcn_id = "${baremetal_core_virtual_network.tts_tf_vcn.id}"
display_name = "tts_tf_routetable"
route_rules {}
}
The text was updated successfully, but these errors were encountered: