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).
- Python 3.7+
requestslibrary (for Vantage API calls)simple-term-menulibrary (for the interactive terminal menus)- Valid Vantage API tokens for source and target workspaces
Install dependencies:
pip install requests simple-term-menu- Clone this repo:
git clone https://github.com/vantage-sh/finops-as-code.git
cd finops-as-code/python/dashboard-replicator- Create an API key for all Vantage Accounts you are looking to utilize for copying. You can create these in the Vantage web UI.
Run the script with:
python vantage_dashboard_replicator.pyThe script will:
- Authenticate against the Vantage API using the source and target API keys.
- Fetch the specified dashboard and all its associated reports from the source workspace.
- Recreate the reports in the target workspace.
- Rebuild a new dashboard in the target workspace using the cloned reports.
- 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.
For help, reach out to support@vantage.sh or open an issue in the GitHub repo.