Skip to content

Commit cbd7774

Browse files
committed
Supports passing in compute_config = null
The logic around enabling Auto Mode is based on the value never being null, so use `nullable = false` in the variable definition so that a null value will be interpreted as nn empty map (the default value). Fixes #3307
1 parent 1bfc10a commit cbd7774

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ variable "authentication_mode" {
4747
variable "cluster_compute_config" {
4848
description = "Configuration block for the cluster compute configuration"
4949
type = any
50+
nullable = false
5051
default = {}
5152
}
5253

0 commit comments

Comments
 (0)