From 23e0f32bc0b7e3c24cdcb7cdd0dec0fde18a3631 Mon Sep 17 00:00:00 2001 From: Naveen Date: Wed, 21 Dec 2022 14:51:19 +0530 Subject: [PATCH] fixed typo of volume throughput --- README.md | 2 +- config/ebs-autoscale.json | 2 +- install.sh | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 59699c3..75d6cf8 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Options --volume-iops VOLUMEIOPS Volume IOPS for gp3, io1, io2 (default: 3000) - --volume-throughput VOLUMETHOUGHPUT + --volume-throughput VOLUMETHROUGHPUT Volume throughput for gp3 (default: 125) --min-ebs-volume-size SIZE_GB diff --git a/config/ebs-autoscale.json b/config/ebs-autoscale.json index a8507de..5476287 100644 --- a/config/ebs-autoscale.json +++ b/config/ebs-autoscale.json @@ -8,7 +8,7 @@ "volume": { "type": "%%VOLUMETYPE%%", "iops": "%%VOLUMEIOPS%%", - "throughput": "%%VOLUMETHOUGHPUT%%", + "throughput": "%%VOLUMETHROUGHPUT%%", "encrypted": 1 }, "detection_interval": 2, diff --git a/install.sh b/install.sh index 1a26bb2..e078dc2 100644 --- a/install.sh +++ b/install.sh @@ -59,7 +59,7 @@ Options --volume-iops VOLUMEIOPS Volume IOPS for gp3, io1, io2 (default: 3000) - --volume-throughput VOLUMETHOUGHPUT + --volume-throughput VOLUMETHROUGHPUT Volume throughput for gp3 (default: 125) --min-ebs-volume-size SIZE_GB @@ -95,7 +95,7 @@ MOUNTPOINT=/scratch SIZE=200 VOLUMETYPE=gp3 VOLUMEIOPS=3000 -VOLUMETHOUGHPUT=125 +VOLUMETHROUGHPUT=125 MIN_EBS_VOLUME_SIZE=150 MAX_EBS_VOLUME_SIZE=1500 MAX_LOGICAL_VOLUME_SIZE=8000 @@ -126,7 +126,7 @@ while (( "$#" )); do shift 2 ;; --volume-throughput) - VOLUMETHOUGHPUT=$2 + VOLUMETHROUGHPUT=$2 shift 2 ;; --min-ebs-volume-size) @@ -219,7 +219,7 @@ cat ${BASEDIR}/config/ebs-autoscale.json | \ sed -e "s#%%MOUNTPOINT%%#${MOUNTPOINT}#" | \ sed -e "s#%%VOLUMETYPE%%#${VOLUMETYPE}#" | \ sed -e "s#%%VOLUMEIOPS%%#${VOLUMEIOPS}#" | \ - sed -e "s#%%VOLUMETHOUGHPUT%%#${VOLUMETHOUGHPUT}#" | \ + sed -e "s#%%VOLUMETHROUGHPUT%%#${VOLUMETHROUGHPUT}#" | \ sed -e "s#%%FILESYSTEM%%#${FILE_SYSTEM}#" | \ sed -e "s#%%MINEBSVOLUMESIZE%%#${MIN_EBS_VOLUME_SIZE}#" | \ sed -e "s#%%MAXEBSVOLUMESIZE%%#${MAX_EBS_VOLUME_SIZE}#" | \