Optional Services
CapSign infrastructure includes several optional third-party services that enhance your workflow but aren't required for core functionality. Here's what they do and how much they cost.
๐ฐ Infracost - Cost Estimation
What it does:
Shows cost estimates for Terraform changes directly in pull requests
Helps prevent expensive infrastructure mistakes before deployment
Provides detailed cost breakdowns and monthly/annual projections
Tracks cost changes over time
Example output in PR:
๐ Monthly cost change for capsign/infrastructure
Amount: +$245 ($120 โ $365)
+ aws_rds_instance.production
+$180/month (db.r5.large)
+ aws_eks_node_group.workers
+$65/month (2x m5.large)
Pricing:
Free tier: Up to 1,000 runs per month
Paid tier: $1,000/month (includes 10 users, policies, reporting)
Perfect for: Teams wanting to control cloud costs proactively
Setup:
Free API Key: Run
infracost auth login
(no credit card required)Add secrets:
INFRACOST_API_KEY
+INFRACOST_ENABLED=true
Cost estimates appear in every PR automatically
๐ก๏ธ FOSSA - License Compliance
What it does:
Scans your dependencies for license compliance issues
Identifies security vulnerabilities in open source packages
Generates Software Bill of Materials (SBOM) for regulatory compliance
Tracks license changes over time
Example alerts:
โ ๏ธ GPL-3.0 license detected in production dependency
โ ๏ธ High severity vulnerability in [email protected]
โ
284 dependencies scanned, 2 issues found
Pricing:
Free tier: 5 projects, 10 developers, basic scanning
Business tier: $20/project/month (minimum $200/month)
Enterprise tier: Custom pricing for large organizations
Perfect for: Companies needing license compliance for legal/regulatory reasons
When you need it:
๐ข Enterprise customers requiring license compliance
โ๏ธ Legal requirements for open source tracking
๐ M&A due diligence requiring SBOM generation
๐ Regulatory compliance (e.g., medical devices, aerospace)
Setup:
Create account at fossa.com
Add secrets:
FOSSA_API_KEY
+FOSSA_ENABLED=true
License scanning runs automatically in CI/CD
๐ฏ Do You Need These Services?
โ
Start with these enabled:
Checkov (free security scanning)
AWS native security (free)
GitHub security features (free)
๐ Add Infracost if:
Your team frequently deploys expensive resources
You want to prevent cost surprises in production
FinOps/cost management is important to your organization
You're running multiple environments (dev/staging/prod)
๐ข Add FOSSA if:
You're an enterprise with legal compliance requirements
You need to track open source license obligations
You're preparing for audits or M&A due diligence
You have customers requiring SBOM documentation
๐ก Skip these if:
You're just getting started with infrastructure
You're a small team without compliance requirements
You prefer to manage costs and licenses manually
Budget is a primary concern
๐ง How to Enable/Disable
Enable a service:
# In repository settings โ Variables โ Actions
INFRACOST_ENABLED=true
FOSSA_ENABLED=true
# In repository settings โ Secrets โ Actions
INFRACOST_API_KEY=ico-xxx...
FOSSA_API_KEY=xxx...
Disable a service:
# Set to false or remove the variable
INFRACOST_ENABLED=false
FOSSA_ENABLED=false
# Remove the API key secret (optional)
Test before enabling:
# Test Infracost locally
infracost breakdown --path .
# Test FOSSA locally
fossa analyze && fossa test
๐ Free Alternatives
For Cost Management:
AWS Cost Explorer (free, but post-deployment)
Terraform plan output (basic resource counts)
Manual cost calculation (time-intensive)
AWS Pricing Calculator (manual)
For License Compliance:
GitHub Dependency Graph (basic vulnerability scanning)
Snyk (free tier available)
Manual license review (time-intensive)
SPDX tools (open source SBOM generation)
๐ Cost Comparison
Infracost
1K runs/month
$1K/month
$12,000
FOSSA
5 projects
$200+/month
$2,400+
Manual Process
$0
Engineer time
$20,000+
Note: While these services have subscription costs, they often save significantly more in prevented mistakes, compliance issues, and engineer time.
๐ Recommendation
For most teams starting out:
โ Enable: Core security scanning (free)
๐ Consider: Infracost if managing significant cloud spend
๐ข Evaluate: FOSSA if you have enterprise compliance needs
You can always add these services later as your needs grow!
Last updated
Was this helpful?