def setup_yugabyte_sg(self):
    sg_group_name = get_yb_sg_name(self.region)
    rules = list(self.metadata['sg_rules'])
    for r in rules:
        r.update({'cidr_ip': IGW_CIDR})
    sg = create_security_group(client=self.client, group_name=sg_group_name, description='YugaByte SG', vpc=self.vpc, rules=rules)
    self.sg_yugabyte = sg
def setup_yugabyte_sg(self):
    sg_group_name = get_yb_sg_name(self.region)
    rules = list(self.metadata['sg_rules'])
    for r in rules:
        r.update({'cidr_ip': IGW_CIDR})
    sg = create_security_group(client=self.client, group_name=sg_group_name, description='YugaByte SG', vpc=self.vpc, rules=rules)
    self.sg_yugabyte = sg