code: def _deployment_menu_entry(deployment):
      
      paths = ", ".join([_module_name_for_display(module) for module in deployment['modules']])
      regions = ", ".join(deployment.get('regions', []))
      return "%s - %s (%s)" % (deployment.get('name'), paths, regions)
docs: Build a string to display in the 'select deployment' menu.