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
- Host: GitHub
- URL: https://github.com/pulumi/pulumi-tf-provider-boilerplate
- Owner: pulumi
- License: apache-2.0
- Created: 2018-12-07T23:17:21.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-03-27T17:34:17.000Z (2 months ago)
- Last Synced: 2025-03-29T03:03:35.605Z (2 months ago)
- Language: Makefile
- Size: 959 KB
- Stars: 81
- Watchers: 26
- Forks: 45
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
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/).