Skip to content

Commit fed4309

Browse files
committed
made user_data node variables non-nullable
1 parent 530856d commit fed4309

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

environments/site/tofu/node_group/variables.tf

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -203,18 +203,13 @@ variable "config_drive" {
203203
}
204204

205205
variable "additional_cloud_config" {
206-
description = <<-EOT
207-
Multiline string to be appended to the node's cloud-init cloud-config user-data.
208-
Must be in yaml format and not include the #cloud-config or any other user-data headers.
209-
See https://cloudinit.readthedocs.io/en/latest/explanation/format.html#cloud-config-data.
210-
Can be a templatestring parameterised by `additional_cloud_config_vars`
211-
EOT
212206
type = string
213207
default = ""
208+
nullable = false
214209
}
215210

216211
variable "additional_cloud_config_vars" {
217-
description = "Map of values passed to the `additional_cloud_config` templatestring"
218212
type = map(any)
219213
default = {}
214+
nullable = false
220215
}

0 commit comments

Comments
 (0)