In Part 01 of this guide, we configured local keys, exported shell variables, created an offline provider mirror, and established our remote state bucket.
Now in Part 02, we build the foundation of our cloud environment in ~/oci-infra/shared/. This shared architecture layer provisions the core Virtual Cloud Network (VCN), internet gateway, public subnet, security rules, standard Object Storage bucket, and S3-compatible remote state backend configuration [cite: 2, 3].
1. Provider Configuration (provider.tf)
Defines the required Terraform engine and provider versions [cite: 5], along with authentication credentials passed via shell environment variables [cite: 5, 6].
terraform {






