Skip to content

feat(tf): infracost finops cloud cost estimation and reporting #90

Closed

Description

@dan-petty

Problem Statement

Infrastructure-as-code deployments currently lack automated pre-apply cloud cost estimates, budget threshold validation, and FinOps reporting across OpenTofu configurations.

Proposed Changes

  1. Integrate Infracost CLI adapter under devops tf cost breakdown and devops tf cost diff.
  2. Support budget threshold assertions (--max-monthly-cost) to fail CI pipelines on excessive cost regressions.
  3. Expose FastMCP tool tf_cost_estimate and system resource resource://tf/cost/latest.

Acceptance Criteria

  • devops tf cost outputs formatted Rich tables and JSON output.
  • Offline mock mode for offline CI and test suites.
  • Code coverage >= 90%.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions