updating aws-ha-release to fix error that occured when terminating instances outside of us-east-1 region.
This commit is contained in:
		
							parent
							
								
									ca1e84fec5
								
							
						
					
					
						commit
						8966b8fdf3
					
				| @ -150,7 +150,7 @@ do | |||||||
| 	sleep $elb_timeout | 	sleep $elb_timeout | ||||||
| 	#terminates a pre-existing instance within the autoscaling group | 	#terminates a pre-existing instance within the autoscaling group | ||||||
| 	echo "Instance $instance_selected will now be terminated. By terminating this Instance, the actual capacity will be decreased to 1 under desired-capacity." | 	echo "Instance $instance_selected will now be terminated. By terminating this Instance, the actual capacity will be decreased to 1 under desired-capacity." | ||||||
| 	as-terminate-instance-in-auto-scaling-group --instance $instance_selected --no-decrement-desired-capacity --force > /dev/null | 	as-terminate-instance-in-auto-scaling-group --region $region --instance $instance_selected --no-decrement-desired-capacity --force > /dev/null | ||||||
| done | done | ||||||
| 
 | 
 | ||||||
| #return max-size to initial size | #return max-size to initial size | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Colin Johnson
						Colin Johnson