Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dataclouder opened this issue Mar 13, 2024 · 1 comment
Closed

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

dataclouder opened this issue Mar 13, 2024 · 1 comment
Labels

Comments

@dataclouder
Copy link
Collaborator

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 added a commit to dataclouder/terraform-provider-vcd that referenced this issue Mar 18, 2024
Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
dataclouder added a commit that referenced this issue Mar 18, 2024
* Add provider VDC creation without network pool
* Fix Issue #1221 (error in portgroup pool data source)
* Add Changelog entries

---------

Signed-off-by: Giuseppe Maxia <giuseppe.maxia@broadcom.com>
@dataclouder
Copy link
Collaborator Author

Fixed in PR #1220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant