google_container_cluster子网错误将不再适用

时间:2018-12-18 16:53:33

标签: google-cloud-platform terraform google-kubernetes-engine

我的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”

0 个答案:

没有答案