Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>CloudZero CostFormation ToolkitNew to Visual Studio Code? Get it now.
CloudZero CostFormation Toolkit

CloudZero CostFormation Toolkit

CloudZero

|
1,333 installs
| (5) | Free
Tools for authoring and publishing CloudZero CostFormation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CloudZero CostFormation Toolkit

CloudZero CostFormation transforms the way you think about Cloud Costs. You declare Business Relevant Dimensions based on your cost data, even in the absence of good tagging. This CloudZero CostFormation Toolkit enables you to quickly author and publish your CostFormation.

Walkthrough

Walkthrough of the extension

Features

The CloudZero CostFormation Toolkit provides:

  • Full Structural and Semantic Linting of CloudZero CostFormation YAML Syntax
  • Snippets for quickly inserting constructs from the CloudZero CostFormation language
  • Inline Source Completion: IntelliSense populates with real Dimension source values like K8s Labels and AWS Tags
  • Server Validation: Full CloudZero CostFormation validation of all language constructs and source usage
  • Namespace-based Workflows: Download, publish, and restore CostFormation definitions by namespace
  • Publish and Conflict Detection: Publish definitions and automatically detect drift with a built-in merge editor
  • TreeView Sidebar: Browse namespaces and definitions in the Activity Bar with click-to-download and Download All
  • Organization Switching: Switch between CloudZero organizations from the sidebar or command palette

CloudZero Sidebar

After authenticating, the CloudZero icon appears in the Activity Bar with two views:

  • Organization: Shows your current organization name and ID. Click to switch organizations if you have access to multiple.
  • Namespaces: Lists all your User:* namespaces and their definition files. Right-click items to access actions like download, restore, and delete. Use the Download All toolbar button to download every namespace's definitions at once.

The Namespaces view auto-refreshes when you save a tracked definition file locally.

Understanding Namespaces

Namespaces organize your CostFormation definitions:

  • User:Defined is the default namespace for global definitions (previously the only option)
  • Create custom namespaces (e.g., User:TeamA, User:ProjectX) to organize definitions by team, project, or any other grouping

Getting Started

Using the Sidebar

  1. Run CloudZero: Authenticate from the Command Palette to sign in
  2. Click the CloudZero icon in the Activity Bar to open the sidebar
  3. In the Organization view, verify you're in the correct organization
  4. In the Namespaces view, expand a namespace to see its definition file
  5. Right-click the definition file for actions:
    • Download CostFormation - download to edit locally
    • Restore Older CostFormation - revert to a previous version
    • Or use the Download All toolbar button to download every namespace at once
  6. Edit the downloaded .cz.yaml file with snippet and validation support
  7. Save to trigger full semantic validation
  8. Run CloudZero: Publish CostFormation from the Command Palette to publish changes

Using the Command Palette

  1. CloudZero: Authenticate - opens browser window for authentication
  2. CloudZero: Download CostFormation - select a namespace and download the latest version
  3. Edit the .cz.yaml file with snippet and validation support
  4. Save to trigger full semantic validation including Source and Streams validation
  5. CloudZero: Publish CostFormation - publish changes (detects conflicts and opens diff editor if needed)
  6. CloudZero: Restore Older CostFormation - restore an older version to revert updates
  7. CloudZero: Review CostFormation Changes Against CloudZero - compare local changes against the server version
  8. CloudZero: Log Out - sign out of CloudZero

Namespace Management

Manage namespaces from the Command Palette or sidebar context menus:

  • CloudZero Namespaces: New Namespace - Create a new User:* namespace
  • CloudZero Namespaces: View Namespace - View namespace details
  • CloudZero Namespaces: Browse All - List all namespaces
  • CloudZero Namespaces: Remove Namespace - Delete a namespace (User:Defined cannot be deleted)

Organization Switching

If you have access to multiple CloudZero organizations:

  • Click the organization in the sidebar, or
  • Run CloudZero: Switch Organization from the Command Palette

Documentation

  • Using CloudZero CostFormation VSCode Extension: https://docs.cloudzero.com/docs/vscode-costformation-extension
  • CloudZero CostFormation Reference: https://docs.cloudzero.com/docs/cost-format-definition-language
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft