lib/osa/security_groups.rb
def retrieve_remote_group
      self.each_security_group do |sg|
        sg.rules.map do |rule|
          next if rule.group.nil? || rule.group == rule.parent_group_name
          rule.group = self.find_by(:name, sg.name)
        end
      end
    end
# retrieve all remote/parent security groups and add it to the group of each rule
#
# @return [SecurityGroups] object
#
retrieve all remote/parent security groups and add it to the group of each rule
retrieve all remote / parent security groups and add it to the group of each rule
def retrieve_remote_group
      self.each_security_group do |sg|
        sg.rules.map do |rule|
          next if rule.group.nil? || rule.group == rule.parent_group_name
          rule.group = self.find_by(:name, sg.name)
        end
      end
    end
def retrieve_remote_group self . each_security_group do | sg | sg . rules . map do | rule | next if rule . group . nil? || rule . group == rule . parent_group_name rule . group = self . find_by ( :name , sg . name ) end end end
retrieve all remote/parent security groups and add it to the group of each rule
retrieve all remote / parent security groups and add it to the group of each rule
None
SecurityGroups