Skip to content

Commit 5bc7fe0

Browse files
authored
fix(vpcgw): set force new to pgw and pn ids (#2661)
1 parent 60949d6 commit 5bc7fe0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/services/vpcgw/network.go

+2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ func ResourceNetwork() *schema.Resource {
4141
"gateway_id": {
4242
Type: schema.TypeString,
4343
Required: true,
44+
ForceNew: true,
4445
ValidateFunc: verify.IsUUIDorUUIDWithLocality(),
4546
Description: "The ID of the public gateway where connect to",
4647
},
4748
"private_network_id": {
4849
Type: schema.TypeString,
4950
Required: true,
51+
ForceNew: true,
5052
ValidateFunc: verify.IsUUIDorUUIDWithLocality(),
5153
DiffSuppressFunc: dsf.Locality,
5254
Description: "The ID of the private network where connect to",

0 commit comments

Comments
 (0)