Viewing docs for vantage 0.3.8
published on Tuesday, May 19, 2026 by vantage-sh
published on Tuesday, May 19, 2026 by vantage-sh
Vantage Provider
I want to use the Pulumi vantage package (vantage) in my project.
## Provider details
- Package: vantage
- Version: 0.3.8
- Publisher: vantage-sh
- Source: opentofu
- Repository: https://github.com/vantage-sh/terraform-provider-vantage
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/opentofu/vantage-sh/vantage/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/opentofu/vantage-sh/vantage/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/opentofu/vantage-sh/vantage/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/opentofu/vantage-sh/vantage/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for vantage 0.3.8
published on Tuesday, May 19, 2026 by vantage-sh
published on Tuesday, May 19, 2026 by vantage-sh
Generate Provider
The Vantage provider must be installed as a Local Package by following the instructions for Any Terraform Provider:
pulumi package add terraform-provider vantage-sh/vantage
Example Usage
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: nodejs
config:
vantage:apiToken:
value: 'TODO: var.api_token'
import * as pulumi from "@pulumi/pulumi";
import * as vantage from "@pulumi/vantage";
const aws = new vantage.Folder("aws", {title: "AWS Costs"});
const awsCostReport = new vantage.CostReport("aws", {
folderToken: aws.token,
filter: "costs.provider = 'aws'",
title: "AWS Costs",
});
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: python
config:
vantage:apiToken:
value: 'TODO: var.api_token'
import pulumi
import pulumi_vantage as vantage
aws = vantage.Folder("aws", title="AWS Costs")
aws_cost_report = vantage.CostReport("aws",
folder_token=aws.token,
filter="costs.provider = 'aws'",
title="AWS Costs")
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: dotnet
config:
vantage:apiToken:
value: 'TODO: var.api_token'
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vantage = Pulumi.Vantage;
return await Deployment.RunAsync(() =>
{
var aws = new Vantage.Folder("aws", new()
{
Title = "AWS Costs",
});
var awsCostReport = new Vantage.CostReport("aws", new()
{
FolderToken = aws.Token,
Filter = "costs.provider = 'aws'",
Title = "AWS Costs",
});
});
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: go
config:
vantage:apiToken:
value: 'TODO: var.api_token'
package main
import (
"github.com/pulumi/pulumi-pulumi-provider/sdks/go/vantage/vantage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
aws, err := vantage.NewFolder(ctx, "aws", &vantage.FolderArgs{
Title: pulumi.String("AWS Costs"),
})
if err != nil {
return err
}
_, err = vantage.NewCostReport(ctx, "aws", &vantage.CostReportArgs{
FolderToken: aws.Token,
Filter: pulumi.String("costs.provider = 'aws'"),
Title: pulumi.String("AWS Costs"),
})
if err != nil {
return err
}
return nil
})
}
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: yaml
config:
vantage:apiToken:
value: 'TODO: var.api_token'
resources:
aws:
type: vantage:Folder
properties:
title: AWS Costs
awsCostReport:
type: vantage:CostReport
name: aws
properties:
folderToken: ${aws.token}
filter: costs.provider = 'aws'
title: AWS Costs
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: java
config:
vantage:apiToken:
value: 'TODO: var.api_token'
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vantage.Folder;
import com.pulumi.vantage.FolderArgs;
import com.pulumi.vantage.CostReport;
import com.pulumi.vantage.CostReportArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var aws = new Folder("aws", FolderArgs.builder()
.title("AWS Costs")
.build());
var awsCostReport = new CostReport("awsCostReport", CostReportArgs.builder()
.folderToken(aws.token())
.filter("costs.provider = 'aws'")
.title("AWS Costs")
.build());
}
}
Configuration Reference
apiToken(String, Sensitive)host(String)timeout(String) The timeout duration for API requests (e.g., “30s”, “5m”). Defaults to “30s”.
Viewing docs for vantage 0.3.8
published on Tuesday, May 19, 2026 by vantage-sh
published on Tuesday, May 19, 2026 by vantage-sh