Skip to content

Commit f9082eb

Browse files
committed
wip
1 parent d27a4ac commit f9082eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/acctest/acctest.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"testing"
88
"time"
99

10+
"github.com/google/uuid"
1011
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1112
"github.com/scaleway/terraform-provider-scaleway/v2/internal/meta"
1213
"github.com/scaleway/terraform-provider-scaleway/v2/internal/provider"
@@ -42,6 +43,8 @@ func NewTestTools(t *testing.T) *TestTools {
4243
ProviderSchema: nil,
4344
TerraformVersion: "terraform-tests",
4445
HTTPClient: httpClient,
46+
// avoid "Error: could not detect project id"
47+
ForceProjectID: uuid.New().String(),
4548
})
4649
require.NoError(t, err)
4750

0 commit comments

Comments
 (0)