A Zed extension that provides cloud cost estimates and FinOps policy checks for Terraform files, powered by Infracost.
- Inline cloud cost estimates for Terraform resources
- FinOps policy violation detection
- Automatic installation and updates of the Infracost language server
- Clone this repository:
git clone https://github.com/infracost/zed-infracost.git
- Open Zed
- Go to Extensions (Cmd+Shift+X)
- Click Install Dev Extension
- Select the cloned
zed-infracostdirectory
The extension automatically downloads the Infracost language server on first use. If infracost-ls is already on your PATH, it will use that instead.
- Zed editor
- Internet connection (for the initial language server download)
- macOS (Apple Silicon and Intel)
- Linux (ARM64 and AMD64)
- Windows (AMD64)
- Rust toolchain
- WebAssembly target:
rustup target add wasm32-wasip1
cargo build --target wasm32-wasip1 --releasecargo fmt --check
cargo clippy --target wasm32-wasip1 -- -D warningsSee LICENSE for details.