File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Management-Utilities/fsx-ontap-aws-cli-scripts Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -221,14 +221,13 @@ if [ $size -lt $minSize ]; then
221221 usage
222222fi
223223
224- echo aws fsx create-file-system --output=json --file-system-type ONTAP --storage-capacity $size --subnet-ids $subnetID1 $subnetID2 --storage-type SSD --tags " Key=Name,Value=$fileSystemName " $securityGroupOption --ontap-configuration ' {
224+ aws fsx create-file-system --output=json --file-system-type ONTAP --storage-capacity $size --subnet-ids $subnetID1 $subnetID2 --storage-type SSD --tags " Key=Name,Value=$fileSystemName " $securityGroupOption --ontap-configuration ' {
225225 "PreferredSubnetId": "' $subnetID1 ' ",
226226 ' $endpointips '
227227 "DeploymentType": "' $azType ' ",
228228 "HAPairs": ' $numPairs ' ,
229- "ThroughputCapacityPerHAPair": ' $throughput ' }' --region=$region
230- # "ThroughputCapacityPerHAPair": '$throughput'}' --region=$region > $tmpout 2>&1
231- exit
229+ "ThroughputCapacityPerHAPair": ' $throughput ' }' --region=$region > $tmpout 2>&1
230+
232231if [ $? != " 0" ]; then
233232 echo " Failed to create FSxN file system." 1>&2
234233 cat $tmpout 1>&2
You can’t perform that action at this time.
0 commit comments