Small acc test fixes (#279)

This commit is contained in:
Vicente Pinto 2024-02-26 16:01:12 +00:00 committed by GitHub
parent d1ceb77081
commit 9d3d888178
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View file

@ -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),