Updating the docs for Instances

This commit is contained in:
tombuildsstuff 2017-04-07 13:07:21 +01:00
parent 8a5379479a
commit 82e57870bb
1 changed files with 16 additions and 16 deletions

View File

@ -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