Skip to content

sandervb2/pulumi-thalassa

Repository files navigation

Thalassa Cloud Resource Provider

The Thalassa Cloud Resource Provider for Pulumi lets you manage Thalassa resources.

The provider is built on the upstream Terraform provider.

Installing using the SDK (recommended)

This provider can be used either via the language SDKs (recommended). When you run pulumi up, the Pulumi CLI will automatically download the matching provider plugin from the GitHub Releases page. or by manually installing the plugin.

Node.js (JavaScript/TypeScript)

npm install @sandervb2/pulumi-thalassa
# or
yarn add @sandervb2/pulumi-thalassa

Python

pip install pulumi-thalassa

Go (not yet available)

go get github.com/sandervb2/pulumi-thalassa/sdk/go/...

.NET (not yet available)

dotnet add package Pulumi.Thalassa

Manual Plugin Installation (optional)

If you want to install the plugin manually:

  1. Download the appropriate archive version for your OS/arch:

    wget https://github.com/sandervb2/pulumi-thalassa/releases/download/vX.Y.Z/pulumi-resource-thalassa-vX.Y.Z-OPERATING_SYSTEM-ARCH.tar.gz
  2. Install it into Pulumi:

    pulumi plugin install resource thalassa X.Y.Z \
      -f ./pulumi-resource-thalassa-vX.Y.Z-OPERATING_SYSTEM-ARCH.tar.gz

Configuration

The provider can be configured via Pulumi config values or via environment variables.

Using Pulumi Config

pulumi config set thalassa:organisationId <organisation-id>
pulumi config set thalassa:token <secret-token> --secret

Example (TypeScript):

import * as thalassa from "@sandervb2/pulumi-thalassa";

const vpc = new thalassa.Vpc("example", {
  name: "my-vpc",
});

Using Environment Variables

import * as thalassa from "@sandervb2/pulumi-thalassa";

const provider = new thalassa.Provider("custom", {
  organisationId: process.env.THALASSA_ORGANISATION_ID,
  token: process.env.THALASSA_TOKEN,
});

const vpc = new thalassa.Vpc("example", {
  name: "my-vpc",
}, { provider });

Reference

For detailed reference documentation, please visit the upstream Terraform provider's documentation at: 👉 https://registry.terraform.io/providers

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •