# Infrastructure-as-code history as AI training data

Canonical: https://refer.sourcex.si/data-types/infrastructure-as-code-training-data
Last updated: 2026-11-27

Infrastructure-as-code history is valuable AI training data when it pairs Terraform-style changes with review comments and incident links. MSPs can check whether their own repositories, not client environments, qualify, then introduce the company to SourceX, which handles rights review, redaction requirements, SourceX review and delivery.

## What infrastructure-as-code history is, and why AI builders want it

Infrastructure-as-code (IaC) history is the version-controlled record of how a company's cloud environments were defined and changed: Terraform modules, plan outputs, pull requests, review comments and the incident tickets that triggered fixes. For AI labs and data users building DevOps and coding agents, it shows real infrastructure changes with human review and known outcomes.

A repository with five years of commits does more than hold configuration. It shows why a security group was tightened, who objected to a module refactor, and which change was rolled back after an outage. That chain of proposal, review, apply and consequence is the kind of multi-step work that agent builders cannot find on the public web, where published examples are mostly sanitized and rarely show review, objection and rollback.

For a managed service provider (MSP), the useful point is who owns the repository. Your own internal repositories, which define your platform, tooling and internal environments, may qualify. Repositories that describe a client's environment belong to the client and are a different conversation.

## Whose repositories can be licensed?

Ownership decides everything here. The table separates the cases an MSP principal meets most often.

| Repository type | Who usually holds the rights | First question to ask |
|---|---|---|
| MSP's internal platform, tooling and landing-zone modules | The MSP | Were they written by employees, or by contractors with unclear assignment terms? |
| Per-client environment repositories | Usually the client, depending on the services agreement | Does the contract allow any use beyond delivering the service? |
| Shared module libraries built from open-source modules | Mixed: open-source licenses plus your own changes | Which parts are original work and which are copied upstream? |
| A software company's own product infrastructure | That software company | Who signs for the company, and are contractors involved? |

Client-environment repositories are the red flag. If the agreement does not clearly give you the right to license them, treat them as out of scope. SourceX reviews rights before anything moves forward, and a clean answer on ownership early saves everyone time.

## What makes IaC records valuable, and what gets removed

Value comes from connection and outcomes, not volume. Three layers matter most.

- **Change history:** commit messages, pull request threads, approvals and requested changes that explain intent.
- **Incident links:** references from a change to the ticket, alert or postmortem that caused it, which supply the problem and the verified fix.
- **Environment progression:** how a configuration moved from development to staging to production, including reverts.

Secrets, account identifiers, internal hostnames and client environment details are stripped or redacted before any delivery, and the requirements are agreed with the company before work begins. A partner never touches any of it. You only describe, at a high level, whether such records exist. The [exception handling records guide](/guides/exception-handling-ai-agents-data) explains why the failed and reverted changes are often the most prized part.

## The IaC fit checklist for an MSP or DevOps consultancy

Run these questions on your own firm or on a software company you support. A clear no on any item means park it.

- [ ] **Employees:** 50+ full-time employees at peak, contractors excluded. A company with 20 to 49 is reviewed individually, and a company under 20 may still be eligible when it has source code, CAD files, audio, video or a game to license.
- [ ] **History:** several years of commits, not a repository recreated last quarter.
- [ ] **Review trail:** pull requests carry real review comments, not only auto-merges.
- [ ] **Incident links:** changes reference tickets or incident records in a ticketing system.
- [ ] **Rights:** the company wrote the code and holds assignment from every contributor.
- [ ] **Export:** someone can export history from the Git host and the ticketing system.
- [ ] **Sponsor:** an owner, CEO, CFO or authorized representative can consider an exclusive AI-training license.

The [data inventory builder](/tools/data-inventory-builder) helps list these systems by name without describing any contents.

## How an MSP can start the conversation

Raise it where infrastructure records already come up: a platform migration, a tooling consolidation, a sale process, or a client asking what happens to old repositories.

> "We keep years of infrastructure change history with reviews and incident links. Some AI developers license that kind of record. If it fits, would you want a short, non-binding introduction? No data is shared by me, and nothing is binding until you sign."

The same approach works for the software companies you support. Related records at those clients include [legacy code migration records](/data-types/legacy-code-modernization-data-ai) and [after-call work notes](/data-types/after-call-work-notes) on the support side, so one conversation may surface more than one dataset.

## How the introduction works

1. You introduce the company through the referral form or your referral link.
2. SourceX qualifies it on size, history, data breadth and rights.
3. The company completes a data inventory, and its team, not you, names systems and date ranges.
4. Price and terms are agreed. Companies receive one net payout from SourceX.
5. SourceX review, and typically respond within about two weeks once the company is deal-ready.
6. If the deal closes, data is delivered after an executed agreement and the company's authorization, and the company is paid.
7. A reward becomes payable after SourceX has paid the referred company under its signed agreement and the payout conditions in the program terms are met, including finance approval and your tax and payment details.

Companies keep ownership; the data is licensed, not sold. See [who qualifies](/who-qualifies) for the full baseline.

## How rewards work

A reward becomes payable after SourceX has paid the referred company under its signed agreement and the payout conditions in the program terms are met, including finance approval and your tax and payment details. The reward rate is the greater of $50,000 plus 5% and 15% of Actual Supplier Payout. There is no cap per referred company. The reward is calculated on the actual supplier payout and is never deducted from what the company receives. A lead, meeting or signed agreement alone does not trigger payment, and no reward is guaranteed. Anyone can join from any country; the signed agreement and the published terms govern the details.

## When not to bother

Skip the introduction if the repositories are mostly client-owned, the company has under 50 full-time employees at peak, the code was largely generated by AI to create sellable records, or nobody can export the history. Skip it too if the owner will not consider an exclusive license.

## Next step

If your firm or a client fits the checklist, [register as a partner](/register) and send the introduction. A software company can also apply directly at [sourcex.si/apply](https://sourcex.si/apply). For more on your channel, see [referral opportunities for managed service providers](/for/managed-service-providers).
