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
Features
The CloudZero CostFormation Toolkit provides:
Full Structural and Semantic Linting of CloudZero CostFormation YAML Syntax
Inline Source Completion: IntelliSense populates with real Dimension source values like K8s Labels and AWS Tags
Full CloudZero CostFormation Validation: Server validation of all CloudZero CostFormation language constructs and source usage
Publish CloudZero CostFormation: Publish CloudZero CostFormation definition version for use in rest of CloudZero platform
Detect and resolve conflicts: Confirms that published CostFormation is based on the latest server version and drops into merge editor if it detects drift
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.
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
Run CloudZero: Authenticate from the Command Palette to sign in
Click the CloudZero icon in the Activity Bar to open the sidebar
In the Organization view, verify you're in the correct organization
In the Namespaces view, expand a namespace to see its definition file
Right-click the definition file for actions:
Download CostFormation - download to edit locally
Restore Older CostFormation - revert to a previous version
Edit the downloaded .cz.yaml file with snippet and validation support
Save to trigger full semantic validation
Run CloudZero: Publish CostFormation from the Command Palette to publish changes
Using the Command Palette
CloudZero: Authenticate - opens browser window for authentication
CloudZero: Download CostFormation - select a namespace and download the latest version
Edit the .cz.yaml file with snippet and validation support
Save to trigger full semantic validation including Source and Streams validation
CloudZero: Publish CostFormation - publish changes (detects conflicts and opens diff editor if needed)
CloudZero: Restore Older CostFormation - restore an older version to revert updates
Namespace Management
Manage namespaces from the Command Palette or sidebar context menus:
CloudZero Namespaces: New Namespace - Create a new User:* namespace