@jaxxstorm/pulumi-scaleway v0.3.0
Terraform Bridge Provider Boilerplate
This repository contains boilerplate code for building a new Pulumi provider which wraps an existing Terraform provider, if the existing provider uses Go Modules.
Modify this README to describe:
- The type of resources the provider manages
- Add a build status image from Travis at the top of the README
- Update package names in the information below
- Add any important documentation of concepts (e.g. the "serverless" components in the AWS provider).
Creating a Pulumi Terraform Bridge Provider
First, clone this repo with the name of the desired provider in place of scaleway:
git clone https://github.com/pulumi/pulumi-tf-provider-boilerplate pulumi-scalewaySecond, replace references to scaleway with the name of your provider:
make prepare NAME=foo PROJECT=github.com/pulumi/pulumi-fooNext, list the configuration points for the provider in the area of the README.
Note: If the name of the desired Pulumi provider differs from the name of the Terraform provider, you will need to carefully distinguish between the references - see https://github.com/pulumi/pulumi-azure for an example.
Add dependencies
In order to properly build the sdks, the following tools are expected:
- tf2pulumi (See the project's README for installation instructions: https://github.com/pulumi/tf2pulumi)
- pandoc (
brew install pandoc)
In the root of the repository, run:
(cd provider && go get github.com/terraform-providers/terraform-provider-foo)(wherefoois the name of the provider - note the parenthesis to run this in a subshell)make ensure
Build the provider:
- Edit
provider/resources.goto map each resource, and specify provider information - Enumerate any examples in
examples/examples_test.go make
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm:
$ npm install @pulumi/xyxor yarn:
$ yarn add @pulumi/xyxPython
To use from Python, install using pip:
$ pip install pulumi_xyxGo
To use from Go, use go get to grab the latest version of the library
$ go get github.com/jaxxstorm/pulumi-scaleway/sdk/go/...Configuration
The following configuration points are available for the scaleway provider:
scaleway:apiKey(environment:XYZ_API_KEY) - the API key forscalewayscaleway:region(environment:XYZ_REGION) - the region in which to deploy resources
Reference
For detailed reference documentation, please visit the API docs.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago