コード例 #1
0
 def test_jarombek_com_yeezus_public_subnet_configured(self) -> None:
     """
     Determine if the jarombek-com-yeezus-public-subnet is configured and available as expected.
     """
     vpc = VPC.get_vpcs('jarombek-com-vpc')[0]
     subnet = VPC.get_subnets('jarombek-com-yeezus-public-subnet')[0]
 
     self.assertTrue(VPC.subnet_configured(vpc, subnet, 'us-east-1a', '10.0.1.0/24'))
コード例 #2
0
 def test_jarombek_com_reputation_private_subnet_configured(self) -> None:
     """
     Determine if the jarombek-com-reputation-private-subnet is configured and available as expected.
     """
     vpc = VPC.get_vpcs('jarombek-com-vpc')[0]
     subnet = VPC.get_subnets('jarombek-com-reputation-private-subnet')[0]
 
     self.assertTrue(VPC.subnet_configured(vpc, subnet, 'us-east-1d', '10.0.4.0/24'))
コード例 #3
0
    def test_sandbox_fearless_public_subnet_configured(self) -> None:
        """
        Determine if the sandbox 'fearless' public Subnet is configured and available as expected.
        """
        vpc = VPC.get_vpcs('sandbox-vpc')[0]
        subnet = VPC.get_subnets('sandbox-vpc-fearless-public-subnet')[0]

        self.assertTrue(
            VPC.subnet_configured(vpc, subnet, 'us-east-1a', '10.2.1.0/24'))
コード例 #4
0
    def test_application_lisag_public_subnet_configured(self) -> None:
        """
        Determine if the saints-xctf-com-lisag-public-subnet is configured and available as expected.
        """
        vpc = VPC.get_vpcs('application-vpc')[0]
        subnet = VPC.get_subnets('saints-xctf-com-lisag-public-subnet')[0]

        self.assertTrue(
            VPC.subnet_configured(vpc, subnet, 'us-east-1b', '10.0.1.0/24'))
コード例 #5
0
    def test_kubernetes_dotty_public_subnet_configured(self) -> None:
        """
        Determine if the kubernetes dotty public Subnet is configured and available as expected.
        """
        vpc = VPC.get_vpcs('application-vpc')[0]
        subnet = VPC.get_subnets('kubernetes-dotty-public-subnet')[0]

        self.assertTrue(
            VPC.subnet_configured(vpc, subnet, 'us-east-1b', '10.0.6.0/24'))
コード例 #6
0
    def test_application_carolined_private_subnet_configured(self) -> None:
        """
        Determine if the saint-sxctf-com-carolined-private-subnet is configured and available as expected.
        """
        vpc = VPC.get_vpcs('application-vpc')[0]
        subnet = VPC.get_subnets('saints-xctf-com-carolined-private-subnet')[0]

        self.assertTrue(
            VPC.subnet_configured(vpc, subnet, 'us-east-1c', '10.0.4.0/24'))
コード例 #7
0
    def test_kubernetes_grandmas_blanket_public_subnet_configured(
            self) -> None:
        """
        Determine if the kubernetes grandmas blanket public Subnet is configured and available as expected.
        """
        vpc = VPC.get_vpcs('application-vpc')[0]
        subnet = VPC.get_subnets(
            'kubernetes-grandmas-blanket-public-subnet')[0]

        self.assertTrue(
            VPC.subnet_configured(vpc, subnet, 'us-east-1a', '10.0.5.0/24'))