Skip to content

Commit 53cd393

Browse files
authored
Use gp3 AWS volumes instead of gp2 for better default IOPS capacity (#763)
1 parent 763e7a1 commit 53cd393

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

iterative/aws/provider.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func ResourceMachineCreate(ctx context.Context, d *schema.ResourceData, m interf
128128
if err != nil {
129129
return err
130130
}
131-
131+
132132
if len(vpcsDesc.Vpcs) == 0 {
133133
return errors.New("no VPCs found")
134134
}
@@ -288,7 +288,7 @@ func ResourceMachineCreate(ctx context.Context, d *schema.ResourceData, m interf
288288
DeleteOnTermination: aws.Bool(true),
289289
Encrypted: aws.Bool(false),
290290
VolumeSize: aws.Int32(int32(hddSize)),
291-
VolumeType: types.VolumeType("gp2"),
291+
VolumeType: types.VolumeType("gp3"),
292292
},
293293
},
294294
}

task/aws/resources/resource_launch_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (l *LaunchTemplate) Create(ctx context.Context) error {
9191
Ebs: &types.LaunchTemplateEbsBlockDeviceRequest{
9292
DeleteOnTermination: aws.Bool(true),
9393
Encrypted: aws.Bool(false),
94-
VolumeType: types.VolumeType("gp2"),
94+
VolumeType: types.VolumeType("gp3"),
9595
},
9696
},
9797
},

0 commit comments

Comments
 (0)