0
1
llucycodes42
This code creates a resource called "ibm_network_public_ip" and sets its IP address as the routes_to value. The notes field is set to contain text that will be displayed in the public-IP details section of the IBM Cloud Dashboard.
Shortcut: tf_ibm_network_public_ip
resource "ibm_network_public_ip" "${myResourceName}" {
routes_to = "${ibm_compute_vm_instance.myResourceName.ipv4_address}"
notes = "public ip notes"
}