File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -374,6 +374,11 @@ Parameters:
374
374
Type : String
375
375
Default : " gp3"
376
376
377
+ RootVolumeThroughput :
378
+ Description : If the `RootVolumeType` is gp3, the throughput to provision for the root volume
379
+ Type : Number
380
+ Default : 125
381
+
377
382
RootVolumeIops :
378
383
Description : If the `RootVolumeType` is io1 or io2, the number of IOPS to provision for the root volume
379
384
Type : Number
@@ -723,6 +728,9 @@ Conditions:
723
728
UseStackNameForInstanceName :
724
729
!Equals [ !Ref InstanceName, "" ]
725
730
731
+ IsRootVolumeIsGp3 :
732
+ !Equals [ !Ref RootVolumeType, "gp3" ]
733
+
726
734
IsRootVolumeIsIo1OrIo2 :
727
735
!Or
728
736
- !Equals [ !Ref RootVolumeType, "io1" ]
@@ -1156,6 +1164,7 @@ Resources:
1156
1164
VolumeSize : !Ref RootVolumeSize
1157
1165
VolumeType : !Ref RootVolumeType
1158
1166
Encrypted : !Ref RootVolumeEncrypted
1167
+ Throughput : !If [ IsRootVolumeIsGp3, !Ref RootVolumeThroughput, !Ref "AWS::NoValue" ]
1159
1168
Iops : !If [ IsRootVolumeIsIo1OrIo2, !Ref RootVolumeIops, !Ref "AWS::NoValue" ]
1160
1169
TagSpecifications :
1161
1170
- ResourceType : instance
You can’t perform that action at this time.
0 commit comments