resource "ibm_network_public_ip" "${myResourceName}" {
routes_to = "${ibm_compute_vm_instance.myResourceName.ipv4_address}"
notes = "public ip notes"
}
ibm_network_public_ip
Terraform snippetsThis 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
0 Comments
Add Comment
Log in to add a comment