The Pulumi TencentCloud Resource Provider lets you manage TencentCloud resources.
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/tencentcloudstackThis package is available for several languages/platforms:
To use from JavaScript or TypeScript in Node.js, install using either npm:
npm install @tencentcloud_iac/pulumior yarn:
yarn add @tencentcloud_iac/pulumiTo use from Python, install using pip:
pip install tencentcloud_iac_pulumiTo use from Go, use go get to grab the latest version of the library:
go get github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/...The following configuration points are available for the tencentcloud provider:
The API Secret ID, read from environment variable TENCENTCLOUD_SECRET_ID if not preset.
pulumi config set tencentcloud:secretId [your-secret-id] --secretThe API Secret Key, read from environment variable TENCENTCLOUD_SECRET_KEY if not preset.
pulumi config set tencentcloud:secretKey [your-secret-key] --secretThe region in which to deploy resources, read from environment variable TENCENTCLOUD_REGION if not preset.
pulumi config set tencentcloud:region ap-singaporeThe Security Token for temporary access, read from environment variable TENCENTCLOUD_SECURITY_TOKEN if not preset.
pulumi config set tencentcloud:securityToken [your-security-token] --secret