-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathinfra-plan.sh
More file actions
executable file
·35 lines (32 loc) · 1.08 KB
/
infra-plan.sh
File metadata and controls
executable file
·35 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# echo "*****************************************************************"
# echo "Deploying s3 backend module"
# echo "*****************************************************************"
# cd terraform/resources/s3-backend-with-replication
# terraform init
# terraform fmt
# terraform plan
# cd -
echo "*****************************************************************"
echo "Deploying the VPC module"
echo "*****************************************************************"
cd terraform/resources/vpc
terraform init
terraform fmt
terraform plan
cd -
echo "*****************************************************************"
echo "Deploying the bastion host module"
echo "*****************************************************************"
cd terraform/resources/bastion-host
terraform init
terraform fmt
terraform plan
cd -
echo "*****************************************************************"
echo "Deploying the eks-control-plane module"
echo "*****************************************************************"
cd terraform/resources/eks-control-plane
terraform init
terraform fmt
terraform plan
cd -