/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/command/testdata/console-nested-module-scopes/child/main.tf
21 строка
415 B
Austin Valle
console: Add `-scope` flag to allow expression evaluation in module instances (#38820)
08 июл 2026, 17:15
Не верифицирован
08 июл 2026, 17:15
4a7cdd1
Код
Авторство
О чём код?
variable "child_input" { type = string } locals { child = "${var.child_input} -> local" } resource "test_resource" "child" { value = "resource attr set to local -> ${local.child}" } module "grandchild" { for_each = toset(["key"]) source = "./grandchild" grandchild_input = "${var.child_input} -> grandchild[${each.key}]" } output "child_output" { value = "child module output" }