Method: CloudSpec::AMZN_CLI#groups

Defined in:
lib/cloudspec/cli.rb

#groupsObject



53
54
55
56
57
58
59
60
61
62
63
# File 'lib/cloudspec/cli.rb', line 53

def groups
  validate

  groups = CloudSpec::AMZN::SecurityGroups.new
  CloudSpec.log.info 'Beginning group harvest ...'
  groups.harvest
  CloudSpec.log.info 'Group harvest complete.'
rescue => e
  CloudSpec.log.error e.to_s
  exit 1
end