vmware / terraform-provider-vcd

Terraform VMware Cloud Director provider
https://www.terraform.io/docs/providers/vcd/
Mozilla Public License 2.0
151 stars 112 forks source link

Portgroup backed network pool can't have a data source #1221

Closed dataclouder closed 8 months ago

dataclouder commented 8 months ago

Given this data source for an existing network pool:

data "vcd_network_pool" "pg1" {
  name = "pg1"
}

Running terraform plan meets this error

│ Error: [network pool read] error setting backing : Invalid address to set: []string{"backing", "0", "port_group"}
│
│   with data.vcd_network_pool.pg1,
│   on config.tf line 42, in data "vcd_network_pool" "pg1":
│   42: data "vcd_network_pool" "pg1" {
│
dataclouder commented 8 months ago

Fixed in PR #1220