Exoscale

v0.42.0 published on Sunday, Nov 27, 2022 by Pulumiverse

The Exoscale provider for Pulumi can be used to provision any of the cloud resources available in Exoscale. The Exoscale provider must be configured with credentials to deploy and update resources in Exoscale.

Example

import * as pulumi from "@pulumi/pulumi";
import * as exoscale from "@pulumiverse/exoscale"


let cluster = new exoscale.SKSCluster("cluster", {
  zone: "ch-gva-2",
  name: "my-sks-cluster"
})

export const endpoint = cluster.endpoint
import pulumi
import pulumiverse_exoscale as exoscale

cluster = exoscale.SKSCluster("cluster",
                              zone="ch-gva-2",
                              name="my-sks-cluster",
                              )

pulumi.export("endpoint", cluster.endpoint)
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-exoscale/sdk/go/exoscale"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cluster, err := exoscale.NewSKSCluster(ctx, "sks-cluster", &exoscale.SKSClusterArgs{
			Name: pulumi.String("my-sks-cluster"),
			Zone: pulumi.String("ch-gva-2"),
		})
		if err != nil {
			return err
		}
		ctx.Export("endpoint", cluster.Endpoint)
		return nil
	})
}