Skip to content

Repository files navigation

Pulumi TencentCloud Resource Provider

Apache 2.0 License NPM version PyPI version Go Reference NuGet version

logo
Tencent Infrastructure Automation for Pulumi.

The Pulumi TencentCloud Resource Provider lets you manage TencentCloud resources using Pulumi.

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

npm install @tencentcloud_iac/pulumi   # or: yarn add @tencentcloud_iac/pulumi

Python

pip install tencentcloud-iac-pulumi

Go

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

.NET

dotnet add package TencentCloudIAC.PulumiPackage.Tencentcloud

Note: 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

Configuration

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-singapore

Example

import * 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.

Reference

For detailed reference documentation, see the docs directory or the Pulumi Registry.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the Apache 2.0 License — see LICENSE.

About

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

Resources

Code of conduct

Contributing

Stars

23 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages