Skip to content

infracost/zed-infracost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages