Run plan with existing local state file against resource that has changed crashes Terraform with 'Error: rpc error: code = Unavailable desc = transport is closing' #869
Labels
crash
Impact: Crash
Terraform version: v0.12.10
vSphere Provider version: v1.13.0
I have a simple script to add a portgroup to an ESXi host (as follows)
This adds the portgroup to a host specified as a variable correctly. I can plan and apply successfully.
Following this I can run plan again against the same host. It states that the same resource needs to be created again (1 to add) which I find strange. If I attempt to apply it tells me the resource already exists.
If I manually change the vLAN on the portgroup from 4095 to something else (i.e. 999) and then run plan against the host, Terraform crashes. My understanding is that it should show me that there is a difference between the locally saved state file and the deployed portgroup. I have this issue against multiple ESXi hosts.
I have attached the crash.log file to this issue ticket.
crash.log
The text was updated successfully, but these errors were encountered: