Change vnic netstack property default value to 'defaultTcpipStack' as the 'default' value does not exist #1376
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Change default value to 'defaultTcpipStack' as the 'default' value does not exist
The test uses the correct value to test, which is why this probably went unnoticed.
Acceptance tests
The current test already is valid, however it overwrites the default value and as such this has gone unnoticed.
No, tests need a test vsphere cluster which I currently do not have available. However, this makes the code work as specified in the documentation:
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/vnic
netstack - (Optional) TCP/IP stack setting for this interface. Possible values are 'defaultTcpipStack', 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default: defaultTcpipStack)
Release Note
Release note for CHANGELOG:
References