Exception: Chef::Provisioning::AWSDriver::Exceptions::MultipleSecurityGroupError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/chef/provisioning/aws_driver/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, groups) ⇒ MultipleSecurityGroupError



7
8
9
10
# File 'lib/chef/provisioning/aws_driver/exceptions.rb', line 7

def initialize(name, groups)
  super "Found security groups with ids [#{groups.map {|sg| sg.id}}] that share name #{name}. " \
    "Names are unique within VPCs - specify VPC to find by name."
end