Repository navigation
Publish Package Metadata hcloud@v1.44.0 - #13764
Merged
Merged
Conversation
pulumi-bot
enabled auto-merge (squash)
December 3, 2026 03:50
Contributor
✅
|
| check | command | |
|---|---|---|
| docs generate | ✅ | resourcedocsgen metadata from-urls |
| publisher listed | ✅ | Pulumi is a key in publisher-names.json |
Owner Pulumi
Doc-lint ✅ clean. No relative images or raw HTML.
Provider docs (source as published):
_index.md · 159 lines · open full file
---
# WARNING: this file was fetched from https://raw.githubusercontent.com/pulumi/pulumi-hcloud/v1.44.0/docs/_index.md
# Do not edit by hand unless you're certain you know what you are doing!
edit_url: https://github.com/pulumi/pulumi-hcloud/blob/v1.44.0/docs/_index.md
# *** WARNING: This file was auto-generated. Do not edit by hand unless you're certain you know what you are doing! ***
title: Hcloud Provider
meta_desc: Provides an overview on how to configure the Pulumi Hcloud provider.
layout: package
---
## Installation
The Hcloud provider is available as a package in all Pulumi languages:
* JavaScript/TypeScript: [`@pulumi/hcloud`](https://www.npmjs.com/package/@pulumi/hcloud)
* Python: [`pulumi-hcloud`](https://pypi.org/project/pulumi-hcloud/)
* Go: [`github.com/pulumi/pulumi-hcloud/sdk/go/hcloud`](https://github.com/pulumi/pulumi-hcloud)
* .NET: [`Pulumi.HCloud`](https://www.nuget.org/packages/Pulumi.HCloud)
* Java: [`com.pulumi/hcloud`](https://central.sonatype.com/artifact/com.pulumi/hcloud)
## Overview
The Hetzner Cloud (hcloud) provider is used to interact with the resources supported by [Hetzner Cloud](https://www.hetzner.com/cloud). The provider needs to be configured with the proper credentials before it can be used.
Use the navigation to the left to read about the available resources.
## Example Usage
```bash
pulumi config set --secret hcloud:token <hcloud_token>
```
{{< chooser language "typescript,python,go,csharp,java,yaml,hcl" >}}
{{% choosable language typescript %}}
```typescript
import * as pulumi from "@pulumi/pulumi";
const config = new pulumi.Config();
const hcloudToken = config.requireObject<any>("hcloudToken");
```
{{% /choosable %}}
{{% choosable language python %}}
```python
import pulumi
config = pulumi.Config()
hcloud_token = config.require_object("hcloudToken")
```
{{% /choosable %}}
{{% choosable language csharp %}}
```csharp
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var hcloudToken = config.RequireObject<dynamic>("hcloudToken");
});
```
{{% /choosable %}}
{{% choosable language go %}}
```go
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
var hcloudToken interface{}
cfg.RequireObject("hcloudToken", &hcloudToken)
return nil
})
}
```
{{% /choosable %}}
{{% choosable language yaml %}}
```yaml
configuration:
# Set the variable value in *.tfvars file
# or using the -var="hcloud_token=..." CLI option
hcloudToken:
type: object
```
{{% /choosable %}}
{{% choosable language java %}}
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var hcloudToken = config.requireObject("hcloudToken", com.pulumi.core.TypeShape.map(String.class, Object.class));
}
}
```
{{% /choosable %}}
{{% choosable language hcl %}}
```hcl
# Set the variable value in *.tfvars file
# or using the -var="hcloud_token=..." CLI option
variable "hcloudToken" {
type = any
}
```
{{% /choosable %}}
{{< /chooser >}}
## Configuration Reference
The following configuration inputs are supported:
- `token` - (Required, string) This is the Hetzner Cloud API Token, can also be specified with the `HCLOUD_TOKEN` environment variable.
- `endpoint` - (Optional, string) Hetzner Cloud API endpoint, can be used to override the default API Endpoint `https://api.hetzner.cloud/v1`.
- `endpointHetzner` - (Optional, string) Hetzner API endpoint, can be used to override the default API Endpoint `https://api.hetzner.com/v1`.
- `pollInterval` - (Optional, string) Configures the interval in which actions are polled by the client. Default `500ms`. Increase this interval if you run into rate limiting errors.
- `pollFunction` - (Optional, string) Configures the type of function to be used during the polling. Valid values are `constant` and `exponential`. Default `exponential`.
## Experimental features
Experimental features are published as part of our regular releases (e.g. a product
public beta). During an experimental phase, breaking changes on those features may occur
within minor releases.
The stability of experimental features is not related to the stability of its upstream API.
Experimental features have different levels of maturity (e.g. experimental, alpha, beta)
based on the maturity of the upstream API.
While experimental features will be announced in the release notes, you can also find
whether a resource, function or function is experimental in its documentation:
```markdown
Experimental: $PRODUCT is $MATURITY, breaking changes may occur within minor releases. See https://docs.hetzner.cloud/changelog#$SLUG for more details.
```Checked PR head eef9bef05122 · full run & command output
Contributor
|
Your site preview for commit f9dc943 is ready! 🎉 http://registry--origin-pr-13764-f9dc9436.s3-website.us-west-2.amazonaws.com/registry/ Changed pages: |
Contributor
|
Site previews for this pull request have been removed. ✨ |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.