How to Get the Latest OS Image in Oracle Cloud Infrastructure (OCI) using Terraform

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.

--

--

--

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Know the Difference Between JDK, JRE, And JVM

JuiceFS v0.16 is released, supporting TiKV metadata engine!

What is JVM (Java Virtual Machine)

Crodo VS PanCake Swap IFO: Battle Of Launchpads

The Terminal Jockey’s Toolbelt

Understanding and implementing consistent hash algorithm

Spiral Model | Spiral Model in Software Engineering

Clean code — Objects and Data Structures

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Guillermo Musumeci

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌

More from Medium

Deploy F5 HTTPS VIPs using Terraform and HashiCorp Vault PKI Secrets engine

Efficient Implementation of AWS Service Control Policies With Terraform

Terraform State Manipulation

How to Create Amazon DynamoDB Tables in AWS with Terraform