Sha256: 5e5eea7c723dd64f2b344895dc0bc09548a3e924dbd66e3a7ab631037d4ba336
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
#!/usr/bin/env ruby require 'awstool' require 'pp' options = Awstool::Settings.get_options pp options options['hostnames'].each do |hostname| if options['subnet_balance'] options['subnet-id-index'] = ( options['subnet-id-index'] + 1 ) % ( options['subnet-ids'].length - 1 ) end options['tags']['Name'] = hostname options['hostname'] = hostname instance = Awstool::Instance.new(options) instance.launch instance.set_dns end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
awstool-0.1.0 | bin/awstool |