diff --git a/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown b/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown index a502d3016..881045b42 100644 --- a/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown +++ b/website/source/docs/providers/opc/r/opc_compute_instance.html.markdown @@ -19,36 +19,36 @@ on your instance resources as an extra safety measure. ## Example Usage ``` +resource "opc_compute_ip_network" "test" { + name = "internal-network" + description = "Terraform Provisioned Internal Network" + ip_address_prefix = "10.0.1.0/24" + public_napt_enabled = false +} + resource "opc_compute_storage_volume" "test" { name = "internal" size = 100 } resource "opc_compute_instance" "test" { - name = "instance1" - label = "Terraform Provisioned Instance" - shape = "oc3" - image_list = "/oracle/public/oel_6.7_apaas_16.4.5_1610211300" + name = "instance1" + label = "Terraform Provisioned Instance" + shape = "oc3" + image_list = "/oracle/public/oel_6.7_apaas_16.4.5_1610211300" - storage { - volume = "${opc_compute_storage_volume.test.name}" - index = 1 - } + storage { + volume = "${opc_compute_storage_volume.test.name}" + index = 1 + } networking_info { index = 0 - model = "e1000" nat = ["ippool:/oracle/public/ippool"] shared_network = true } - - networking_info { - index = 1 - ip_network = "${opc_compute_ip_network.foo.id}" - vnic = "testing-vnic-name" - shared_network = false - } } + ``` ## Argument Reference