diff --git a/internal/service/autoscaling/launch_configuration_data_source.go b/internal/service/autoscaling/launch_configuration_data_source.go index 62a136355f13..57c9489c05e1 100644 --- a/internal/service/autoscaling/launch_configuration_data_source.go +++ b/internal/service/autoscaling/launch_configuration_data_source.go @@ -127,7 +127,7 @@ func DataSourceLaunchConfiguration() *schema.Resource { }, "throughput": { - Type: schema.TypeBool, + Type: schema.TypeInt, Computed: true, }, @@ -204,7 +204,7 @@ func DataSourceLaunchConfiguration() *schema.Resource { }, "throughput": { - Type: schema.TypeBool, + Type: schema.TypeInt, Computed: true, }, diff --git a/internal/service/autoscaling/launch_configuration_data_source_test.go b/internal/service/autoscaling/launch_configuration_data_source_test.go index 880762f12a80..295448c7f8a0 100644 --- a/internal/service/autoscaling/launch_configuration_data_source_test.go +++ b/internal/service/autoscaling/launch_configuration_data_source_test.go @@ -132,6 +132,14 @@ resource "aws_launch_configuration" "test" { iops = 100 } + ebs_block_device { + device_name = "/dev/sdc" + volume_size = 10 + volume_type = "gp3" + iops = 3000 + throughput = 125 + } + ephemeral_block_device { device_name = "/dev/sde" virtual_name = "ephemeral0"