Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Vantage Dashboard Replicator

Overview

Dashboard Replicator Demo

The Vantage Dashboard Replicator is a Python script that enables you to replicate an entire Vantage dashboard, including all its underlying reports (e.g., Cost Reports, Resource Reports, etc.), across different workspaces. You can clone dashboards:

  • Within the same Vantage account (to a different workspace)
  • Between different Vantage accounts (ideal for teams managing multiple orgs)

This tool is particularly useful for teams using FinOps-as-Code, enabling consistent dashboard and report structures across environments (e.g., production vs staging accounts, or across business units).

Requirements

  • Python 3.7+
  • requests library (for Vantage API calls)
  • simple-term-menu library (for the interactive terminal menus)
  • Valid Vantage API tokens for source and target workspaces

Install dependencies:

pip install requests simple-term-menu

Setup

  1. Clone this repo:
git clone https://github.com/vantage-sh/finops-as-code.git
cd finops-as-code/python/dashboard-replicator
  1. Create an API key for all Vantage Accounts you are looking to utilize for copying. You can create these in the Vantage web UI.

Usage

Run the script with:

python vantage_dashboard_replicator.py

The script will:

  1. Authenticate against the Vantage API using the source and target API keys.
  2. Fetch the specified dashboard and all its associated reports from the source workspace.
  3. Recreate the reports in the target workspace.
  4. Rebuild a new dashboard in the target workspace using the cloned reports.

Notes & Limitations

  • Saved Filters attached to Cost Reports are not recreated in the destination workspace; reattach them manually after cloning
  • Tags and linked entities (e.g., saved filters) may require manual verification after cloning.
  • Rate limits on the Vantage API may apply for very large dashboards.

Support

For help, reach out to support@vantage.sh or open an issue in the GitHub repo.