1. create a stack with heat asg:
****************************************
heat_template_version: 2015-04-30
parameters:
net:
type: string
default: 4c6d3e5e-2bf2-444d-ac50-33b16a4cb6b6
resources:
my_asg:
type: OS::Heat::AutoScalingGroup
properties:
resource:
type: OS::Nova::Server
properties:
flavor: 1
image: cirros-0.3.0-x86_64-disk
networks:
- network: {get_param: net}
max_size: 4
min_size: 1
******************************************
2. update the stack with aws asg, with the same resource name 'my_asg'
******************************************
heat_template_version: 2015-04-30
parameters:
subnet:
type: string
default: 77fbd9dd-50a1-417b-ab82-03d47f0b535e
resources:
my_asg:
type: AWS::AutoScaling::AutoScalingGroup
properties:
AvailabilityZones: ['nova']
LaunchConfigurationName: {get_resource: lc}
MaxSize: 4
MinSize: 1
VPCZoneIdentifier:
- get_param: subnet
lc:
type: AWS::AutoScaling::LaunchConfiguration
properties:
ImageId: cirros-0.3.0-x86_64-disk
InstanceType: 1
*********************************************
3. stack update failed, the reason: http://paste.openstack.org/show/487530/
4. the dependencies of stack is the old one, we should reset the dependencies when and resource for stack.
Fix proposed to branch: master /review. openstack. org/282237
Review: https:/