vpc

idcosregistry/vpc/tencentcloud

Terraform Module HCL TENCENTCLOUD

TencentCloud VPC Module for Terraform

Install
module "vpc" {
source = "idcosregistry/vpc/tencentcloud"
version = "1.0.6"
}
plain text: /constructs/tfmod-idcosregistry-vpc-tencentcloud/install.txt
⭐ Source on GitHub 📦 Registry page
README

TencentCloud VPC Module for Terraform terraform-tencentcloud-vpc A terraform module used to create TencentCloud VPC, subnet and route entry. The following resources are included. VPC VPC Subnet * VPC Route Entry Usage ``hcl module "vpc" { source = "terraform-tencentcloud-modules/vpc/tencentcloud" version = "1.0.3" vpc_name = "simple-vpc" vpc_cidr = "10.0.0.0/16" subnet_name = "simple-vpc" subnet_cidrs = ["10.0.0.0/24"] destination_cidrs = ["1.0.1.0/24"] next_type = ["EIP"] next_hub = ["0"] tags = { module = "vpc" } vpc_tags = { test = "vpc" } subnet_tags = { test = "subnet" } } ` Conditional Creation This module can create VPC and VPC Subnet. It is possible to use existing VPC when specify vpc_id` parameter. Inputs | Name | Description | Type | Default | Required | |------|-------------|:-

Inputs (20)
NameTypeDescriptionDefault
gpu_core_countnumberGPU core count used to query supported available zones.0
vpc_namestringThe vpc name used to launch a new vpc when 'vpc_id' is not specified."tf-modules-vpc"
destination_cidrslist(string)List of destination CIDR blocks of router table in the specified VPC.[]
tagsmap(string)A map of tags to add to all resources.{}
memory_sizenumberMemory size used to query supported available zones.2
vpc_cidrstringThe cidr block used to launch a new vpc when 'vpc_id' is not specified."172.16.0.0/16"
vpc_dns_serverslist(string)Specify the vpc dns servers when 'vpc_id' is not specified.[]
subnet_cidrslist(string)Specify the subnet cidr blocks when 'vpc_id' is not specified.[]
subnet_is_multicastboolSpecify the subnet is multicast when 'vpc_id' is not specified.true
subnet_tagsmap(string)Additional tags for the subnet.{}
next_typelist(string)List of next hop types of router table in the specified vpc.[]
cpu_core_countnumberCPU core count used to query supported available zones.1
next_hublist(string)List of next hop gateway id of router table in the specified vpc.[]
vpc_is_multicastboolSpecify the vpc is multicast when 'vpc_id' is not specified.true
vpc_tagsmap(string)Additional tags for the vpc.{}
subnet_namestringSpecify the subnet name when 'vpc_id' is not specified."tf-modules-subnet"
vpc_idstringThe vpc id used to launch resources.""
route_table_idstringThe route table id of router table in the specified vpc.""
number_formatstringThe number format used to output."%02d"
availability_zoneslist(string)List of available zones to launch resources.[]
Outputs (5)
vpc_id — The id of vpc.
subnet_id — The id of subnet.
route_table_id — The id of route table.
route_entry_id — The id of route table entry.
availability_zones — The availability zones of instance type.
Resources (3)
tencentcloud_route_table_entrytencentcloud_subnettencentcloud_vpc
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.6
Cloud TENCENTCLOUD
★ Stars0
Forks0
Total downloads279
Inputs20
Outputs5
Resources3
Examples2
LicenseMPL-2.0
Namespaceidcosregistry
Updated