Skip to content

Instantly share code, notes, and snippets.

@scross01
Last active January 5, 2018 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scross01/3e3a81dff9ae8eaf529c2582b4171075 to your computer and use it in GitHub Desktop.
Save scross01/3e3a81dff9ae8eaf529c2582b4171075 to your computer and use it in GitHub Desktop.
Terraform and Oracle Cloud Infrastructure Classic Orchestrations
{
"name": "/Compute-mydomain/user@example/example-instance-orchestraion",
"description": "Example Instance Orchesrtation",
"desired_state": "active",
"objects":
[
{
"label": "MyInstance",
"type": "Instance",
"description": "My instance",
"template":
{
"shape": "oc3",
"boot_order": [1],
"label": "vm-1",
"networking": {
"eth0": {
"seclists": ["/Compute-mydomain/user@example.com/wlsadmin_seclist"],
"nat": "ipreservation:/Compute-mydomain/user@example.com/ipres1"
},
"eth1": {
"ipnetwork" : "/Compute-mydomain/user@example.com/ipnet-1",
"vnicsets" : ["/Compute-mydomain/user@example.com/vnicset1"]
}
},
"sshkeys": ["/Compute-mydomain/user@example.com/key1"],
"storage_attachments": [
{
"index": 1,
"volume": "/Compute-mydomain/user@example.com/boot"
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment