How to Get the Latest OS Image in Oracle Cloud Infrastructure (OCI) using Terraform
8 min readNov 18, 2019
When we need to deploy a virtual machine or bare metal instance in OCI, we will need to get the OCID of the image based on the OCI region and operating system version.
We can achieve this by visiting https://docs.cloud.oracle.com/iaas/images/ page and browse for our preferred operating system.