
0 of 6 available lessons
OCI Kubernetes Engine with Terraform/OpenTofu (2025 Edition)
MODULE 02: LESSON1 - CREATE OKE BASIC CLUSTER
Lesson1 - Hands-on - Code Review
0:00 / 6:001x
In this lesson, we will review the key Terraform files that define our Oracle Kubernetes Engine (OKE) Basic Cluster deployment and ensure proper authentication with Oracle Cloud Infrastructure (OCI) before applying our configuration using OpenTofu. We start with variables.tf, where we declare input variables such as tenancy OCID, user OCID, private key path, fingerprint, region, and compartment OCID to keep our configuration secure and reusable.
What you'll learn in this lesson
- How to create a baseline Azure Virtual Network with Terraform/OpenTofu.
- How CIDR ranges, subnet boundaries, and security defaults shape the platform contract.
- How to validate the first networking building block before adding workloads.