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

Returns a new instance of MultipleSecurityGroupError.



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

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