Skip to content

Commit

Permalink
Ignore update_time when testing import of `google_vmwareengine_netw…
Browse files Browse the repository at this point in the history
…ork_policy` (#9903) (hashicorp#6922)

[upstream:423ac5e99839c0926bb0f6ff0f00194d62b2c3e1]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Feb 1, 2024
1 parent 79194d0 commit acdb60f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/9903.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestAccVmwareengineNetworkPolicy_update(t *testing.T) {
ResourceName: "google_vmwareengine_network_policy.vmw-engine-network-policy",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"location", "name"},
ImportStateVerifyIgnore: []string{"location", "name", "update_time"},
},
{
Config: testAccVmwareengineNetworkPolicy_config(context, "description2", "192.168.1.0/26", true, true),
Expand All @@ -45,7 +45,7 @@ func TestAccVmwareengineNetworkPolicy_update(t *testing.T) {
ResourceName: "google_vmwareengine_network_policy.vmw-engine-network-policy",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"location", "name"},
ImportStateVerifyIgnore: []string{"location", "name", "update_time"},
},
},
})
Expand Down

0 comments on commit acdb60f

Please sign in to comment.