Terrafrom gcp google_compute_instance市场列出的图像失败

时间:2020-09-28 22:48:23

标签: marketplace terraform-provider-gcp

我正在尝试弄清如何使用terraform部署GCP市场列出的图像。我选择了: powerprotect-dd-virtual-edition-1

Tags
cloud-marketplace               dellemc-ddve-public-powerprotect-dd-virtual-edition
cloud-marketplace-partner-id    dellemc-ddve-public
cloud-marketplace-solution-id   powerpr

otect-dd-virtual-edition

我用过:

resource "google_compute_instance" "default" {
  name         = "test"
  project      = var.gcp_project
  machine_type = "n1-standard-1"
  zone         = var.gcp_region


  boot_disk {
    initialize_params {
      image = "dellemc-ddve-public-powerprotect-dd-virtual-edition"
    }
  }
  network_interface {
    network = "default"

    access_config {
      // Ephemeral IP
    }
  }
}

我确实从terraform获得了应用:

google_compute_instance.default:正在创建...

错误:解析映像名称“ dellemc-ddve-public-powerprotect-dd-virtual-edition”时出错:找不到映像或家庭dellemc-ddve -public-powerprotect-dd-虚拟版本

只是想知道如何才能从Marketplace图片中找到图片名称。

0 个答案:

没有答案