Skip to main content

GitHub Integration Overview

The GitHub integration connects frugally.app to your Infrastructure-as-Code repositories. It scans pull requests for cost impact, detects drift between IaC definitions and live AWS resources, and tracks infrastructure authorship for cost attribution.


Capabilities

FeatureDescription
InstallationInstall and configure the GitHub App for your organisation
IaC ScanningScan PRs for Terraform, CloudFormation, CDK, Pulumi, and OpenTofu changes with cost-impact analysis
Drift DetectionCompare IaC definitions against live AWS state and alert on mismatches
PR Review & AuthorshipAutomated cost-impact comments on PRs and infrastructure change tracking

Supported IaC frameworks

FrameworkFile patternsNotes
Terraform*.tf, *.tf.jsonHCL and JSON formats
CloudFormation*.yaml, *.yml, *.json (with AWSTemplateFormatVersion)YAML and JSON templates
AWS CDKcdk.out/**/*.template.jsonSynthesised CloudFormation templates
PulumiPulumi.yaml, *.ts, *.py, *.goPulumi project files
OpenTofu*.tf, *.tf.jsonSame syntax as Terraform

Prerequisites

  • GitHub organisation admin access (to approve the App installation)
  • At least one repository containing IaC files
  • A frugally.app account with Admin or Owner role

For initial setup, see Getting Started — Connecting GitHub.


Required GitHub App permissions

The frugally.app GitHub App requests:

PermissionAccessPurpose
Repository contentsReadRead IaC files for scanning and drift detection
Pull requestsRead & WritePost cost-impact comments on PRs
IssuesReadReference issues linked to infrastructure changes
ChecksRead & WriteReport scan results as GitHub check runs
MetadataReadAccess repository metadata
note

frugally.app only accesses the repositories you grant it access to during installation. It does not read source code unrelated to infrastructure definitions.


What GitHub can and cannot do

Can do

  • Scan IaC files in PRs for cost impact
  • Detect drift between IaC and live AWS state
  • Post automated review comments with cost estimates
  • Track who changed infrastructure and when
  • Report results as GitHub check runs

Cannot do

  • Modify repository contents or merge PRs
  • Access source code unrelated to IaC files
  • Create, edit, or delete frugally.app resources (Connections, Targets, Schedules)
  • Manage billing, team members, or settings

All management is done on the web dashboard.