IaC Bazaar
Tencent CloudStatic-verified

Tencent Cloud VPC Foundation

VPC with subnets, route tables, NAT, and security groups across AZs.

terraformAlt & Specialty Clouds#tencentcloud

Compare Virtual Private Cloud (VPC) across clouds →

tencent-vpc-foundationterraform v1.7

Verification

Static-verified

Passed: validated and lint-clean (provider-schema-validated for AWS/Azure/GCP; Terraform-language lint elsewhere).

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan clean (Checkov)
  • Plan tests (mocked: validation rules · outputs)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live test pending (no cloud run yet)

Last verified 2026-06-28 · how we verify

Documentation

tencent-vpc-foundation

A production-ready Tencent Cloud network foundation: a multi-AZ VPC with subnets, a standard NAT gateway (EIP + per-subnet SNAT and a default route for outbound-only internet egress), and a least-privilege base security group. Subnets opt in to internet egress one at a time; everything else stays private with no public addressing.

Status: static-validated, live-test pending. Validated with tofu validate + tflint + checkov against the tencentcloudstack/tencentcloud provider. Not yet applied against a live Tencent Cloud account (no sandbox subscription), so it ships under live-test quarantine.

Design & secure defaults

  • No inbound exposure by default. The base security group denies all inbound traffic until you declare ingress_rules; egress is allowed and (optionally) intra-VPC traffic is permitted via allow_intra_security_group.
  • Outbound-only egress. Only subnets with nat = true get a default route to the NAT gateway and a matching SNAT entry. There is no internet gateway and no public IP on any instance, so workloads are never directly addressable.
  • Two route tables, explicit isolation. Private subnets attach to a route table with only the implicit local route (no 0.0.0.0/0); NAT subnets attach to a separate table whose default route points at the NAT gateway.
  • Standard (v2) NAT gateway by default, with a traffic-billed EIP, so nat_bandwidth_mbps is a ceiling on the EIP's egress. Standard NAT fixes the gateway's own bandwidth and concurrency, so nat_bandwidth_mbps/ nat_max_concurrent only size the gateway when you opt into traditional NAT (nat_product_version = 1). Tencent accepts only fixed tiers, which the variables validate.

Provider

tencentcloudstack/tencentcloud >= 1.81.0, < 2.0. Requires Terraform/OpenTofu >= 1.6.

License

Commercial — LicenseRef-IaCBazaar-Commercial. See the IaC Bazaar terms.

Usage code & full reference unlock after purchase

The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence — shown here and bundled in the download.

  • Usage
  • Key inputs
  • Outputs