我的gke群集配置永远不会进入状态,因为网络和子网字段已损坏
resource "google_container_cluster" "ssss" {
subnetwork = "${data.google_compute_subnetwork.subnetwork.self_link}"
我在申请时看到了这一点:
subnetwork: "projects/dddddddd/regions/us-east1/subnetworks/vpc123" => "https://www.googleapis.com/compute/v1/projects/dddddddd/regions/us-east1/subnetworks/vpc123"
然后我尝试使用网络名称: 资源“ google_container_cluster”“ ssss” {
subnetwork = "${data.google_compute_subnetwork.subnetwork.name}"
我看到了:
子网络:“ projects / dddddddd / regions / us-east1 / subnetworks / vpc123” =>“ vpc123”