Beispiel #1
0
 def test_jarombek_com_yeezus_public_subnet_rt_configured(self) -> None:
     """
     Determine if the jarombek-com-yeezus-public-subnet routing table is configured and available as expected.
     """
     vpc = VPC.get_vpcs('jarombek-com-vpc')[0]
     subnet = VPC.get_subnets('jarombek-com-yeezus-public-subnet')[0]
     route_table = VPC.get_route_table('jarombek-com-vpc-public-subnet-rt')[0]
     internet_gateway = VPC.get_internet_gateways('jarombek-com-vpc-internet-gateway')[0]
 
     self.assertTrue(VPC.route_table_configured(
         route_table,
         vpc.get('VpcId'),
         subnet.get('SubnetId'),
         internet_gateway.get('InternetGatewayId')
     ))