HewlettPackard / terraform-provider-oneview

Automates the provisioning of physical infrastructure from a private cloud using templates from HPE OneView with Terraform
Apache License 2.0
49 stars 30 forks source link

netset update networks described in plan not correct? #499

Closed rismoney closed 2 years ago

rismoney commented 2 years ago

this is a cosmetic issue in the plan/output.

When you add a network to an existing netset, (it works) but the tf apply seems to indicate a "-" next to the the existing networks, leading you to believe there will be network deletions from the netset, but that is not the case. It does work and does the right thing, but just wanted to raise awareness.

let me know if you need screengrabs or more info.

nabhajit-ray commented 2 years ago

We will look into this and get back to you

nabhajit-ray commented 2 years ago

Hi @rismoney ,

Not able to reproduce. We are getting below

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place

Terraform will perform the following actions:

oneview_network_set.NetworkSet will be updated in-place

~ resource "oneview_network_set" "NetworkSet" { id = "TestNetworkSet" name = "TestNetworkSet"

Plan: 0 to add, 1 to change, 0 to destroy.

Please share the screenshot and the configuration file

nabhajit-ray commented 2 years ago

Did not hear from you. Closing it here. Please raise another issue in case it is observed again