Vantage Launches Updates to Its Terraform Provider

by Vantage Team


Vantage Launches Updates to Its Terraform Provider

Today, Vantage announces updates to its Terraform provider. New Terraform resources are now available. In addition, data sources are now available within the provider. Customers who use Terraform in Infrastructure as Code environments can create additional Vantage resources and easily access external Vantage data using data sources.

The following resources are now available in the Terraform provider:

  • The vantage_segment resource automates the creation of cost allocation segments in Vantage. Large segment hierarchies can easily be automated with filters applied as needed.
  • The vantage_team resource automates the creation of Vantage teams. Create a team and assign Vantage users, by email, to the team.
  • The vantage_access_grant resource automates access grants via role-based access controls in Vantage. Create grants to allow or deny teams access to resources, like folders or Cost Reports.
  • The vantage_report_notification resource automates the creation of Cost Report notifications. Create a notification for a specific Cost Report. Specify the notification’s frequency (e.g., daily) and change (e.g., in dollars).

Vantage also announces the release of data sources. Practitioners use data sources to fetch and reference information from outside their Terraform configuration. For example, with the vantage_teams data source, a customer can easily access all their existing teams in Vantage to apply access grants using the vantage_access_grant resource. The following data sources are now available:

In addition, to the above updates, the vantage_cost_report resource now supports the groupings parameter. Users can specify a set of report groupings in the following format:

resource "vantage_cost_report" "demo_report" {
  title               = "Demo Report"
  folder_token        = "fldr_3555785cd0409118"
  filter              = "costs.provider = 'aws'"
  groupings           = "provider,service,region"
  workspace_token     = "wrkspc_47c3254c790e9351"

These new Terraform updates are now available for all users, including users in the free tier. To get started, navigate to the API Access Tokens page and generate a Read/Write API key. See the documentation on the Terraform Registry for examples.

Frequently Asked Questions

1. What is being announced today?

Vantage is announcing updates to its Terraform provider. New resources and data sources are now available.

2. Who is the customer?

The customer is anyone who would like to automate the setup and maintenance of their Vantage resources with Terraform.

3. How much does this feature cost?

The Terraform provider is free to all users.

4. Which resources can be managed with Terraform?

Cost Reports, folders, saved filters, dashboards, access grants, teams, segments, and report notifications.

5. How do I authenticate with Vantage using the Terraform provider?

The Vantage Terraform provider uses a Vantage API token for authentication. All API calls performed by the Terraform provider are authenticated using your user token.

6. Are there plans to add other primitives to the Terraform provider?

Yes, as new resources are added to the Vantage API, they will be added to the Terraform provider.

7. Where can I read the documentation?

The Vantage Terraform provider documentation is available on the Terraform Registry. Additional information is available in our product documentation.