Skip to content

Home / Integrations / GitHub and Terraform

Platform guide

Keep every Azure optimization inside your own Git repo and CI runner.

Never drift from Infrastructure as Code. Run the read-only scanner inside your own GitHub Actions workflow and apply approved savings through reviewed Terraform or Bicep pull requests.

Built for GitOps and platform engineering teams

Bring-Your-Own-Runner Nightly Sweeps

Drop .github/workflows/trimline-nightly.yml, or build the trimline-runner container from the kit, to run scheduled scans inside your own CI perimeter with your own read-only identity.

Clean Terraform and Bicep Pull Requests

Instead of ClickOps drift that breaks terraform plan tomorrow, Trimline outputs IaC diffs scoped to the resource IDs you checked.

Pre-Built Rollback Commits and Dry Runs

Every fix pairs with an inspectable rollback script or revert diff, defaulting to --dry-run before any deletion or resize.

Verification Before Execution

Audit the read-only allowlist (bash scan.sh --check) and the published SHA-256 checksum before you merge a line. The public scanner repository is being prepared for release.

How GitOps FinOps runs on autopilot

  1. 01

    Drop one workflow file

    Add the read-only trimline-nightly.yml with Workload Identity Federation (OIDC). Zero long-lived Azure client secrets in GitHub.

  2. 02

    Catch drift every night

    Daily checks flag new unattached disks, untagged prod resources, and spend spikes over 20% above your 14-day median.

  3. 03

    Merge approved PRs on your schedule

    Engineers review diffs with 30-day P95 evidence, approve in GitHub, Slack, or Teams, and deploy inside normal release windows.

Start in Dev/Test First. Connect non-production subscriptions first for 14 days to prove savings and rollbacks with zero production risk.

  • OIDCZero long-lived secrets stored in GitHub
  • --dry-runDefault before any deletion or resize
  • SHA-256Published checksum for scan.sh

See what Trimline finds in your Azure bill.

Run Free Audit ↗