diff --git a/aws/resource_aws_instance_test.go b/aws/resource_aws_instance_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_instance_test.go
+++ b/aws/resource_aws_instance_test.go
@@ -47,7 +47,7 @@ func testSweepInstances(region string) error {
 	}
 	conn := client.(*AWSClient).ec2conn
 
-	err = conn.DescribeInstancesPages(&ec2.DescribeInstancesInput{}, func(page *ec2.DescribeInstancesOutput, isLast bool) bool {
+	err = conn.DescribeInstancesPages(&ec2.DescribeInstancesInput{}, func(page *ec2.DescribeInstancesOutput, lastPage bool) bool {
 		if len(page.Reservations) == 0 {
 			log.Print("[DEBUG] No EC2 Instances to sweep")
 			return false
@@ -87,7 +87,7 @@ func testSweepInstances(region string) error {
 				}
 			}
 		}
-		return !isLast
+		return !lastPage
 	})
 	if err != nil {
 		if testSweepSkipSweepError(err) {
tests/r/instance: Use consistent var name