Skip to main content

Overview

SGCode connects to your cloud accounts, discovers every resource running there, and uses AI to generate Terraform or OpenTofu code that represents those resources — helping engineering teams increase IaC coverage without writing code from scratch.

The core loop is: discover resources, generate code, review it, create a pull request, and run a plan. Repeat to progressively bring unmanaged infrastructure under version control.

important

This feature is coming soon. Join the waitlist.

What SGCode does

Most organizations have a significant gap between the infrastructure running in their cloud accounts and the infrastructure they have code for. Resources get created manually, outside of any IaC pipeline, and over time the gap grows.

SGCode closes that gap by:

  • Scanning your cloud accounts — connecting to AWS and discovering every resource across your accounts, regardless of how it was created
  • Generating accurate IaC code — using AI to produce Terraform or OpenTofu code that reflects the real state of your infrastructure, including dependencies between resources
  • Integrating with your Git workflow — publishing generated code as pull requests to your existing repositories, so your team can review, approve, and merge it using the tools they already use
  • Tracking your progress — measuring IaC coverage as a percentage of your total resources, so you can demonstrate improvement over time

Key features

Cloud Inventory

A real-time inventory of all resources discovered across your connected cloud accounts. From here you select resources to codify, manage your cloud provider connections, link Terraform state backends, and access your code generation sessions. See Cloud Inventory.

Infra Projects

Each time you codify a set of resources, SGCode creates an Infra Project — a persistent code generation session. Each project tracks the resources codified, the generated code, and optionally the associated pull request and linked workflow. You can return to a project at any time to resume editing in the Code Workbench. See Infra Projects.

State Backends

Terraform state backends linked to Cloud Inventory. When you add a state backend, SGCode imports your existing Terraform state files and compares them against your discovered resources — showing you which resources already have code so you don't generate code for infrastructure that's already managed. This is what drives the Externally Managed and SG Managed resource status labels in Cloud Inventory. See State Backends.

Benchmarks

A unified dashboard to monitor and improve your organization's cloud infrastructure across three areas: Cost, Compliance, and Security. Benchmarks provides actionable insights into the overall health of your cloud environment, helping teams address inefficiencies, risks, and vulnerabilities. See Benchmarks.

Get started

If this is your first time using SGCode, see Getting started with SGCode for a step-by-step walkthrough of the full setup and your first codification.

If you're already set up, go to Cloud Inventory to start discovering and codifying resources.