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
        • scan
        • discover
        • config
        • rules list
        • completion
        • estimate
      • Overview
      • Installation
      • Configuration
      • GitHub Action
      • MCP Plugin
      • VS Code Extension
        • scan
        • discover
        • config
        • rules list
        • completion
        • estimate
    CloudBurn CLI

    cloudburn config

    Create or inspect CloudBurn configuration files with the config command. Generate a starter .cloudburn.yml, print the current config, or view the template.

    Synopsis

    cloudburn config --init [--path <path>]
    cloudburn config --print [--path <path>]
    cloudburn config --print-template
    

    Description

    Manages CloudBurn configuration files. You must pass exactly one of --init, --print, or --print-template.

    • --init creates a starter .cloudburn.yml at your git root (or at --path if specified). If a config file already exists, the command exits with an error.
    • --print outputs the current config file to stdout. Without --path, it walks up the directory tree toward the git root looking for .cloudburn.yml or .cloudburn.yaml.
    • --print-template outputs the built-in starter template to stdout without touching the filesystem.

    --print and --print-template write raw YAML by default. Passing the global --format wraps that YAML in a document envelope instead: cloudburn --format json config --print returns { "content": "...", "contentType": "application/yaml" }, and --format table renders the same two fields as a table.

    Flags

    FlagTypeDefaultDescription
    --initbooleanfalseCreate a starter config file
    --printbooleanfalsePrint the current config file to stdout
    --print-templatebooleanfalsePrint the built-in starter template to stdout
    --path <path>stringExplicit file path for --init or --print. Not valid with --print-template.

    Starter template

    Running cloudburn config --init creates the following file:

    # Static IaC scan configuration.
    # enabled-rules replaces the AWS Core preset with only the listed rule IDs.
    # It can also activate opt-in rules that are not in AWS Core.
    # disabled-rules removes specific rule IDs from the selected set.
    # services restricts scans to rules for the listed services.
    # format sets the default output format when --format is not passed.
    # fail-on gates CI on findings at or above high, medium, or low severity.
    iac:
      enabled-rules:
        - CLDBRN-AWS-EBS-1
      disabled-rules:
        - CLDBRN-AWS-EC2-2
      services:
        - ebs
        - ec2
      format: table
      # fail-on: high
    
    # Live AWS discovery configuration.
    # Use the same rule controls here to tune discover runs separately from IaC scans.
    discovery:
      enabled-rules:
        - CLDBRN-AWS-EBS-1
      disabled-rules:
        - CLDBRN-AWS-S3-1
      services:
        - ebs
        - s3
      format: json
      # fail-on: high
    

    CloudBurn does not implicitly trust repository config in CI. Pass the exact file explicitly when you want CI to use its rule selection, output defaults, or severity gate:

    cloudburn scan ./iac --config .cloudburn.yml
    cloudburn discover --config .cloudburn.yml
    

    Examples

    Create a config file at your git root:

    cloudburn config --init
    

    Create a config file at a specific path:

    cloudburn config --init --path ./my-project/.cloudburn.yml
    

    Print the current config:

    cloudburn config --print
    

    Preview the starter template without writing a file:

    cloudburn config --print-template
    

    What's next

    ConfigurationFull reference for all config keys
    cloudburn rules listFind rule IDs to use in enabled-rules
    Quickstart: Scan IaC FilesRun your first scan with the config
    ← PreviousdiscoverNext →rules list

    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.