Is there any way to get local variables within Terraform console?
> local.name
unknown values referenced, can't compute value
Seems like Terraform console allows only to check input variables and module output variables.
> var.in
2
> module.abc.out
3
Configuration file examples:
# main.tf
locals {
name = 1
}
variable "in" {
value = 2
}
module "abc" {
source "path/to/module"
}
# path/to/module/main.tf
output "out" {
value = 3
}