Skip to main content

A Pulumi package for creating and managing AliCloud resources.

Project description

Actions Status Slack NPM version Python version NuGet version PkgGoDev License

AliCloud Resource Provider

The AliCloud resource provider for Pulumi lets you use AliCloud resources in your cloud programs. To use this package, please install the Pulumi CLI first.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @pulumi/alicloud

or yarn:

$ yarn add @pulumi/alicloud

Python

To use from Python, install using pip:

$ pip install pulumi_alicloud

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/pulumi/pulumi-alicloud/sdk/v3

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.Alicloud

Configuration

The following configuration points are available:

  • alicloud:accessKey - (Required) This is the Alicloud access key. It must be provided, but it can also be sourced from the ALICLOUD_ACCESS_KEY environment variable.
  • alicloud:secretKey - (Required) This is the Alicloud secret key. It must be provided, but it can also be sourced from the ALICLOUD_SECRET_KEY environment variable.
  • alicloud:securityToken - (Optional) Alicloud Security Token Service. It can be sourced from the ALICLOUD_SECURITY_TOKEN environment variable.
  • alicloud:ecsRoleName - (Optional) The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the 'Access Control' section of the Alibaba Cloud console. It can be sourced from the ALICLOUD_ECS_ROLE_NAME environment variable.
  • alicloud:region - (Required) This is the Alicloud region. It must be provided, but it can also be sourced from the ALICLOUD_REGION environment variables.
  • alicloud:accountId - (Optional) Alibaba Cloud Account ID. It is used by the Function Compute service and to connect router interfaces. If not provided, the provider will attempt to retrieve it automatically with STS GetCallerIdentity. It can be sourced from the ALICLOUD_ACCOUNT_ID environment variable.
  • alicloud:sharedCredentialsFile - (Optional) This is the path to the shared credentials file. It can also be sourced from the ALICLOUD_SHARED_CREDENTIALS_FILE environment variable. If this is not set and a profile is specified, ~/.aliyun/config.json will be used.
  • alicloud:profile - (Optional) This is the Alicloud profile name as set in the shared credentials file. It can also be sourced from the ALICLOUD_PROFILE environment variable.
  • alicloud:skipRegionValidation - (Optional) Skip static validation of region ID. Used by users of alternative AlibabaCloud-like APIs or users w/ access to regions that are not public (yet).

Reference

For further information, please visit the AliCloud provider docs or for detailed reference documentation, please visit the API docs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_alicloud-3.55.1.tar.gz (3.6 MB view hashes)

Uploaded Source

Built Distribution

pulumi_alicloud-3.55.1-py3-none-any.whl (5.6 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page