Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Package Metadata [email protected] #1606

Merged
merged 1 commit into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions themes/default/content/registry/packages/exoscale/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
title: Exoscale
meta_desc: Provides an overview of the Exoscale Provider for Pulumi.
layout: overview
---

The Exoscale provider for Pulumi can be used to provision any of the cloud resources available in [Exoscale](https://www.exoscale.com/).
The Exoscale provider must be configured with credentials to deploy and update resources in Exoscale.

## Example

{{< chooser language "typescript,python,go,csharp" >}}
{{% choosable language typescript %}}

```typescript
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
```

{{% /choosable %}}
{{% choosable language python %}}

```python
import pulumiverse_exoscale as exoscale

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

{{% /choosable %}}
{{% choosable language go %}}

```go
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, "cluster", &exoscale.SKSClusterArgs{
Zone: pulumi.String("ch-gva-2""),
Name: pulumi.String("my-sks-cluster"),
})
if err != nil {
return err
}
ctx.Export("endpoint", cluster.Endpoint)
return nil
})
}
```

{{% /choosable %}}

{{< /chooser >}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Exoscale Setup
meta_desc: Information on how to install the Exoscale provider.
layout: installation
---

## Installation

The Pulumi Exoscale provider is available as a package in all Pulumi languages:

* JavaScript/TypeScript: [`@pulumiverse/exoscale`](https://www.npmjs.com/package/@pulumiverse/exoscale)
* Python: [`pulumiverse_exoscale`](https://pypi.org/project/pulumiverse-exoscale/)
* Go: [`github.com/pulumiverse/pulumi-exoscale/sdk/go/exoscale`](https://pkg.go.dev/github.com/pulumiverse/pulumi-exoscale/sdk)
* .NET: [`Pulumiverse.Exoscale`](https://www.nuget.org/packages/Pulumiverse.Exoscale)

## Setup

To provision resources with the Pulumi Exoscale provider, you need to provide the `key` and `secret` (optional `timeout`).

## Configuration Options

Use `pulumi config set exoscale:<option>`.

| Option | Required/Optional | Description |
|-----------|-------------------|-------------------------------------------------------------------|
| `key` | Required | Exoscale account API key (environment: `EXOSCALE_API_KEY`). |
| `secret` | Required | Exoscale account API secret (environment: `EXOSCALE_API_SECRET`). |
| `timeout` | Optional | Global async operations waiting time in seconds (default: 300). |
14 changes: 14 additions & 0 deletions themes/default/data/registry/packages/exoscale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
category: Cloud
component: false
description: A Pulumi package for creating and managing exoscale cloud resources.
featured: false
logo_url: https://avatars3.githubusercontent.com/exoscale
name: exoscale
native: false
package_status: public_preview
publisher: Pulumiverse
repo_url: https://github.com/pulumiverse/pulumi-exoscale
schema_file_path: provider/cmd/pulumi-resource-exoscale/schema.json
title: Exoscale
updated_on: 1664432776
version: v0.1.2