Skip to content

Commit

Permalink
Merge pull request #11 from yoheimuta/set-maxsize-when-capacity-input/9
Browse files Browse the repository at this point in the history
(refs #9)Set maxsize of autoscaling group to avoid scale out when an argument of capacity is not empty
  • Loading branch information
yoheimuta committed May 6, 2015
2 parents 9699231 + cc8f3d8 commit 410c4f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/autoscaling/create_group.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ module.exports = (robot) ->
params.LaunchConfigurationName = conf
params.DesiredCapacity = capacity
params.MinSize = capacity
params.MaxSize = capacity

if dry_run
msg.send util.inspect(params, false, null)
Expand Down

0 comments on commit 410c4f5

Please sign in to comment.