- Terraform: shirasakaren/biznetgio-example-terraform
- Pulumi: shirasakaren/biznetgio-example-pulumi
What’s inside
Six examples, one per Biznet GIO product line plus one “complete” stack, so you can start from the smallest, cheapest thing and grow:
In the Terraform repo each example is a folder with
versions.tf, variables.tf, main.tf, outputs.tf, and a terraform.tfvars.example to copy. In the Pulumi repo each example exists once per language, under typescript/, python/, go/, dotnet/, java/, and yaml/, so you can compare the same resource across languages.
Run one yourself
Terraform, from the quickstart you already know:typescript for python, go, dotnet, java, or yaml to see the same example in another language. YAML needs no install step at all; each folder is an independent Pulumi project, so one stack never affects another.
Use it as a template
These repos are meant to be copied, not just run:- Pick the example and language closest to what you’re building, or start from
complete/for the reusable module/component pattern. - Copy that folder into your own repository.
- Rename resources, change product IDs, and delete what you don’t need.
- Reuse the comments as your own documentation, they explain the why as well as the what.
.id is always a string, and the GPU keypair exposes only id, not a separate keypairId. The examples handle both correctly and comment where they do.
The CI/CD inside them
Both repos ship a.github/workflows/ci.yml that runs on manual dispatch only, never on push, on purpose. Open the Actions tab and pick:
The default action only formats, type-checks, and validates, no credentials needed, so it is safe to run on a fresh clone. The credential-requiring actions read
BIZNETGIO_API_KEY (plus EXAMPLE_CONSOLE_PASSWORD in the Terraform repo and PULUMI_ACCESS_TOKEN in the Pulumi repo) from repository secrets, and apply/up/destroy place real orders, so pick those deliberately.
That workflow is the CI/CD tutorial in real form. Read that page to understand what each step does, then use it as the starting point for your own pipeline.
Contributing to these repos
Both repos accept contributions and are built to teach. The Contribute section covers the conventions (bilingual comments, cost safety defaults, version pinning), the commit and PR templates, the CODEOWNERS file, and the pipelines line by line, with step-by-step walkthroughs for adding new examples.Next steps
- Capstone: a production stack on Biznet GIO - what you just ran, reasoned about end to end as a real deployment