Is there a way to define ‘control_nodes’ in datasources.tf so that it does not hit the following error?
From variables.tf:
variable "control_nodes" {
description = "A list of IP addresses of control nodes"
}
│ Error: Incorrect attribute value type
│
│ on modules/control/datasources.tf line 12, in data "template_file" "control":
│ 12: vars = {
│ 13: control_nodes = var.control_nodes
│ 14: }
│
│ Inappropriate value for attribute "vars": element "control_nodes": string required.
1 post - 1 participant