/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/stacks/stackruntime/testdata/mainbundle/test/complex-inputs/main.tfcomponent.hcl
58 строк
855 B
Liam Cervante
stacks: rename .tfstack files to .tfcomponent (#37013)
15 май 2025, 09:33
Не верифицирован
15 май 2025, 09:33
a80220d
Код
Авторство
О чём код?
required_providers { testing = { source = "hashicorp/testing" version = "0.1.0" } } provider "testing" "default" {} variable "default" { type = object({ id = string value = string }) default = { id = "cec9bc39" value = "hello, mercury!" } } variable "optional_default" { type = object({ id = optional(string) value = optional(string, "hello, venus!") }) default = { id = "78d8b3d7" } } variable "optional" { type = object({ id = optional(string) value = optional(string, "hello, earth!") }) } component "self" { source = "./" providers = { testing = provider.testing.default } inputs = { input = [ var.default, var.optional_default, var.optional, ] } } stack "child" { source = "./child" inputs = { optional = {} } }