-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstructure.sh
More file actions
executable file
·32 lines (24 loc) · 798 Bytes
/
structure.sh
File metadata and controls
executable file
·32 lines (24 loc) · 798 Bytes
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
#!/bin/bash
set -e
BASE_DIR="eks-gitops-platform"
# Create base structure
mkdir -p "$BASE_DIR/modules/eks"
mkdir -p "$BASE_DIR/modules/flux"
mkdir -p "$BASE_DIR/modules/istio"
mkdir -p "$BASE_DIR/modules/postgres"
mkdir -p "$BASE_DIR/modules/komodor"
mkdir -p "$BASE_DIR/modules/vault"
mkdir -p "$BASE_DIR/modules/cert_manager"
mkdir -p "$BASE_DIR/modules/namespaces"
mkdir -p "$BASE_DIR/flux-kustomize/test-app"
mkdir -p "$BASE_DIR/manifests/istio"
mkdir -p "$BASE_DIR/manifests/vault"
mkdir -p "$BASE_DIR/manifests/cert-manager"
mkdir -p "$BASE_DIR/scripts"
# Touch root files
touch "$BASE_DIR/main.tf"
touch "$BASE_DIR/variables.tf"
touch "$BASE_DIR/outputs.tf"
touch "$BASE_DIR/README.md"
echo ".terraform/" > "$BASE_DIR/.gitignore"
echo "✅ Folder structure created under: $BASE_DIR"