An open API service indexing awesome lists of open source software.

https://github.com/pulumi/pulumi-tf-provider-boilerplate

Boilerplate code for Terraform provider-backed Pulumi packages
https://github.com/pulumi/pulumi-tf-provider-boilerplate

Last synced: 2 months ago
JSON representation

Boilerplate code for Terraform provider-backed Pulumi packages

Awesome Lists containing this project

README

        

# Terraform Bridge Provider Boilerplate

This repository is the template for authoring a Pulumi package from an existing Terraform provider as part of the guide for [authoring and publishing Pulumi packages](https://www.pulumi.com/docs/iac/packages-and-automation/pulumi-packages/authoring/).

This repository is initially set up as a fictitious provider named "xyz" to demonstrate a resource, a data source and configuration derived from the [github.com/pulumi/terraform-provider-xyz provider](https://github.com/pulumi/terraform-provider-xyz).

Read the [setup instructions](SETUP.md) for step-by-step instructions on how to bridge a new provider and refer to our complete docs [guide for authoring and publishing a Pulumi Package](https://www.pulumi.com/docs/iac/packages-and-automation/pulumi-packages/authoring/).

# Xyz Resource Provider

The Xyz Resource Provider lets you manage [Xyz](http://example.com) resources.

## 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`:

```bash
npm install @pulumi/xyz
```

or `yarn`:

```bash
yarn add @pulumi/xyz
```

### Python

To use from Python, install using `pip`:

```bash
pip install pulumi_xyz
```

### Go

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

```bash
go get github.com/pulumi/pulumi-xyz/sdk/go/...
```

### .NET

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

```bash
dotnet add package Pulumi.Xyz
```

## Configuration

The following configuration points are available for the `xyz` provider:

- `xyz:region` (environment: `XYZ_REGION`) - the region in which to deploy resources

## Reference

For detailed reference documentation, please visit [the Pulumi registry](https://www.pulumi.com/registry/packages/xyz/api-docs/).