- Use generic variables and tfvars for each sub folder
- Use Remote state as data source
- Create state s3 bucket
- Provision vpc with 3 pub subnets and 3 private subnets
- Provision eks
- remote state for vpc as data source to be used by EKS
ln -s ../variables.tf variables.tf
ln -s ../terraform.auto.tfvars terraform.auto.tfvars
ln -s ../remote-state/remote-state-vpc.tf remote-state-vpc.tf
-
All AWS Snippets from Hasicorp Terraform AWS Provider