(context)
return {'resources': resources}
Generate the yaml config for a pool of instances.
Generate the yaml config for a pool of instances.
Generate the yaml config for a pool of instances .
def GenerateConfig(context):
  """Generate the yaml config for a pool of instances."""
  resources = []
  for index in range(1, context.properties['count'] + 1):
    resources.append(GenerateInstanceConfig(context, index))
  return {'resources': resources}
def GenerateConfig ( context ) : resources = [ ] for index in range ( 1 , context . properties [ 'count' ] + 1 ) : resources . append ( GenerateInstanceConfig ( context , index ) ) return { 'resources' : resources }