npm.io
0.14.1 • Published 5d ago

@upcloud/pulumi-upcloud

Licence
Apache-2.0
Version
0.14.1
Deps
1
Size
998 kB
Vulns
0
Weekly
579

UpCloud Resource Provider

The UpCloud Resource Provider lets you manage UpCloud 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:

npm install @upcloud/pulumi-upcloud

or yarn:

yarn add @upcloud/pulumi-upcloud
Python

To use from Python, install using pip:

pip install pulumi-upcloud
Go

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

go get github.com/UpCloudLtd/pulumi-upcloud/sdk/go/...
.NET

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

dotnet add package UpCloud.Pulumi.UpCloud

Configuration

The following configuration points are available for the upcloud provider:

  • UPCLOUD_USERNAME (environment variable) - the username of the account to use
  • UPCLOUD_PASSWORD (environment variable) - the password of the account to use
  • UPCLOUD_TOKEN (environment variable) - an API token to use for authentication (instead of username and password)

Reference

For detailed reference documentation, please visit the Pulumi registry.

Templates

We have created templates in your language of choice to bootstrap your projects.

They will set up the project and set up:

- An UpCloud Managed Object Storage instance.
- A Bucket inside the object storage.
.NET
Prerequisites
  • Install Pulumi CLI
  • Install .NET 8
  • Set up UpCloud API credentials as explained in the configuration section
Set up your project using the template

From the new project directory:

pulumi new https://github.com/UpCloudLtd/pulumi-upcloud/tree/main/examples/templates/upcloud-csharp
Typescript
Prerequisites
  • Install Pulumi CLI
  • Install Node.js
  • Set up UpCloud API credentials as explained in the configuration section
Set up your project using the template

From the new project directory:

pulumi new https://github.com/UpCloudLtd/pulumi-upcloud/tree/main/examples/templates/upcloud-typescript
Go
Prerequisites
  • Install Pulumi CLI
  • Install Go
  • Set up UpCloud API credentials as explained in the configuration section
Set up your project using the template

From the new project directory:

pulumi new https://github.com/UpCloudLtd/pulumi-upcloud/tree/main/examples/templates/upcloud-go
Python
Prerequisites
  • Install Pulumi CLI
  • Install Python 3
  • Set up UpCloud API credentials as explained in the configuration section
Set up your project using the template

From the new project directory:

pulumi new https://github.com/UpCloudLtd/pulumi-upcloud/tree/main/examples/templates/upcloud-python

Keywords