Skip to content

Commit 8b85af0

Browse files
committed
fix(block): forceNew only if new size_in_gb is shreking
1 parent 50eab58 commit 8b85af0

File tree

5 files changed

+1434
-3
lines changed

5 files changed

+1434
-3
lines changed

internal/services/block/helpers_block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func customDiffCannotShrink(key string) schema.CustomizeDiffFunc {
5252
oldValue := oldValueI.(int)
5353
newValue := newValueI.(int)
5454

55-
return oldValue < newValue
55+
return oldValue > newValue
5656
})
5757
}
5858

0 commit comments

Comments
 (0)