You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"Error, unknown availability type '$availType'."
@@ -181,8 +181,13 @@ else
181
181
fi
182
182
#
183
183
# Ensure all the required parameters have been provided.
184
-
if [ -z"$fileSystemName"-o-z"$subnetID1"-o"$azType"=="MULTI_AZ_1"-a-z"$subnetID2"-o"$azType"=="MULTI_AZ_2"-a-z"$subnetID2" ];then
185
-
echo"Missing arguments."1>&2
184
+
if [ -z"$fileSystemName" ];then
185
+
echo"Error, you must specify a file system name."1>&2
186
+
usage
187
+
fi
188
+
189
+
if [ -z"$subnetID1"-o"$azType"=="MULTI_AZ_1"-a-z"$subnetID2"-o"$azType"=="MULTI_AZ_2"-a-z"$subnetID2" ];then
190
+
echo"Error, you must specify only subnetID1 for a single availability zone deployments or both subnetID1 and subnetID2 for a multi availability zone deployments."1>&2
186
191
usage
187
192
fi
188
193
@@ -199,13 +204,13 @@ if [[ $azType == *"SINGLE_AZ"* ]]; then
199
204
fi
200
205
201
206
if [ $numPairs-gt 1 ];then
202
-
if[ $azType!="SINGLE_AZ_2" ];then
203
-
echo"Error, you can only specify more than one HA pair with a single availability zone deployment."1>&2
0 commit comments