22from shared .internal .security import IAM , IAMPOLICY
33from shared .internal .network import VPC , IGW , NATGATEWAY , ELB , ELBV2 , ROUTETABLE , SUBNET , NACL , SG , VPCPEERING
44from shared .internal .network import VPCENDPOINT
5- from shared .internal .compute import LAMBDA , EC2
5+ from shared .internal .compute import LAMBDA , EC2 , EKS
66from shared .internal .database import RDS , ELASTICACHE , DOCUMENTDB
77from shared .internal .storage import EFS , S3POLICY
88from shared .internal .analytics import ELASTICSEARCH , MSK
@@ -15,19 +15,36 @@ def __init__(self, vpc_options: VpcOptions):
1515 self .vpc_options = vpc_options
1616
1717 def run (self ):
18+
19+ """ IAM and VPC validations """
1820 IAM (self .vpc_options ).run ()
1921 VPC (self .vpc_options ).run ()
20- LAMBDA (self .vpc_options ).run ()
22+
23+ """ Compute resources """
2124 EC2 (self .vpc_options ).run ()
25+ LAMBDA (self .vpc_options ).run ()
26+ EKS (self .vpc_options ).run ()
27+
28+ """ Database resources """
2229 RDS (self .vpc_options ).run ()
23- EFS (self .vpc_options ).run ()
2430 ELASTICACHE (self .vpc_options ).run ()
25- IAMPOLICY (self .vpc_options ).run ()
26- S3POLICY (self .vpc_options ).run ()
27- ELASTICSEARCH (self .vpc_options ).run ()
2831 DOCUMENTDB (self .vpc_options ).run ()
32+
33+ """ Application resources """
2934 SQSPOLICY (self .vpc_options ).run ()
35+
36+ """ Storage resources """
37+ EFS (self .vpc_options ).run ()
38+ S3POLICY (self .vpc_options ).run ()
39+
40+ """ Analytics resources """
41+ ELASTICSEARCH (self .vpc_options ).run ()
3042 MSK (self .vpc_options ).run ()
43+
44+ """ Security resources """
45+ IAMPOLICY (self .vpc_options ).run ()
46+
47+ """ Network resources """
3148 IGW (self .vpc_options ).run ()
3249 NATGATEWAY (self .vpc_options ).run ()
3350 ELB (self .vpc_options ).run ()
@@ -37,4 +54,5 @@ def run(self):
3754 NACL (self .vpc_options ).run ()
3855 SG (self .vpc_options ).run ()
3956 VPCPEERING (self .vpc_options ).run ()
40- VPCENDPOINT (self .vpc_options ).run ()
57+ VPCENDPOINT (self .vpc_options ).run ()
58+
0 commit comments