diff --git a/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb b/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb index 6ecfc6384..dfedafd87 100644 --- a/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +++ b/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb @@ -102,7 +102,7 @@ module Fog end data[:auto_scaling_groups][auto_scaling_group_name] = { 'AutoScalingGroupARN' => Fog::AWS::Mock.arn('autoscaling', @owner_id, "autoScalingGroup:00000000-0000-0000-0000-000000000000:autoScalingGroupName/#{auto_scaling_group_name}", @region), - 'AutoScalingGroupName' => launch_configuration_name, + 'AutoScalingGroupName' => auto_scaling_group_name, 'AvailabilityZones' => availability_zones.to_a, 'CreatedTime' => Time.now.utc, 'DefaultCooldown' => 300,