Skip to content

Commit

Permalink
Update modify-volume.md
Browse files Browse the repository at this point in the history
Update "typo" in aws ec2 api call for describe-volumes (i.e. --volume-ids)
  • Loading branch information
sebastianlzy authored Oct 30, 2023
1 parent 02f1d73 commit 2d3aed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modify-volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Events:
```
$ pv=$(k get -o json pvc ebs-claim | jq -r '.spec | .volumeName')
$ volumename=$(k get -o json pv $pv | jq -r '.spec | .csi | .volumeHandle')
$ aws ec2 describe-volumes —volume-id $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
$ aws ec2 describe-volumes —volume-ids $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
"gp3 3000 125"
```

Expand Down Expand Up @@ -195,7 +195,7 @@ Do **NOT** delete these annotations. These annotations are used by the sidecar t

#### 6) (Optional) Validate the volume has been modified in EBS.
```
$ aws ec2 describe-volumes --volume-id $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
$ aws ec2 describe-volumes --volume-ids $volumename | jq '.Volumes[] | "\(.VolumeType) \(.Iops) \(.Throughput)"'
"io2 4000 null"
```

0 comments on commit 2d3aed7

Please sign in to comment.