Is there a option to set a defaults and description for nested variables in terraform?
Example:
variable "example_page_rule"{
type = list(object({
level = string,
tags = string,
prefix = string
}))
}
This can be achieved ?
variable "example_page_rule"{
type = list(object({
level = string, default = "1", description = "debug level 0-7"
tags = string, default = {}, description = "tags"
prefix = string, default = "abc", description = "some description"
}))
}