provider/aws: Run Configure as part of testAccPreCheck (#14925)
This commit is contained in:
parent
bcd57a963c
commit
efd1e1ffb3
|
@ -46,4 +46,8 @@ func testAccPreCheck(t *testing.T) {
|
||||||
log.Println("[INFO] Test: Using us-west-2 as test region")
|
log.Println("[INFO] Test: Using us-west-2 as test region")
|
||||||
os.Setenv("AWS_DEFAULT_REGION", "us-west-2")
|
os.Setenv("AWS_DEFAULT_REGION", "us-west-2")
|
||||||
}
|
}
|
||||||
|
err := testAccProvider.Configure(terraform.NewResourceConfig(nil))
|
||||||
|
if err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue