-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate structure.sh
More file actions
37 lines (33 loc) · 1.5 KB
/
update structure.sh
File metadata and controls
37 lines (33 loc) · 1.5 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
36
#!/bin/bash
declare -A DIR_STRUCTURE=(
["Cloud-Cost-Optimization-Scripts"]=".gitkeep"
["Event-Driven-Automation"]=".gitkeep"
["Python-Automation-SDK-Scripts"]="ansible api-scripts/python api-scripts/swagger api-scripts/rest api-scripts/graphql postman python .gitkeep"
["automation-scripts"]="infrastructure-automation python scheduled-tasks .gitkeep"
["aws"]="cloudformation ec2 iam lambda monitoring s3 .gitkeep"
["azure"]="arm-templates azure-functions monitoring storage virtual-machines .gitkeep"
["backup-recovery"]="automation .gitkeep"
["bash-shell-scripts"]=".gitkeep"
["chef"]="cookbooks .gitkeep"
["cicd"]="github-actions gitlab-ci jenkins .gitkeep"
["database-automation"]=".gitkeep"
["docker"]="Dockerfile .gitkeep"
["gcp"]="bigquery cloud-storage compute-engine monitoring .gitkeep"
["iam-automation"]="user-management .gitkeep"
["kubernetes"]="deployments helm-charts ingress services .gitkeep"
["monitoring-logging"]="aws-cloudwatch azure-monitor grafana .gitkeep"
["network-config"]="vpn .gitkeep"
["powershell"]=".gitkeep"
["puppet"]="manifests modules .gitkeep"
["security"]="backup-and-recovery iam-management vulnerability-scanning .gitkeep"
["serverless"]="lambda .gitkeep"
["terraform"]="aws azure gcp modules .gitkeep"
["utilities"]="bash-scripts python-scripts .gitkeep"
)
for dir in "${!DIR_STRUCTURE[@]}"; do
mkdir -p "$dir"
for subdir in ${DIR_STRUCTURE[$dir]}; do
mkdir -p "$dir/$subdir"
done
done
echo "Directory structure updated successfully!"