使用
错误::解析映像名称'powerprotect-dd-virtual-edition / dellemc-ddve-p时出错 ublic':找不到图片或家庭powerprotect-dd-virtual-edition / dellemc-dd 大众
但是,当我在GCP Marketplace上搜索“ PowerProtect DD虚拟版”时,却得到了如下网址: https://console.cloud.google.com/marketplace/details/dellemc-ddve-public/powerprotect-dd-virtual-edition?authuser=andso上。
提取dellemc-ddve-public / powerprotect-dd-virtual-edition并将其放入terraform google_compute_instance中,例如:
provider "google" {
credentials = file("../project-XXX19fc34.json")
project = XXX_project
region = var.gcp_region
zone = var.gcp_zone
}
resource "google_compute_instance" "vm-instance" {
name = "ddve-XXXX-20-65"
machine_type = "f1-micro"
tags = ["creator", "XXX"]
boot_disk {
initialize_params {
# image = "debian-cloud/debian-9"
# image = "family name: powerprotect-dd-virtual-edition/ProjectID:dellemcXXXXXc"
image = "powerprotect-dd-virtual-edition/dellemc-ddve-public"
}
}
地形应用收益: google_compute_instance.vm-instance:正在创建...
错误:解析映像名称'powerprotect-dd-virtual-edition / dellemc-ddve-p时出错 ublic':找不到图片或家庭powerprotect-dd-virtual-edition / dellemc-dd 大众
我如何找出可以使用的姓氏和ProjectId?