Hi all,I have this part of my Heat template:
# Autoscaling group definition
  auto-scaling-group:
    type: OS::Heat::AutoScalingGroup
    properties:
      min_size: 1
      max_size: 1
      resource:
        type: OS::Nova::Server
        properties:
          flavor: { get_param: flavor }
          image: { get_param: image }
          key_name: { get_param: key }
          networks:
            - port: { get_resource: server_port }
          user_data_format: SOFTWARE_CONFIG
          software_config_transport: POLL_SERVER_HEAT

  deployment:
    type: OS::Heat::SoftwareDeployment
    properties:
      config:
        get_resource: config
      server: { get_attr: [auto-scaling-group, resource] } 
??????????????????????????????????
      input_values:
        foo: fooooo
        bar: baaaaa
      signal_transport : CFN_SIGNAL

The SoftwareDeployment is applied to the servers in the autoscaling group. The 
question:  how i specify the server field in the SoftwareDeployment to refrence 
to the server in autoscaling group ?
Thanks
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to