diff --git a/cloudmock/aws/mockec2/launch_templates.go b/cloudmock/aws/mockec2/launch_templates.go index 52a5aa844c..a4447f98e3 100644 --- a/cloudmock/aws/mockec2/launch_templates.go +++ b/cloudmock/aws/mockec2/launch_templates.go @@ -172,6 +172,7 @@ func (m *MockEC2) CreateLaunchTemplate(request *ec2.CreateLaunchTemplateInput) ( Iops: x.Ebs.Iops, KmsKeyId: x.Ebs.KmsKeyId, SnapshotId: x.Ebs.SnapshotId, + Throughput: x.Ebs.Throughput, VolumeSize: x.Ebs.VolumeSize, VolumeType: x.Ebs.VolumeType, } diff --git a/cloudmock/aws/mockec2/volumes.go b/cloudmock/aws/mockec2/volumes.go index 5a1b279a86..5b9fd6ae74 100644 --- a/cloudmock/aws/mockec2/volumes.go +++ b/cloudmock/aws/mockec2/volumes.go @@ -47,6 +47,7 @@ func (m *MockEC2) CreateVolume(request *ec2.CreateVolumeInput) (*ec2.Volume, err KmsKeyId: request.KmsKeyId, Size: request.Size, SnapshotId: request.SnapshotId, + Throughput: request.Throughput, VolumeType: request.VolumeType, }