Small acc test fixes (#279)
This commit is contained in:
parent
d1ceb77081
commit
9d3d888178
3 changed files with 7 additions and 3 deletions
|
|
@ -322,7 +322,9 @@ func testAccCheckArgusDestroy(s *terraform.State) error {
|
|||
var client *argus.APIClient
|
||||
var err error
|
||||
if testutil.ArgusCustomEndpoint == "" {
|
||||
client, err = argus.NewAPIClient()
|
||||
client, err = argus.NewAPIClient(
|
||||
config.WithRegion("eu01"),
|
||||
)
|
||||
} else {
|
||||
client, err = argus.NewAPIClient(
|
||||
config.WithEndpoint(testutil.ArgusCustomEndpoint),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue