I have the following autoscaling as a Cloudformation template :
MyAutoScalingGroup:
Type: AWS::AutoScaling::AutoScalingGroup
Properties:
DesiredCapacity: 1
MinSize: 1
MaxSize: 1
LaunchConfigurationName: !Ref MyLaunchConfiguration
AvailabilityZones: !GetAZs
I am struggling with defining suspended processes inside Cloudformation template.
Trying an intuitive approach ( adding it as property) and it does not work at all :
MyAutoScalingGroup:
Type: AWS::AutoScaling::AutoScalingGroup
Properties:
DesiredCapacity: 1
MinSize: 1
MaxSize: 1
LaunchConfigurationName: !Ref MyLaunchConfiguration
AvailabilityZones: !GetAZs
SuspendedProcesses:
- AZRebalance
- Terminate