Rancher2
The Rancher2 provider for Pulumi can be used to provision any of the cloud resources available via Rancher. The Rancher2 provider must be configured with credentials to deploy and update resources for Rancher.
See the full API documentation for complete details of the available Rancher2 provider APIs.
Setup
The Rancher2 provider supports several options for providing access to Rancher credentials. See the Rancher2 setup page for details.
Example
typescript
import * as rancher2 from "@pulumi/rancher2";
const myUser = new rancher2.User("my-user", {
name: "Foo user",
username: "foo",
password: "initialPassw0rd",
enabled: true,
});Libraries
The following packages are available in packager managers:
- JavaScript/TypeScript:
@pulumi/rancher2 - Python:
pulumi-rancher2 - Go:
github.com/pulumi/pulumi-rancher2/sdk/v3/go/rancher2 - .NET:
Pulumi.Rancher2
The Rancher2 provider is open source and available in the pulumi/pulumi-rancher2 repo.