tencentcloud_container_clusterNivis Nix constructor for the tencentcloud_container_cluster resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
bandwidth,
bandwidth_type,
cluster_cidr,
cluster_name,
goods_num,
instance_type,
is_vpc_gateway,
os_name,
root_size,
storage_size,
subnet_id,
vpc_id,
zone_id,
cluster_desc ? null,
cluster_version ? null,
cpu ? null,
cvm_type ? null,
docker_graph_path ? null,
id ? null,
instance_name ? null,
key_id ? null,
mem ? null,
mount_target ? null,
password ? null,
period ? null,
require_wan_ip ? null,
root_type ? null,
sg_id ? null,
storage_type ? null,
unschedulable ? null,
user_script ? null,
overrides ? {}
}Required arguments
bandwidthbandwidth_typecluster_cidrcluster_namegoods_numinstance_typeis_vpc_gatewayos_nameroot_sizestorage_sizesubnet_idvpc_idzone_id
Optional arguments
cluster_desc(defaults tonull)cluster_version(defaults tonull)cpu(defaults tonull)cvm_type(defaults tonull)docker_graph_path(defaults tonull)id(defaults tonull)instance_name(defaults tonull)key_id(defaults tonull)mem(defaults tonull)mount_target(defaults tonull)password(defaults tonull)period(defaults tonull)require_wan_ip(defaults tonull)root_type(defaults tonull)sg_id(defaults tonull)storage_type(defaults tonull)unschedulable(defaults tonull)user_script(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
kubernetes_versionnodes_numnodes_statustotal_cputotal_mem
Example
tencentcloud_container_cluster {
name = "container_cluster";
bandwidth = …; # required
bandwidth_type = …; # required
cluster_cidr = …; # required
cluster_name = …; # required
goods_num = …; # required
instance_type = …; # required
is_vpc_gateway = …; # required
os_name = …; # required
root_size = …; # required
storage_size = …; # required
subnet_id = …; # required
vpc_id = …; # required
zone_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.