Skip to content

Commit

Permalink
provider/aws: Run Configure as part of testAccPreCheck (#14925)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored May 30, 2017
1 parent bcd57a9 commit efd1e1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builtin/providers/aws/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@ func testAccPreCheck(t *testing.T) {
log.Println("[INFO] Test: Using us-west-2 as test region")
os.Setenv("AWS_DEFAULT_REGION", "us-west-2")
}
err := testAccProvider.Configure(terraform.NewResourceConfig(nil))
if err != nil {
t.Fatal(err)
}
}

0 comments on commit efd1e1f

Please sign in to comment.