“The root module input variable ‘[variable_name]’ is not set, and has no default value” or “Error: Variables not allowed”
This is commonly associated with usingTF_VAR_*
where the variable type is a list or map. Please make sure the value is properly formatted for the variable type.list
type expects an array with quotes around the list item. e.g. ["listitem1", "listitem2"]
map
type expects a key/value map surrounded curly brackets. e.g. {"key1": "value1", "key2": "value2"}