跳到正文

HashiCorp Consul ​

The HashiCorp Consul provider for Pulumi can be used to provision any of the resources available in Consul.

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

Setup ​

The Consul provider supports several options for interacting with HashiCorp Consul. See the Consul setup page for details.

Example ​

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

const node = new consul.Node("compute", {
  address: "www.google.com"
});

Libraries ​

The following packages are available in packager managers:

The HashiCorp Consul provider is open source and available in the pulumi/pulumi-consul repo.

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