This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
## Create a VPC Peering connection between EKS and RDS Postgres | |
echo """ run this script as: | |
./eks-rds-peering.sh | |
+ read -p 'Enter name of EKS Cluster: ' EKS_CLUSTER | |
Enter name of EKS Cluster: xolv-dev-cluster | |
+ EKS_VPC=eksctl-xolv-dev-cluster-cluster/VPC | |
+ EKS_PUBLIC_ROUTING_TABLE=eksctl-xolv-dev-cluster-cluster/PublicRouteTable | |
+ read -p 'Enter name of RDS: ' RDS_DB_NAME | |
Enter name of RDS: sfstackuat |