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_managed_kubernetes" {
source="./modules/alicloud/r/alicloud_cs_managed_kubernetes"# api_audiences - (optional) is a type of list of stringapi_audiences=[]
# availability_zone - (optional) is a type of stringavailability_zone=null# client_cert - (optional) is a type of stringclient_cert=null# client_key - (optional) is a type of stringclient_key=null# cluster_ca_cert - (optional) is a type of stringcluster_ca_cert=null# cluster_domain - (optional) is a type of stringcluster_domain=null# cluster_network_type - (optional) is a type of stringcluster_network_type=null# cluster_spec - (optional) is a type of stringcluster_spec=null# cpu_policy - (optional) is a type of stringcpu_policy=null# custom_san - (optional) is a type of stringcustom_san=null# deletion_protection - (optional) is a type of booldeletion_protection=null# enable_ssh - (optional) is a type of boolenable_ssh=null# encryption_provider_key - (optional) is a type of stringencryption_provider_key=null# exclude_autoscaler_nodes - (optional) is a type of boolexclude_autoscaler_nodes=null# force_update - (optional) is a type of boolforce_update=null# image_id - (optional) is a type of stringimage_id=null# install_cloud_monitor - (optional) is a type of boolinstall_cloud_monitor=null# is_enterprise_security_group - (optional) is a type of boolis_enterprise_security_group=null# key_name - (optional) is a type of stringkey_name=null# kms_encrypted_password - (optional) is a type of stringkms_encrypted_password=null# kms_encryption_context - (optional) is a type of map of stringkms_encryption_context={}
# kube_config - (optional) is a type of stringkube_config=null# load_balancer_spec - (optional) is a type of stringload_balancer_spec=null# name - (optional) is a type of stringname=null# name_prefix - (optional) is a type of stringname_prefix=null# new_nat_gateway - (optional) is a type of boolnew_nat_gateway=null# node_cidr_mask - (optional) is a type of numbernode_cidr_mask=null# node_name_mode - (optional) is a type of stringnode_name_mode=null# node_port_range - (optional) is a type of stringnode_port_range=null# os_type - (optional) is a type of stringos_type=null# password - (optional) is a type of stringpassword=null# platform - (optional) is a type of stringplatform=null# pod_cidr - (optional) is a type of stringpod_cidr=null# pod_vswitch_ids - (optional) is a type of list of stringpod_vswitch_ids=[]
# proxy_mode - (optional) is a type of stringproxy_mode=null# rds_instances - (optional) is a type of list of stringrds_instances=[]
# resource_group_id - (optional) is a type of stringresource_group_id=null# runtime - (optional) is a type of map of stringruntime={}
# security_group_id - (optional) is a type of stringsecurity_group_id=null# service_account_issuer - (optional) is a type of stringservice_account_issuer=null# service_cidr - (optional) is a type of stringservice_cidr=null# slb_internet_enabled - (optional) is a type of boolslb_internet_enabled=null# tags - (optional) is a type of map of stringtags={}
# timezone - (optional) is a type of stringtimezone=null# user_ca - (optional) is a type of stringuser_ca=null# user_data - (optional) is a type of stringuser_data=null# version - (optional) is a type of stringversion=null# vswitch_ids - (optional) is a type of list of stringvswitch_ids=[]
# worker_auto_renew - (optional) is a type of boolworker_auto_renew=null# worker_auto_renew_period - (optional) is a type of numberworker_auto_renew_period=null# worker_data_disk_category - (optional) is a type of stringworker_data_disk_category=null# worker_data_disk_size - (optional) is a type of numberworker_data_disk_size=null# worker_disk_category - (optional) is a type of stringworker_disk_category=null# worker_disk_performance_level - (optional) is a type of stringworker_disk_performance_level=null# worker_disk_size - (optional) is a type of numberworker_disk_size=null# worker_disk_snapshot_policy_id - (optional) is a type of stringworker_disk_snapshot_policy_id=null# worker_instance_charge_type - (optional) is a type of stringworker_instance_charge_type=null# worker_instance_type - (optional) is a type of stringworker_instance_type=null# worker_instance_types - (optional) is a type of list of stringworker_instance_types=[]
# worker_number - (optional) is a type of numberworker_number=null# worker_numbers - (optional) is a type of list of numberworker_numbers=[]
# worker_period - (optional) is a type of numberworker_period=null# worker_period_unit - (optional) is a type of stringworker_period_unit=null# worker_vswitch_ids - (required) is a type of list of stringworker_vswitch_ids=[]
addons=[{
config =null
disabled =null
name =null
}]
log_config=[{
project =null
type =null
}]
maintenance_window=[{
duration =null
enable =null
maintenance_time =null
weekly_period =null
}]
taints=[{
effect =null
key =null
value =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
worker_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
}]
}
resource"alicloud_cs_managed_kubernetes""this" {
# api_audiences - (optional) is a type of list of stringapi_audiences=var.api_audiences# availability_zone - (optional) is a type of stringavailability_zone=var.availability_zone# client_cert - (optional) is a type of stringclient_cert=var.client_cert# client_key - (optional) is a type of stringclient_key=var.client_key# cluster_ca_cert - (optional) is a type of stringcluster_ca_cert=var.cluster_ca_cert# cluster_domain - (optional) is a type of stringcluster_domain=var.cluster_domain# cluster_network_type - (optional) is a type of stringcluster_network_type=var.cluster_network_type# cluster_spec - (optional) is a type of stringcluster_spec=var.cluster_spec# cpu_policy - (optional) is a type of stringcpu_policy=var.cpu_policy# custom_san - (optional) is a type of stringcustom_san=var.custom_san# deletion_protection - (optional) is a type of booldeletion_protection=var.deletion_protection# enable_ssh - (optional) is a type of boolenable_ssh=var.enable_ssh# encryption_provider_key - (optional) is a type of stringencryption_provider_key=var.encryption_provider_key# exclude_autoscaler_nodes - (optional) is a type of boolexclude_autoscaler_nodes=var.exclude_autoscaler_nodes# force_update - (optional) is a type of boolforce_update=var.force_update# 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# is_enterprise_security_group - (optional) is a type of boolis_enterprise_security_group=var.is_enterprise_security_group# 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# kms_encryption_context - (optional) is a type of map of stringkms_encryption_context=var.kms_encryption_context# kube_config - (optional) is a type of stringkube_config=var.kube_config# load_balancer_spec - (optional) is a type of stringload_balancer_spec=var.load_balancer_spec# name - (optional) is a type of stringname=var.name# name_prefix - (optional) is a type of stringname_prefix=var.name_prefix# new_nat_gateway - (optional) is a type of boolnew_nat_gateway=var.new_nat_gateway# node_cidr_mask - (optional) is a type of numbernode_cidr_mask=var.node_cidr_mask# node_name_mode - (optional) is a type of stringnode_name_mode=var.node_name_mode# node_port_range - (optional) is a type of stringnode_port_range=var.node_port_range# os_type - (optional) is a type of stringos_type=var.os_type# password - (optional) is a type of stringpassword=var.password# platform - (optional) is a type of stringplatform=var.platform# pod_cidr - (optional) is a type of stringpod_cidr=var.pod_cidr# pod_vswitch_ids - (optional) is a type of list of stringpod_vswitch_ids=var.pod_vswitch_ids# proxy_mode - (optional) is a type of stringproxy_mode=var.proxy_mode# rds_instances - (optional) is a type of list of stringrds_instances=var.rds_instances# resource_group_id - (optional) is a type of stringresource_group_id=var.resource_group_id# runtime - (optional) is a type of map of stringruntime=var.runtime# security_group_id - (optional) is a type of stringsecurity_group_id=var.security_group_id# service_account_issuer - (optional) is a type of stringservice_account_issuer=var.service_account_issuer# service_cidr - (optional) is a type of stringservice_cidr=var.service_cidr# slb_internet_enabled - (optional) is a type of boolslb_internet_enabled=var.slb_internet_enabled# tags - (optional) is a type of map of stringtags=var.tags# timezone - (optional) is a type of stringtimezone=var.timezone# user_ca - (optional) is a type of stringuser_ca=var.user_ca# user_data - (optional) is a type of stringuser_data=var.user_data# version - (optional) is a type of stringversion=var.version# vswitch_ids - (optional) is a type of list of stringvswitch_ids=var.vswitch_ids# worker_auto_renew - (optional) is a type of boolworker_auto_renew=var.worker_auto_renew# worker_auto_renew_period - (optional) is a type of numberworker_auto_renew_period=var.worker_auto_renew_period# worker_data_disk_category - (optional) is a type of stringworker_data_disk_category=var.worker_data_disk_category# worker_data_disk_size - (optional) is a type of numberworker_data_disk_size=var.worker_data_disk_size# worker_disk_category - (optional) is a type of stringworker_disk_category=var.worker_disk_category# worker_disk_performance_level - (optional) is a type of stringworker_disk_performance_level=var.worker_disk_performance_level# worker_disk_size - (optional) is a type of numberworker_disk_size=var.worker_disk_size# worker_disk_snapshot_policy_id - (optional) is a type of stringworker_disk_snapshot_policy_id=var.worker_disk_snapshot_policy_id# worker_instance_charge_type - (optional) is a type of stringworker_instance_charge_type=var.worker_instance_charge_type# worker_instance_type - (optional) is a type of stringworker_instance_type=var.worker_instance_type# worker_instance_types - (optional) is a type of list of stringworker_instance_types=var.worker_instance_types# worker_number - (optional) is a type of numberworker_number=var.worker_number# worker_numbers - (optional) is a type of list of numberworker_numbers=var.worker_numbers# worker_period - (optional) is a type of numberworker_period=var.worker_period# worker_period_unit - (optional) is a type of stringworker_period_unit=var.worker_period_unit# worker_vswitch_ids - (required) is a type of list of stringworker_vswitch_ids=var.worker_vswitch_idsdynamic"addons" {
for_each=var.addonscontent {
# config - (optional) is a type of stringconfig=addons.value["config"]
# disabled - (optional) is a type of booldisabled=addons.value["disabled"]
# name - (optional) is a type of stringname=addons.value["name"]
}
}
dynamic"log_config" {
for_each=var.log_configcontent {
# project - (optional) is a type of stringproject=log_config.value["project"]
# type - (required) is a type of stringtype=log_config.value["type"]
}
}
dynamic"maintenance_window" {
for_each=var.maintenance_windowcontent {
# duration - (required) is a type of stringduration=maintenance_window.value["duration"]
# enable - (required) is a type of boolenable=maintenance_window.value["enable"]
# maintenance_time - (required) is a type of stringmaintenance_time=maintenance_window.value["maintenance_time"]
# weekly_period - (required) is a type of stringweekly_period=maintenance_window.value["weekly_period"]
}
}
dynamic"taints" {
for_each=var.taintscontent {
# effect - (optional) is a type of stringeffect=taints.value["effect"]
# key - (optional) 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"]
}
}
dynamic"worker_data_disks" {
for_each=var.worker_data_diskscontent {
# auto_snapshot_policy_id - (optional) is a type of stringauto_snapshot_policy_id=worker_data_disks.value["auto_snapshot_policy_id"]
# category - (optional) is a type of stringcategory=worker_data_disks.value["category"]
# device - (optional) is a type of stringdevice=worker_data_disks.value["device"]
# encrypted - (optional) is a type of stringencrypted=worker_data_disks.value["encrypted"]
# kms_key_id - (optional) is a type of stringkms_key_id=worker_data_disks.value["kms_key_id"]
# name - (optional) is a type of stringname=worker_data_disks.value["name"]
# performance_level - (optional) is a type of stringperformance_level=worker_data_disks.value["performance_level"]
# size - (optional) is a type of stringsize=worker_data_disks.value["size"]
# snapshot_id - (optional) is a type of stringsnapshot_id=worker_data_disks.value["snapshot_id"]
}
}
}