Skip to content

Learn how to make a Pulumi provider and make one for VRA.

License

Notifications You must be signed in to change notification settings

pulumiverse/pulumi-vra

Repository files navigation

VRA Resource Provider

The VRA Resource Provider lets you manage VRA resources.

override vra configuration cache

The following configurations are overridable via env vars:

  • access_token (access token for API operations) with env var VRA_ACCESS_TOKEN
  • refresh_token (refresh token for API operations) with env var VRA_REFRESH_TOKEN
  • url (base url for API operations) with env var VRA_URL
  • reauthorizeTimeout (timeout for how often to reauthorize the access token) with env var VRA7_REAUTHORIZE_TIMEOUT

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @pulumiverse/vra

or yarn:

yarn add @pulumiverse/vra

Python

To use from Python, install using pip:

pip install pulumiverse_vra

Go

To use from Go, use go get to grab the latest version of the library:

go get github.com/pulumiverse/pulumi-vra/sdk/go/...

.NET

To use from .NET, install using dotnet add package:

dotnet add package Pulumiverse.Vra

Configuration

The following configuration points are available for the vra provider:

  • none
  • vra:accessToken (environment: n/a) - the access token for vra
  • vra:refreshToken (environment: n/a) - the refresh token for vra
  • vra:url (environment: n/a) - the url of the vra instance
  • vra:insecure (environment: n/a) - the option to ignore the vra instance certificate
  • vra:reauthorizeTimeout (environment: n/a) - how often to reauthorize against the vra instance

Reference

For detailed reference documentation, please visit the Pulumi registry.