Skip to content

Commit 3ca48d6

Browse files
committed
Objectstorage acceptance test ignore region for import
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent 7c4e4ca commit 3ca48d6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stackit/internal/services/objectstorage/objectstorage_acc_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,9 @@ func TestAccObjectStorageResource(t *testing.T) {
192192

193193
return fmt.Sprintf("%s,%s", testutil.ProjectId, credentialsGroupId), nil
194194
},
195-
ImportState: true,
196-
ImportStateVerify: true,
195+
ImportState: true,
196+
ImportStateVerify: true,
197+
ImportStateVerifyIgnore: []string{"region"},
197198
},
198199
{
199200
ResourceName: "stackit_objectstorage_credential.credential",
@@ -214,7 +215,7 @@ func TestAccObjectStorageResource(t *testing.T) {
214215
},
215216
ImportState: true,
216217
ImportStateVerify: true,
217-
ImportStateVerifyIgnore: []string{"access_key", "secret_access_key"},
218+
ImportStateVerifyIgnore: []string{"access_key", "secret_access_key", "region"},
218219
},
219220
// Deletion is done by the framework implicitly
220221
},

0 commit comments

Comments
 (0)