【问题标题】:Standalone BIG-IP with 2-NIC deployment on GCP在 GCP 上部署 2-NIC 的独立 BIG-IP
【发布时间】: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


    【解决方案1】:

    每个 NIC 接口必须连接到不同的 VPC 网络。错误消息通知您正在附加到同一个 VPC。

    Creating instances with multiple network interfaces

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-02-09
      • 1970-01-01
      • 2013-05-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-22
      • 2021-12-13
      相关资源
      最近更新 更多