{"id":13564914,"url":"https://github.com/oracle/terraform-opc-compute-instance","last_synced_at":"2025-04-03T22:30:21.735Z","repository":{"id":66212461,"uuid":"101699658","full_name":"oracle/terraform-opc-compute-instance","owner":"oracle","description":"Terraform Module for creating Oracle Cloud Infrastructure OPC Compute instances","archived":true,"fork":false,"pushed_at":"2021-02-25T02:10:47.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-04T18:45:28.613Z","etag":null,"topics":["oci-classic","oracle-cloud","terraform","terraform-modules"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-29T00:16:41.000Z","updated_at":"2023-11-02T13:48:40.000Z","dependencies_parsed_at":"2023-02-21T23:16:01.667Z","dependency_job_id":null,"html_url":"https://github.com/oracle/terraform-opc-compute-instance","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fterraform-opc-compute-instance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fterraform-opc-compute-instance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fterraform-opc-compute-instance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle%2Fterraform-opc-compute-instance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle","download_url":"https://codeload.github.com/oracle/terraform-opc-compute-instance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247089591,"owners_count":20881799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oci-classic","oracle-cloud","terraform","terraform-modules"],"created_at":"2024-08-01T13:01:37.877Z","updated_at":"2025-04-03T22:30:21.502Z","avatar_url":"https://github.com/oracle.png","language":"HCL","funding_links":[],"categories":["HCL"],"sub_categories":[],"readme":"OCI Classic Compute Instance\n============================\n\nThis Terraform module creates a single Oracle Cloud Infrastructure **Classic** Compute (OPC) instance with a persistent block storage boot volume and a single network interface on either the Shared Network or an IP Network interface, with an optional Public IP address reservation.\n\nUsage\n-----\n\n### Persistent instance on IP Network\n\nIf an IP Network is provided the instance is created with interface on the ip network. Note that the Public IP Address reservation, if provided, must be an [`opc_compute_ip_address_reservation`](https://www.terraform.io/docs/providers/opc/r/opc_compute_ip_address_reservation.html)\n\n```tf\nmodule \"opc_instance_on_ip_network\" {\n  source           = \"oracle/compute-instance/opc\"\n  instance_name    = \"instance-on-ip-network\"\n  instance_shape   = \"oc3\"\n  ip_network       = \"${opc_compute_ip_network.ip-network.name}\"\n  ip_reservation   = \"${opc_compute_ip_address_reservation.ip-reservation.name}\"\n  search_domains   = [\"cloud.oracle.com\", \"oraclecloud.com\"]\n}\n\nresource \"opc_compute_ip_network\" \"ip-network\" {\n  name              = \"test-ip-network\"\n  ip_address_prefix = \"192.168.1.0/24\"\n}\n\nresource \"opc_compute_ip_address_reservation\" \"ip-reservation\" {\n  name            = \"test-ip-reservertion\"\n  ip_address_pool = \"public-ippool\"\n}\n```\n\n### Persistent instance on Shared Network\n\nIf no IP Network is provided the instance is created with the interface on the Shared Network. Note that the Public IP Address reservation, if provided, must be an [`opc_compute_ip_reservation`](https://www.terraform.io/docs/providers/opc/r/opc_compute_ip_reservation.html)\n\n```tf\nmodule \"opc_instance_on_shared_network\" {\n  source         = \"oracle/compute-instance/opc\"\n  instance_name  = \"instance-on-shared-network\"\n  instance_shape = \"oc3\"\n  ip_reservation = \"${opc_compute_ip_reservation.ip-reservation.name}\"\n  search_domains = [\"cloud.oracle.com\", \"oraclecloud.com\"]\n}\n\nresource \"opc_compute_ip_reservation\" \"ip-reservation\" {\n  parent_pool = \"/oracle/public/ippool\"\n  permanent   = true\n}\n```\n\nLicense\n-------\n\nLicensed under the [Universal Permissive License v 1.0](LICENSE.md)\n\nCopyright © 2017, 2021 Oracle and/or its affiliates. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fterraform-opc-compute-instance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle%2Fterraform-opc-compute-instance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle%2Fterraform-opc-compute-instance/lists"}