CloudBurn Logo
CloudBurnHome
  • Cost estimation

    • AWS Simple Pricing CalculatorEstimate your AWS stack
    • IaC Cost EstimatorReview costs before merge

    Cost analysis

    • AWS Cost TreeSee where your spend went

    Cost Optimization

    • Unused resourcesFind resources to remove
    • Resource efficiencyImprove what you keep
    • Commitment savingsReview plans and reservations
    • Cost GovernanceBudgets, alerts, and tags

    Product

    • RoadmapWhat's coming next
    • ChangelogProduct updates
    • DocsGuides and reference
    • AboutWhy CloudBurn exists
  • Pricing
  • Blog
  • Tools
Join the CloudBurn Discord community
Join the waitlistWaitlist
Join the CloudBurn Discord community1.8k
Navigation
    • Overview
    • Installation
    • Configuration
    • GitHub Action
    • MCP Plugin
    • VS Code Extension
      • Scan IaC Files
      • Discover AWS
      • scan
      • discover
      • config
      • rules list
      • completion
      • estimate
      • Exit Codes
      • Output Formats
      • CI/CD Integration
      • Resource Explorer Setup
    • Overview
    • Connect an AWS Account
    • Set Up PR Cost Estimation
    • Plans and Billing
    • Workspaces and Members
    • AWS Cost Tree
      • Usage Assumptions
      • Examples
      • Unused Resources
      • Resource Efficiency
      • Commitment Savings
      • Cost Governance
    • Overview
    • Understanding Rules
      • CloudFront
      • CloudTrail
      • CloudWatch
      • AWS Config
      • Cost Explorer
      • Cost Guardrails
      • Cost Optimization Hub
      • DynamoDB
      • EBS
      • EC2
      • ECR
      • ECS
      • EKS
      • ElastiCache
      • ELB
      • EMR
      • KMS
      • Lambda
      • RDS
      • Redshift
      • Route 53
      • S3
      • SageMaker
      • Secrets Manager
      • Tagging
    • Overview
    • Installation
      • Static IaC Scan
      • Discovery Scan
      • CloudBurnClient
      • Types
      • Package Exports
      • Custom Config
      • AWS Credentials
    • Overview
    • Installation
    • Configuration
    • GitHub Action
    • MCP Plugin
    • VS Code Extension
      • Scan IaC Files
      • Discover AWS
      • scan
      • discover
      • config
      • rules list
      • completion
      • estimate
      • Exit Codes
      • Output Formats
      • CI/CD Integration
      • Resource Explorer Setup
    • Overview
    • Connect an AWS Account
    • Set Up PR Cost Estimation
    • Plans and Billing
    • Workspaces and Members
    • AWS Cost Tree
      • Usage Assumptions
      • Examples
      • Unused Resources
      • Resource Efficiency
      • Commitment Savings
      • Cost Governance
    • Overview
    • Understanding Rules
      • CloudFront
      • CloudTrail
      • CloudWatch
      • AWS Config
      • Cost Explorer
      • Cost Guardrails
      • Cost Optimization Hub
      • DynamoDB
      • EBS
      • EC2
      • ECR
      • ECS
      • EKS
      • ElastiCache
      • ELB
      • EMR
      • KMS
      • Lambda
      • RDS
      • Redshift
      • Route 53
      • S3
      • SageMaker
      • Secrets Manager
      • Tagging
    • Overview
    • Installation
      • Static IaC Scan
      • Discovery Scan
      • CloudBurnClient
      • Types
      • Package Exports
      • Custom Config
      • AWS Credentials
Loading documentation page
CloudBurn Logo
CloudBurn

Open-source AWS cost checks and an upcoming platform for cost estimation, optimization, and governance.

1.8k

Product

  • Pricing
  • Roadmap
  • Changelog
  • About
  • Blog
  • Waitlist
  • Docs
  • Contact

Free Tools

  • EC2 Pricing Calculator
  • S3 Pricing Calculator
  • Bedrock Pricing Calculator
  • Fargate Pricing Calculator
  • RDS Pricing Calculator
  • ECS Pricing Calculator
  • Aurora Pricing Calculator
  • All AWS pricing calculators →

CloudBurn Platform · early 2027

Price changes before you deploy. Fix the waste after.

Join now for 30% off, for as long as you keep your plan.

Join the waitlist

Two emails a month at most. Unsubscribe anytime. By signing up you agree to the privacy policy.

CloudBurn © 2026 | Terms & Privacy

Built with ❤️ by Towards the Cloud

  • Pricing
  • Blog
  • Tools
      • Overview
      • Installation
      • Configuration
      • GitHub Action
      • MCP Plugin
      • VS Code Extension
      • Overview
      • Installation
      • Configuration
      • GitHub Action
      • MCP Plugin
      • VS Code Extension
    CloudBurn CLI

    Configuration

    Configure CloudBurn scans with a .cloudburn.yml file. Select cost optimization rules, filter AWS services, and set output formats for IaC and live scans.

    CloudBurn reads configuration from a .cloudburn.yml (or .cloudburn.yaml) file. Outside CI, scan and discover walk up the directory tree from your current working directory toward the git root looking for a config file. Other commands do not apply scan configuration. See CI environments for explicit config loading in CI.

    Generate a starter config

    cloudburn config --init
    

    This creates a .cloudburn.yml at your git root. See cloudburn config for details.

    Full config schema

    The config file has separate sections for iac (static scans) and discovery (live AWS scans). Both sections support the same keys.

    iac:
      enabled-rules:
        - CLDBRN-AWS-EBS-1
      disabled-rules:
        - CLDBRN-AWS-EC2-2
      services:
        - ebs
        - ec2
      format: table
      fail-on: high
    
    discovery:
      enabled-rules:
        - CLDBRN-AWS-EBS-1
      disabled-rules:
        - CLDBRN-AWS-S3-1
      services:
        - ebs
        - s3
      format: json
      fail-on: high
    

    Config keys

    KeyTypeDefaultDescription
    enabled-rulesstring[]AWS Core presetReplaces the AWS Core preset with only the listed rule IDs. Also the way to activate the opt-in rules that AWS Core excludes.
    disabled-rulesstring[]noneSkip these rule IDs from the selected set.
    servicesstring[]all servicesOnly run rules for these services (e.g. ebs, ec2, s3).
    format"table" or "json""table"Default output format for this scan type.
    fail-on"high", "medium", "low"noneExit with code 1 when an active finding meets or exceeds this severity. Equivalent to the --fail-on CLI flag.

    By default, CloudBurn runs the AWS Core preset. The preset excludes rules that need AWS-side setup; setting enabled-rules replaces the preset rather than merging with it. See Enabling and Disabling Rules for the opt-in rules and why each one is excluded.

    The opt-in rules are all discovery-only, so they belong in the discovery section. Config validation rejects them under iac.

    discovery:
      enabled-rules:
        - CLDBRN-AWS-COSTOPTIMIZATIONHUB-3
        - CLDBRN-AWS-LAMBDA-4
    

    Precedence

    CLI flags always take priority over config file values, which take priority over built-in defaults:

    CLI flags > config file > defaults
    

    For example, passing --format json on the command line overrides a format: table in your config file.

    Validation

    CloudBurn validates your config at startup and exits with an error if:

    • The same rule ID appears in both enabled-rules and disabled-rules
    • A rule ID in enabled-rules or disabled-rules does not exist
    • A rule ID does not support the scan mode it appears in (e.g. a discovery-only rule in the iac section)
    • A service name in services is not valid for that scan mode
    • format is set to a value other than table or json
    • fail-on is set to a value other than high, medium, or low
    • A key other than iac or discovery appears at the top level, or a key other than the five above appears inside one of them
    • Both .cloudburn.yml and .cloudburn.yaml exist in the same directory

    Flags with no config key

    The config file covers rule selection, output format, and the severity gate. These options are CLI flags only, so set them on each command:

    FlagApplies to
    --exit-codescan, discover
    --regiondiscover
    --timeoutdiscover
    --cache, --cache-dir, --cache-contextdiscover

    CI environments

    When the CI environment variable is set and truthy, CloudBurn skips implicit config file discovery and uses default values. This prevents unexpected config files in CI runners from affecting scan results. To use a config file in CI, pass it explicitly with --config.

    Environment variables

    Discovery reads a few process-level variables that have no flag or config key. They tune how independent CloudBurn processes running as the same OS user share AWS request quotas, and where that shared state lives.

    VariableEffect
    CIWhen truthy, skips implicit config file discovery (see CI environments).
    XDG_CACHE_HOMEBase directory for the evidence cache (cloudburn/evidence) and the shared request-admission state (cloudburn/aws-admission-v1). Defaults to ~/.cache.
    CLOUDBURN_AWS_ADMISSION_DIRWritable directory for the shared request-admission state, for containers or read-only home directories. When set, no fallback directory is used and state errors fail the run rather than bypassing coordination.
    CLOUDBURN_AWS_QUOTA_OVERRIDESJSON object of per-operation quota policies, for example {"logs:DescribeLogStreams":{"ratePerSecond":5,"burst":1}}. Discovery fails before collecting anything when the value is not a JSON object whose values are objects.

    Quotas are shared per signing AWS account, so discovery calls sts:GetCallerIdentity once per run. When that lookup fails, the run continues with isolated in-memory limits.

    What's next

    Quickstart: Scan IaC FilesUse your config in a real scan
    cloudburn scanAll flags for the scan command
    cloudburn rules listFind valid rule IDs to use in your config
    ← PreviousInstallationNext →GitHub Action

    CloudBurn Platform · early 2027

    Price changes before you deploy. Fix the waste after.

    Join now for 30% off, for as long as you keep your plan.

    Join the waitlist

    Two emails a month at most. Unsubscribe anytime. By signing up you agree to the privacy policy.