You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"alicloud_cs_kubernetes_node_pool" {
source="./modules/alicloud/r/alicloud_cs_kubernetes_node_pool"# auto_renew - (optional) is a type of boolauto_renew=null# auto_renew_period - (optional) is a type of numberauto_renew_period=null# cluster_id - (required) is a type of stringcluster_id=null# image_id - (optional) is a type of stringimage_id=null# install_cloud_monitor - (optional) is a type of boolinstall_cloud_monitor=null# instance_charge_type - (optional) is a type of stringinstance_charge_type=null# instance_types - (required) is a type of list of stringinstance_types=[]
# key_name - (optional) is a type of stringkey_name=null# kms_encrypted_password - (optional) is a type of stringkms_encrypted_password=null# name - (required) is a type of stringname=null# node_count - (optional) is a type of numbernode_count=null# node_name_mode - (optional) is a type of stringnode_name_mode=null# password - (optional) is a type of stringpassword=null# period - (optional) is a type of numberperiod=null# period_unit - (optional) is a type of stringperiod_unit=null# security_group_id - (optional) is a type of stringsecurity_group_id=null# system_disk_category - (optional) is a type of stringsystem_disk_category=null# system_disk_performance_level - (optional) is a type of stringsystem_disk_performance_level=null# system_disk_size - (optional) is a type of numbersystem_disk_size=null# tags - (optional) is a type of map of stringtags={}
# unschedulable - (optional) is a type of boolunschedulable=null# user_data - (optional) is a type of stringuser_data=null# vswitch_ids - (required) is a type of list of stringvswitch_ids=[]
data_disks=[{
auto_snapshot_policy_id =null
category =null
device =null
encrypted =null
kms_key_id =null
name =null
performance_level =null
size =null
snapshot_id =null
}]
labels=[{
key =null
value =null
}]
management=[{
auto_repair =null
auto_upgrade =null
max_unavailable =null
surge =null
surge_percentage =null
}]
scaling_config=[{
eip_bandwidth =null
eip_internet_charge_type =null
is_bond_eip =null
max_size =null
min_size =null
type =null
}]
taints=[{
effect =null
key =null
value =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
resource"alicloud_cs_kubernetes_node_pool""this" {
# auto_renew - (optional) is a type of boolauto_renew=var.auto_renew# auto_renew_period - (optional) is a type of numberauto_renew_period=var.auto_renew_period# cluster_id - (required) is a type of stringcluster_id=var.cluster_id# image_id - (optional) is a type of stringimage_id=var.image_id# install_cloud_monitor - (optional) is a type of boolinstall_cloud_monitor=var.install_cloud_monitor# instance_charge_type - (optional) is a type of stringinstance_charge_type=var.instance_charge_type# instance_types - (required) is a type of list of stringinstance_types=var.instance_types# key_name - (optional) is a type of stringkey_name=var.key_name# kms_encrypted_password - (optional) is a type of stringkms_encrypted_password=var.kms_encrypted_password# name - (required) is a type of stringname=var.name# node_count - (optional) is a type of numbernode_count=var.node_count# node_name_mode - (optional) is a type of stringnode_name_mode=var.node_name_mode# password - (optional) is a type of stringpassword=var.password# period - (optional) is a type of numberperiod=var.period# period_unit - (optional) is a type of stringperiod_unit=var.period_unit# security_group_id - (optional) is a type of stringsecurity_group_id=var.security_group_id# system_disk_category - (optional) is a type of stringsystem_disk_category=var.system_disk_category# system_disk_performance_level - (optional) is a type of stringsystem_disk_performance_level=var.system_disk_performance_level# system_disk_size - (optional) is a type of numbersystem_disk_size=var.system_disk_size# tags - (optional) is a type of map of stringtags=var.tags# unschedulable - (optional) is a type of boolunschedulable=var.unschedulable# user_data - (optional) is a type of stringuser_data=var.user_data# vswitch_ids - (required) is a type of list of stringvswitch_ids=var.vswitch_idsdynamic"data_disks" {
for_each=var.data_diskscontent {
# auto_snapshot_policy_id - (optional) is a type of stringauto_snapshot_policy_id=data_disks.value["auto_snapshot_policy_id"]
# category - (optional) is a type of stringcategory=data_disks.value["category"]
# device - (optional) is a type of stringdevice=data_disks.value["device"]
# encrypted - (optional) is a type of stringencrypted=data_disks.value["encrypted"]
# kms_key_id - (optional) is a type of stringkms_key_id=data_disks.value["kms_key_id"]
# name - (optional) is a type of stringname=data_disks.value["name"]
# performance_level - (optional) is a type of stringperformance_level=data_disks.value["performance_level"]
# size - (optional) is a type of numbersize=data_disks.value["size"]
# snapshot_id - (optional) is a type of stringsnapshot_id=data_disks.value["snapshot_id"]
}
}
dynamic"labels" {
for_each=var.labelscontent {
# key - (required) is a type of stringkey=labels.value["key"]
# value - (optional) is a type of stringvalue=labels.value["value"]
}
}
dynamic"management" {
for_each=var.managementcontent {
# auto_repair - (optional) is a type of boolauto_repair=management.value["auto_repair"]
# auto_upgrade - (optional) is a type of boolauto_upgrade=management.value["auto_upgrade"]
# max_unavailable - (required) is a type of numbermax_unavailable=management.value["max_unavailable"]
# surge - (optional) is a type of numbersurge=management.value["surge"]
# surge_percentage - (optional) is a type of numbersurge_percentage=management.value["surge_percentage"]
}
}
dynamic"scaling_config" {
for_each=var.scaling_configcontent {
# eip_bandwidth - (optional) is a type of numbereip_bandwidth=scaling_config.value["eip_bandwidth"]
# eip_internet_charge_type - (optional) is a type of stringeip_internet_charge_type=scaling_config.value["eip_internet_charge_type"]
# is_bond_eip - (optional) is a type of boolis_bond_eip=scaling_config.value["is_bond_eip"]
# max_size - (required) is a type of numbermax_size=scaling_config.value["max_size"]
# min_size - (required) is a type of numbermin_size=scaling_config.value["min_size"]
# type - (optional) is a type of stringtype=scaling_config.value["type"]
}
}
dynamic"taints" {
for_each=var.taintscontent {
# effect - (optional) is a type of stringeffect=taints.value["effect"]
# key - (required) is a type of stringkey=taints.value["key"]
# value - (optional) is a type of stringvalue=taints.value["value"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}