When providerSpec contains non-existent "folder", "datastore" or "resource pool" machine should fail with an invalid configuration error.
Steps for QE to reproduce:
1. provide non-existent "folder", "datastore" or "resource pool" in providerSpec
2. Watch machine go to failed state
Verified in 4.5.0-0.nightly-2020-05-24-223848, machine will be Failed when the providerSpec has invalid datastore, folder and resource pool.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.