Skip to content

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

License

Notifications You must be signed in to change notification settings

tencentcloudstack/pulumi-tencentcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e3abf6 · Jul 17, 2023

History

67 Commits
Aug 19, 2022
Jul 17, 2023
Jul 26, 2022
Oct 26, 2022
Oct 26, 2022
Jul 14, 2023
Jul 14, 2023
Jul 26, 2022
Jul 26, 2022
May 11, 2023
Oct 17, 2022
Nov 3, 2022
Jul 26, 2022
Jul 26, 2022
Jul 26, 2022
Jul 26, 2022
Oct 31, 2022
Oct 26, 2022

Repository files navigation

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