Issue with Selecting the Correct Subnet when using Multiple Networks in a Cloud Template (YAML)
search cancel

Issue with Selecting the Correct Subnet when using Multiple Networks in a Cloud Template (YAML)

book

Article ID: 383045

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • Issue where the wrong subnet is selected for use due to an issue in the YAML code for the network in scenarios where there are multiple Cloud vSphere networks attached.

Environment

  • Aria Automation 8.x

Cause

Resolution

  • From the example code shown as per the Automation Assembler expression syntax.

    Change the map entry from:

    networks: ${map_to_object(resource.Cloud_vSphere_Network_1[*].id ... , "source")}

    to 

    networks: ${map_to_object(resource.Cloud_vSphere_Network_1[*].id ... , "network")}
  • Make sure that source replaced by network or any relevant resource (can be applied to disks etc.)