[Openstack] Heat SoftwareDeployment With Autoscaling
Binan AL Halabi
binanalhalabi at yahoo.com
Sun Jun 21 03:27:38 UTC 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150621/c9af9d25/attachment.html>
More information about the Openstack
mailing list