This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -x
3
3
4
-
5
4
# Validate that azure-guardrails tool is installed
6
5
if ! command -v azure-guardrails & > /dev/null
7
6
then
8
7
echo " azure-guardrails could not be found. Please download and install the tool from https://github.com/salesforce/azure-guardrails/"
9
8
exit
10
9
fi
11
10
12
-
13
11
# Validate that Terraform 0.12 is installed and in use
14
12
is_tf_version_12=$( terraform version | grep -m1 " " | grep -m1 " 0\.12\." ) ;
15
13
@@ -63,24 +61,9 @@ declare -a dirs=( ${no_params_folder} ${params_optional_folder} ${params_require
63
61
64
62
for dir in ${dirs[@]} ; do
65
63
cd ./$dir /
66
- echo " Running terraform validate in $$ {dir}... " ;
64
+ echo " Running terraform validate in $$ {dir}.." ;
67
65
terraform init -backend=false
68
66
terraform validate
69
67
echo $!
70
68
cd ../../
71
69
done
72
- #
73
- # cd ${no_params_folder}
74
- # terraform init -backend=false
75
- # terraform validate
76
- # cd ../../
77
- #
78
- # cd ${params_optional_folder}
79
- # terraform init -backend=false
80
- # terraform validate
81
- # cd ../../
82
- #
83
- # cd ${params_required_folder}
84
- # terraform init -backend=false
85
- # terraform validate
86
- # cd ../../
You can’t perform that action at this time.
0 commit comments