Skip to content

Commit

Permalink
Change filestore network field to a resourceref (#6175) (#11995)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Jun 30, 2022
1 parent b86f796 commit 621878b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/6175.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
filestore: fixed a case where `google_filestore_instance.networks.network` would incorrectly see a diff between state and config when the network `id` format was used
```
7 changes: 4 additions & 3 deletions google/resource_filestore_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@ IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4"
},
},
"network": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Type: schema.TypeString,
Required: true,
ForceNew: true,
DiffSuppressFunc: compareSelfLinkOrResourceName,
Description: `The name of the GCE VPC network to which the
instance is connected.`,
},
Expand Down

0 comments on commit 621878b

Please sign in to comment.