Skip to main content

A Pulumi package for creating and managing scaleway cloud resources.

Project description

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-scaleway

Second, replace references to scaleway with the name of your provider:

make prepare NAME=foo PROJECT=github.com/pulumi/pulumi-foo

Next, 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:

In the root of the repository, run:

  • (cd provider && go get github.com/terraform-providers/terraform-provider-foo) (where foo is the name of the provider - note the parenthesis to run this in a subshell)
  • make ensure

Build the provider:

  • Edit provider/resources.go to 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/xyx

or yarn:

$ yarn add @pulumi/xyx

Python

To use from Python, install using pip:

$ pip install pulumi_xyx

Go

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 for scaleway
  • scaleway:region (environment: XYZ_REGION) - the region in which to deploy resources

Reference

For detailed reference documentation, please visit the API docs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_scaleway-0.0.1.dev1587702691.tar.gz (32.8 kB view details)

Uploaded Source

File details

Details for the file pulumi_scaleway-0.0.1.dev1587702691.tar.gz.

File metadata

  • Download URL: pulumi_scaleway-0.0.1.dev1587702691.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for pulumi_scaleway-0.0.1.dev1587702691.tar.gz
Algorithm Hash digest
SHA256 041c01e49459b1de8ce57241bc9844cbca16dffc1ea85c165af0419e12d7e987
MD5 207f2e6f40e4fef9ce10bb2a5317e04b
BLAKE2b-256 056b0ed83d13cace7ce9526453c42972ac0a819d2478a6560b354eccd02872a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page