Skip to content

Commit e428412

Browse files
Update google_alloydb_instance.network_config to be O+C (#13767) (#22504)
[upstream:812236f62287a140c48a961006d25e34ab916cb5] Signed-off-by: Modular Magician <[email protected]>
1 parent 2a1b1ab commit e428412

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.changelog/13767.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
alloydb: stopped diffs when `google_alloydb_instance.network_config` is not specified as the API newly returns a value. Removing the field from config will no longer create a diff and will preserve the current value
3+
```

google/services/alloydb/resource_alloydb_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
193193
},
194194
"network_config": {
195195
Type: schema.TypeList,
196+
Computed: true,
196197
Optional: true,
197198
Description: `Instance level network configuration.`,
198199
MaxItems: 1,

0 commit comments

Comments
 (0)