From 86fcabc651ccd473d97c93766e7e43ca9f9c1550 Mon Sep 17 00:00:00 2001 From: stack72 Date: Thu, 23 Jun 2016 08:13:49 +0100 Subject: [PATCH] provider/aws: Changing test parameters to be us-west-2 based --- .../aws/resource_aws_spot_fleet_request_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/builtin/providers/aws/resource_aws_spot_fleet_request_test.go b/builtin/providers/aws/resource_aws_spot_fleet_request_test.go index 17f30bc7e..d6a2968e6 100644 --- a/builtin/providers/aws/resource_aws_spot_fleet_request_test.go +++ b/builtin/providers/aws/resource_aws_spot_fleet_request_test.go @@ -117,11 +117,11 @@ func testAccCheckAWSSpotFleetRequest_LaunchSpecAttributes( spec := *sfr.SpotFleetRequestConfig.LaunchSpecifications[0] - if *spec.InstanceType != "c3.large" { + if *spec.InstanceType != "m1.small" { return fmt.Errorf("Unexpected launch specification instance type: %s", *spec.InstanceType) } - if *spec.ImageId != "ami-f652979b" { + if *spec.ImageId != "ami-d06a90b0" { return fmt.Errorf("Unexpected launch specification image id: %s", *spec.ImageId) } @@ -199,10 +199,10 @@ resource "aws_spot_fleet_request" "foo" { target_capacity = 2 valid_until = "2019-11-04T20:44:20Z" launch_specification { - instance_type = "c3.large" - ami = "ami-f652979b" + instance_type = "m1.small" + ami = "ami-d06a90b0" key_name = "${aws_key_pair.debugging.key_name}" - availability_zone = "us-east-1a" + availability_zone = "us-west-2a" } depends_on = ["aws_iam_policy_attachment.test-attach"] } @@ -246,10 +246,10 @@ resource "aws_spot_fleet_request" "foo" { valid_until = "2019-11-04T20:44:20Z" allocation_strategy = "diversified" launch_specification { - instance_type = "c3.large" - ami = "ami-f652979b" + instance_type = "m1.small" + ami = "ami-d06a90b0" key_name = "${aws_key_pair.debugging.key_name}" - availability_zone = "us-east-1a" + availability_zone = "us-west-2a" spot_price = "0.01" weighted_capacity = 2 user_data = "hello-world"