Launch a Compute Instance in OCI
In the "Code Editor" tab, open the main.tf
file.
Your task: Add a resource to launch a Compute Instance with an image OCID of ocid1.image.oc1..example
(Oracle Linux), shape VM.Standard.E2.1.Micro
, and associate it with the subnet defined in the VCN.
GitOps Repository
- 📁 /root/learn-terraform-oci-compute
- 📄 provider.tf
- 📄 vcn.tf
- 📄 main.tf