Skip to content

Commit 89e6a5f

Browse files
Fix manual_assign type in google_gkeonprem_bare_metal_cluster (#14417) (#23472)
[upstream:ac7ea6cb9c457d248b96d29ce26c8e8487074203] Signed-off-by: Modular Magician <[email protected]>
1 parent 9d3a9a2 commit 89e6a5f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.changelog/14417.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
gkeonprem: fixed type of `load_balancer.0.bgp_lb_config.0.address_pools.0.manual_assign` in `google_gkeonprem_bare_metal_cluster`, making it a boolean instead of a string
3+
```

google/services/gkeonprem/resource_gkeonprem_bare_metal_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ IngressVIP must be included in the pools.`,
278278
This avoids buggy consumer devices mistakenly dropping IPv4 traffic for those special IP addresses.`,
279279
},
280280
"manual_assign": {
281-
Type: schema.TypeString,
281+
Type: schema.TypeBool,
282282
Optional: true,
283283
Description: `If true, prevent IP addresses from being automatically assigned.`,
284284
},

google/services/gkeonprem/resource_gkeonprem_bare_metal_cluster_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ func testAccGkeonpremBareMetalCluster_bareMetalClusterUpdateBgpLbStart(context m
469469
"10.200.0.14/32",
470470
"fd00:1::12/128"
471471
]
472+
manual_assign = true
472473
}
473474
load_balancer_node_pool_config {
474475
node_pool_config {

0 commit comments

Comments
 (0)