Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

fixed typo of volume throughput #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/ebs-autoscale.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"volume": {
"type": "%%VOLUMETYPE%%",
"iops": "%%VOLUMEIOPS%%",
"throughput": "%%VOLUMETHOUGHPUT%%",
"throughput": "%%VOLUMETHROUGHPUT%%",
"encrypted": 1
},
"detection_interval": 2,
Expand Down
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -126,7 +126,7 @@ while (( "$#" )); do
shift 2
;;
--volume-throughput)
VOLUMETHOUGHPUT=$2
VOLUMETHROUGHPUT=$2
shift 2
;;
--min-ebs-volume-size)
Expand Down Expand Up @@ -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}#" | \
Expand Down