From 388a45819174913b1a3e169509583a31fa3b2e6c Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Sat, 28 May 2022 22:20:05 +0000 Subject: [PATCH] Initial Commit --- .../autoscaling/launch_configuration_data_source.go | 4 ++-- .../autoscaling/launch_configuration_data_source_test.go | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) 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"