Vantage v0.0.3 published on Wednesday, Jan 31, 2024 by lbrlabs
Vantage: Installation & Configuration
Installation
The Pulumi Vantage provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@lbrlabs/pulumi-vantage
- Python:
lbrlabs_pulumi_vantage
- Go:
github.com/lbrlabs/pulumi-vantage/sdk/go/vantage
- .NET:
Lbrlabs.PulumiPackage.vantage
Provider Binary
The Vantage provider binary is a third party binary. It can be installed using the pulumi plugin
command.
pulumi plugin install resource vantage <version> --server github://api.github.com/lbrlabs
Replace the version string with your desired version.
Setup
To provision resources with the Pulumi Vantage provider, you need to have Vrafana credentials.
Set environment variables
Once you have provisioned these credentials, you can set environment variables to provision resources in Vantage:
$ export export VANTAGE_API_TOKEN="vntg_tkn_xxxxx"
$ export VANTAGE_API_HOST="https://api.vantage.sh"
$ export export VANTAGE_API_TOKEN="vntg_tkn_xxxxx"
$ export VANTAGE_API_HOST="https://api.vantage.sh"
> $env:VANTAGE_API_TOKEN = "vntg_tkn_xxxxx"
> $env:VANTAGE_API_HOST = "https://api.vantage.sh"
Configuration Options
Use pulumi config set vantage:<option>
or pass options to the constructor of new vantage.Provider
.