跳到正文

Hetzner Cloud ​

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

See the full API documentation for complete details of the available Hetzner Cloud provider APIs.

Setup ​

The Hetzner Cloud provider supports several options for providing access to Hetzner Cloud credentials. See the Hetzner Cloud setup page for details.

Example ​

typescript
import * as hcloud from "@pulumi/hcloud";

const network = new hcloud.Network("demo-network", {
    ipRange: "10.0.1.0/24",
})

Libraries ​

The following packages are available in packager managers:

The Hetzner Cloud provider is open source and available in the pulumi/pulumi-hcloud repo.

文档内容翻译自 Pulumi 官方文档。