Skip to content

Type to search extensions

Infracost

v0.1.0

Cloud cost estimates and FinOps policies for Terraform and CloudFormation

Updated 5 months ago
86 downloads 0 stars Repository ↗

Infracost for Zed

A Zed extension that provides cloud cost estimates and FinOps policy checks for Terraform files, powered by Infracost.

Features

  • Inline cloud cost estimates for Terraform resources
  • FinOps policy violation detection
  • Automatic installation and updates of the Infracost language server

Installation

  1. Clone this repository:
    git clone https://github.com/infracost/zed-infracost.git
  2. Open Zed
  3. Go to Extensions (Cmd+Shift+X)
  4. Click Install Dev Extension
  5. Select the cloned zed-infracost directory

The extension automatically downloads the Infracost language server on first use. If infracost-ls is already on your PATH, it will use that instead.

Requirements

  • Zed editor
  • Internet connection (for the initial language server download)

Supported Platforms

  • macOS (Apple Silicon and Intel)
  • Linux (ARM64 and AMD64)
  • Windows (AMD64)

Development

Prerequisites

  • Rust toolchain
  • WebAssembly target: rustup target add wasm32-wasip1

Building

cargo build --target wasm32-wasip1 --release

Linting

cargo fmt --check
cargo clippy --target wasm32-wasip1 -- -D warnings

License

See LICENSE for details.

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated