Skip to content

Commit 0d1f64f

Browse files
ignore ImportStateVerify update_time in SecureSourceManagerInstance (#12986) (#21312)
[upstream:098e842343fae2356b0963a9fd002dfe3a2aa95b] Signed-off-by: Modular Magician <[email protected]>
1 parent 55b25d6 commit 0d1f64f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.changelog/12986.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/services/securesourcemanager/resource_secure_source_manager_instance_generated_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func TestAccSecureSourceManagerInstance_secureSourceManagerInstanceBasicExample(
5050
ResourceName: "google_secure_source_manager_instance.default",
5151
ImportState: true,
5252
ImportStateVerify: true,
53-
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"},
53+
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels", "update_time"},
5454
},
5555
},
5656
})
@@ -94,7 +94,7 @@ func TestAccSecureSourceManagerInstance_secureSourceManagerInstanceCmekExample(t
9494
ResourceName: "google_secure_source_manager_instance.default",
9595
ImportState: true,
9696
ImportStateVerify: true,
97-
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"},
97+
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels", "update_time"},
9898
},
9999
},
100100
})
@@ -151,7 +151,7 @@ func TestAccSecureSourceManagerInstance_secureSourceManagerInstancePrivateExampl
151151
ResourceName: "google_secure_source_manager_instance.default",
152152
ImportState: true,
153153
ImportStateVerify: true,
154-
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"},
154+
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels", "update_time"},
155155
},
156156
},
157157
})
@@ -267,7 +267,7 @@ func TestAccSecureSourceManagerInstance_secureSourceManagerInstancePrivatePscBac
267267
ResourceName: "google_secure_source_manager_instance.default",
268268
ImportState: true,
269269
ImportStateVerify: true,
270-
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"},
270+
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels", "update_time"},
271271
},
272272
},
273273
})
@@ -485,7 +485,7 @@ func TestAccSecureSourceManagerInstance_secureSourceManagerInstancePrivatePscEnd
485485
ResourceName: "google_secure_source_manager_instance.default",
486486
ImportState: true,
487487
ImportStateVerify: true,
488-
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"},
488+
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels", "update_time"},
489489
},
490490
},
491491
})
@@ -667,7 +667,7 @@ func TestAccSecureSourceManagerInstance_secureSourceManagerInstanceWorkforceIden
667667
ResourceName: "google_secure_source_manager_instance.default",
668668
ImportState: true,
669669
ImportStateVerify: true,
670-
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels"},
670+
ImportStateVerifyIgnore: []string{"instance_id", "labels", "location", "terraform_labels", "update_time"},
671671
},
672672
},
673673
})

0 commit comments

Comments
 (0)