josenk / terraform-provider-esxi

Terraform-provider-esxi plugin
GNU General Public License v3.0
540 stars 154 forks source link

Portgroup Security Policy not inheriting from vSwitch #161

Closed kurotorakun closed 2 years ago

kurotorakun commented 2 years ago

Describe the bug After 1.9.1 release, Portgroup Security policy is not inherited from vSwitch. In the pull, #153 , that triggers the release seems that the security policy can be configured, but there is no documentation for that.

To Reproduce 1.- create a vSwitch resource that modifies default params (for example, promiscuous = "true") 2.- create a Portgroup resource 3.- deploy infra (terraform apply) 4.- once completed, vSwitch security param is set as written. Portgroup security policy is set to default.

Expected behavior In 1.8.3 version the portgroups were inheriting settings from vSwitch.

Additional context From #153 seems that the Portgroup security policy can be configured, but no documentation is registered.

kurotorakun commented 2 years ago

Dear josenk,

I opened as an issue, but if the documentation is written, it just an improve of the Portgroup resource creation. Also, using version 1.8.3 can be used as a workaround.

Thanks in advance, K.

josenk commented 2 years ago

Yes, I can confirm this problem... I will fix it in the next release.

josenk commented 2 years ago

Fixed in https://github.com/josenk/terraform-provider-esxi/tree/v1.10.0

kurotorakun commented 2 years ago

Dear @josenk ,

Thanks for the feedback. I can confirm that version 1.10.0 solves the issue with portgroup inheritance.

Issue can be closed.

Thanks, K.