Closed lstyles closed 5 years ago
@hyonholee would you mind taking a look?
@hyonholee @cormacpayne I've also asked our engineering team if we know of the correct workaround here as I feel we must have encountered it before, please let us know how we can support.
@hyonholee, @stuartpreston, @cormacpayne we are working on fixing this issue.
@lstyles The fix for this available in latest release. Could you please confirm that the fix is working as expected ?
@Vasu1105 sure. Could you confirm what's the latest release version?
Please reopen if this is not working in the latest version of Az (1.2.0)
Description
Set-AzureRmVMChefExtension - Data provided in -BootstrapOption parameter is not serialized correctly. The cmdlet runs and finishes correctly, but the generated 0.settings file contains incorrect value for "bootstrap_options" key.
Current (incorrect): "publicSettings": {"bootstrap_options":"{'chef_node_name':'dksapi01as-02','environment':'development'}"
Expected (correct): "publicSettings": {"bootstrap_options": {'chef_node_name':'dksapi01as-02','environment':'development'}
In the top (incorrect) one, bootstrap_options object is a string when it should be a json object.
Script/Steps for Reproduction
Module Version
Environment Data
Debug Output