shivam@portfolio: ~/projects/multi-cloud-iac
…

shivam@portfolio:~$ cat README.md

cd .. # All projects

// 2026 Β· Solo β€” design and build Β· Featured

Multi-cloud Infrastructure as Code

Terraform monorepo with isolated state per provider, a single Makefile entry point and remote state in OCI Object Storage.

TerraformOCIAWSCloudflareGitHub

shivam@portfolio:~$ cat facts.yml

# At a glance

role :
Solo β€” design and build
when :
Aug 2026 – Present
context:
Personal project
stack :
Terraform Β· OCI Β· AWS Β· Cloudflare Β· GitHub
  • One state file per provider, so any provider can be planned, applied or destroyed on its own.
  • Placed workloads across five providers' free tiers after verifying limits in provider docs; runs at $0/month.

shivam@portfolio:~$ cat the-story.md

# The story

Why I rebuilt it

My earlier setup kept every provider in one Terraform state, and the bucket holding that state was created by the same Terraform. Destroying one thing meant destroying the backend that held it, halfway through a run.

What I built

One repository and one command interface, but one state file per provider: Oracle Cloud, AWS, Cloudflare and GitHub. Any provider can be planned, applied or destroyed on its own without touching the others.

make help: one Makefile drives every stack

  • make bootstrap is a script, not Terraform. Terraform cannot create the bucket that holds its own state, so one small manual step removes that cycle for good.
  • make verify checks every provider credential in a couple of seconds, because an expired token otherwise shows up as a confusing Terraform error.
  • make retry keeps applying a stack until free-tier capacity frees up, and make retry-status shows how far it got.
  • No secrets in the repository. Each provider authenticates the way its own tooling expects, and terraform.tfvars is never committed; examples carry the shape, not the values.

Status

The scaffolding is complete and every stack initialises. Resources are being written stack by stack; the rules below keep it from drifting into the old coupling.

shivam@portfolio:~$ ls -la

shivam@portfolio:~$ ls -la

$_

Achievements

Level 1 Β· Visitor Β· 0 XP β€”

Save your progress

Sign in to keep your points on every device and spend coins to unlock themes and colour palettes. Everything you earned as a guest comes with you.

Loading sign-in options…

We store the name and email address your provider shares, to save your progress. Shivam Sharma may use your email to get in touch. You can delete your account at any time from this window. Privacy

Shop