【发布时间】:2021-11-01 13:03:24
【问题描述】:
尝试通过 Terraform 在 GCP 上配置具有 2-NIC 部署的独立 BIG-IP。执行 Terraform 时出现以下错误。
module.instance.google_compute_instance.bigip[0]: Creating...
module.instance.google_compute_instance.bigip[0]: Still creating... [10s elapsed]
module.instance.google_compute_instance.bigip[0]: Still creating... [20s elapsed]
module.instance.google_compute_instance.bigip[0]: Still creating... [30s elapsed]
module.instance.google_compute_instance.bigip[0]: Still creating... [40s elapsed]
Error: Error waiting for instance to create: Networks must be distinct for NICs attached to a VM.
我正在关注 https://github.com/memes/terraform-google-f5-bigip/tree/main/examples/standalone-2nic 文章来配置 2 个 NIC。
我已经替换了所有必需的输入
project_id = "my-project-id"
zone = "us-west1-c"
external_subnet = "https://www.googleapis.com/compute/v1/projects/my-project-id/regions/us-west1/subnetworks/ext-west"
management_subnet = "https://www.googleapis.com/compute/v1/projects/my-project-id/regions/us-west1/subnetworks/mgmt-west"
admin_password_key = "bigip-admin-password-key"
service_account = "bigip@my-project-id.iam.gserviceaccount.com"
有什么想法吗?
【问题讨论】:
标签: google-cloud-platform terraform terraform-provider-gcp f5