oracle-terraform-modules/compute-instance
Terraform module for creating Oracle Cloud Infrastructure compute instances.
About
Terraform module for creating Oracle Cloud Infrastructure compute instances.
Maintained by oracle-terraform-modules (verified publisher) on the Terraform Registry. Latest version 2.4.1, 278K downloads.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Accounts, projects or subscriptions vended with guardrails already in place.
- Compute and container platforms that teams can request from a catalog.
- Organization-wide controls applied through code with approvals.
Inputs
Required inputs:
compartment_ocid(string) — The OCID of the compartment where to create all resources.source_ocid(string) — The OCID of an image or a boot volume to use, depending on the value of source_type.subnet_ocids(list(string)) — The unique identifiers (OCIDs) of the subnets in which the instance primary VNICs are created.
The full list of inputs is on the registry page.
What it creates
See the resources tab on the registry.
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.