We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Missing required argument
on main.tf line 848, in resource "alicloud_cs_managed_kubernetes" "ack": 848: resource "alicloud_cs_managed_kubernetes" "ack" {
The argument "worker_vswitch_ids" is required, but no definition was found.
resource "alicloud_cs_managed_kubernetes" "ack" { count = var.enable_alibaba ? 1 : 0
name = "${var.ack_name}-${random_id.cluster_name[count.index].hex}" vswitch_ids = alicloud_vswitch.vswitches..id new_nat_gateway = true worker_instance_types = var.ack_node_types. worker_number = var.ack_node_count key_name = alicloud_key_pair.publickey[count.index].key_name pod_cidr = var.ack_k8s_pod_cidr service_cidr = var.ack_k8s_service_cidr install_cloud_monitor = true slb_internet_enabled = true cluster_network_type = var.ack_k8s_cni kube_config = "./kubeconfig_ack"
force_update = true
depends_on = [alicloud_snat_entry.default] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error: Missing required argument
on main.tf line 848, in resource "alicloud_cs_managed_kubernetes" "ack":
848: resource "alicloud_cs_managed_kubernetes" "ack" {
The argument "worker_vswitch_ids" is required, but no definition was found.
Create the managed Kubernetes cluster
resource "alicloud_cs_managed_kubernetes" "ack" {
count = var.enable_alibaba ? 1 : 0
name = "${var.ack_name}-${random_id.cluster_name[count.index].hex}"
vswitch_ids = alicloud_vswitch.vswitches..id
new_nat_gateway = true
worker_instance_types = var.ack_node_types.
worker_number = var.ack_node_count
key_name = alicloud_key_pair.publickey[count.index].key_name
pod_cidr = var.ack_k8s_pod_cidr
service_cidr = var.ack_k8s_service_cidr
install_cloud_monitor = true
slb_internet_enabled = true
cluster_network_type = var.ack_k8s_cni
kube_config = "./kubeconfig_ack"
force_update = true
depends_on = [alicloud_snat_entry.default]
}
The text was updated successfully, but these errors were encountered: