Skip to content

Commit e320697

Browse files
b/383149651 - Make export ranges fields immutable (#12592)
[upstream:0eaffcc8f23d4e647a92bd489f1cbaf72a88f471] Signed-off-by: Modular Magician <[email protected]>
1 parent b44a24e commit e320697

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.changelog/12592.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
networkconnectivity: made `includeExportRanges`, `excludeExportRanges` mutable in `google_network_connectivity_spoke` to avoid recreation of resources (b/383149651)
3+
```

google-beta/services/networkconnectivity/resource_network_connectivity_spoke.go

-4
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ The only allowed value for now is "ALL_IPV4_RANGES".`,
155155
"exclude_export_ranges": {
156156
Type: schema.TypeList,
157157
Optional: true,
158-
ForceNew: true,
159158
Description: `IP ranges encompassing the subnets to be excluded from peering.`,
160159
Elem: &schema.Schema{
161160
Type: schema.TypeString,
@@ -164,7 +163,6 @@ The only allowed value for now is "ALL_IPV4_RANGES".`,
164163
"include_export_ranges": {
165164
Type: schema.TypeList,
166165
Optional: true,
167-
ForceNew: true,
168166
Description: `IP ranges allowed to be included from peering.`,
169167
Elem: &schema.Schema{
170168
Type: schema.TypeString,
@@ -246,7 +244,6 @@ The only allowed value for now is "ALL_IPV4_RANGES".`,
246244
"exclude_export_ranges": {
247245
Type: schema.TypeList,
248246
Optional: true,
249-
ForceNew: true,
250247
Description: `IP ranges encompassing the subnets to be excluded from peering.`,
251248
Elem: &schema.Schema{
252249
Type: schema.TypeString,
@@ -255,7 +252,6 @@ The only allowed value for now is "ALL_IPV4_RANGES".`,
255252
"include_export_ranges": {
256253
Type: schema.TypeList,
257254
Optional: true,
258-
ForceNew: true,
259255
Description: `IP ranges allowed to be included from peering.`,
260256
Elem: &schema.Schema{
261257
Type: schema.TypeString,

0 commit comments

Comments
 (0)