The Pulumi TencentCloud Resource Provider lets you manage TencentCloud resources using Pulumi.
This package is available for several languages/platforms:
npm install @tencentcloud_iac/pulumi # or: yarn add @tencentcloud_iac/pulumipip install tencentcloud-iac-pulumigo get github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/...dotnet add package TencentCloudIAC.PulumiPackage.TencentcloudNote: Package auto-download of the provider plugin is not yet supported. Install the provider plugin manually before running
pulumi up:pulumi plugin install resource tencentcloud --server github://api.github.com/tencentcloudstack
The following configuration points are available for the tencentcloud provider:
| Key | Required | Description | Environment Variable |
|---|---|---|---|
secretId |
Yes | The API Secret ID | TENCENTCLOUD_SECRET_ID |
secretKey |
Yes | The API Secret Key | TENCENTCLOUD_SECRET_KEY |
region |
Yes | The region in which to deploy resources | TENCENTCLOUD_REGION |
securityToken |
No | The Security Token for temporary access | TENCENTCLOUD_SECURITY_TOKEN |
Set them via pulumi config:
pulumi config set tencentcloud:secretId <your-secret-id> --secret
pulumi config set tencentcloud:secretKey <your-secret-key> --secret
pulumi config set tencentcloud:region ap-singaporeimport * as tencentcloud from "@tencentcloud_iac/pulumi";
const vpc = new tencentcloud.vpc.Instance("my-vpc", {
name: "pulumi-vpc",
cidrBlock: "10.0.0.0/20",
});See examples/ for complete, runnable projects.
For detailed reference documentation, see the docs directory or the Pulumi Registry.
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the Apache 2.0 License — see LICENSE.