/pulumi-tencentcloud

A TencentCloud Pulumi resource package, providing multi-language access to TencentCloud

Primary LanguagePythonApache License 2.0Apache-2.0

Pulumi TencentCloud Resource Provider

The Pulumi TencentCloud Resource Provider lets you manage TencentCloud resources.

Installing

Install tencentcloud provider

The sdks installation will fully support package auto download in the future, but now we recommend downloading manually:

pulumi plugin install resource tencentcloud --server github://api.github.com/tencentcloudstack

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

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

npm install @tencentcloud_iac/pulumi

or yarn:

yarn add @tencentcloud_iac/pulumi

Python

To use from Python, install using pip:

pip install tencentcloud_iac_pulumi

Go

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

go get github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/...

Configuration

The following configuration points are available for the tencentcloud provider:

Secret ID

The API Secret ID, read from environment variable TENCENTCLOUD_SECRET_ID if not preset.

pulumi config set tencentcloud:secretId [your-secret-id] --secret

Secret Key

The API Secret Key, read from environment variable TENCENTCLOUD_SECRET_KEY if not preset.

pulumi config set tencentcloud:secretKey [your-secret-key] --secret

Region

The region in which to deploy resources, read from environment variable TENCENTCLOUD_REGION if not preset.

pulumi config set tencentcloud:region ap-singapore

Security Token (Optional)

The Security Token for temporary access, read from environment variable TENCENTCLOUD_SECURITY_TOKEN if not preset.

pulumi config set tencentcloud:securityToken [your-security-token] --secret