Infracost
Cloud cost estimates and FinOps policies for Terraform and CloudFormation
Language servers
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Infracost. The extension's id is infracost-ls.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
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
- 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.
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.