def add_ingress_rule(cl, sg_group, cidr_ip, from_port, to_port, protocol = 'tcp')
      cl.authorize_security_group_ingress(
        :cidr_ip     => cidr_ip,
        :ip_protocol => protocol,
        :from_port   => from_port,
        :to_port     => to_port,
        :group_id    => sg_group.group_id,
      )
    end
def add_ingress_rule(cl, sg_group, cidr_ip, from_port, to_port, protocol = 'tcp')
      cl.authorize_security_group_ingress(
        :cidr_ip     => cidr_ip,
        :ip_protocol => protocol,
        :from_port   => from_port,
        :to_port     => to_port,
        :group_id    => sg_group.group_id,
      )
    end
Authorizes connections from certain CIDR to a range of ports

 @param cl [Aws::EC2::Client]
 @param sg_group [Aws::EC2::SecurityGroup] the AWS security group
 @param cidr_ip [String] CIDR used for outbound security group rule
 @param from_port [String] Starting Port number in the range
 @param to_port [String] Ending Port number in the range
 @return [void]
 @api private