跳到正文

OpenStack ​

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

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

OpenStack Provider Setup ​

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

Example ​

typescript
import * as os from "@pulumi/openstack";

const instance = new os.compute.Instance("test", {
	flavorName: "s1-2",
	imageName: "Ubuntu 16.04",
});

Libraries ​

The following packages are available in package managers:

As with all Pulumi software solutions, the OpenStack provider is open source and available in the pulumi/pulumi-openstack repo. You can see all Pulumi infrastructure and cloud providers [here] (/docs/intro/cloud-providers/).

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