my-homelab-configs/bootstrap/oci
juvenal.diaz c06ef5e0b7 feat: add opt-in OCI foundation pipeline 2026-10-23 10:07:07 -06:00
..
README.md feat: add opt-in OCI foundation pipeline 2026-10-23 10:07:07 -06:00
main.tf feat: add opt-in OCI foundation pipeline 2026-10-23 10:07:07 -06:00
outputs.tf feat: add opt-in OCI foundation pipeline 2026-10-23 10:07:07 -06:00
variables.tf feat: add opt-in OCI foundation pipeline 2026-10-23 10:07:07 -06:00
versions.tf feat: add opt-in OCI foundation pipeline 2026-10-23 10:07:07 -06:00

README.md

OCI foundation

This independent, opt-in stack creates the OCI foundation for the learning environment: a child compartment (or uses an existing one), VCN, internet and NAT gateways, public/private subnets, NSGs, and separate edge and email VMs. It does not configure the operating systems, install a mail server, create DNS records, or open mail ingress unless open_mail_ports=true is explicitly set.

Credentials come from the standard OCI CLI configuration (~/.oci/config); private keys are not stored in the repository. Use ./jeannie oci-foundation plan first, inspect the plan, then apply from the Debian pipeline host.

At minimum, set LAB_OCI_FOUNDATION_ENABLED=true, LAB_OCI_REGION, LAB_OCI_TENANCY_ID, LAB_OCI_ADMIN_CIDR, LAB_OCI_SSH_PUBLIC_KEY, and the image and availability-domain variables for both VMs. Use LAB_OCI_CREATE_COMPARTMENT=false with LAB_OCI_COMPARTMENT_ID when the tenancy policy does not allow creating child compartments.