/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/stacks/stackruntime/testdata/mainbundle/test/dependent-component/dependent-component.tfcomponent.hcl
37 строк
657 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" {} component "valid" { source = "../with-single-input" providers = { testing = provider.testing.default } inputs = { id = "valid" input = "resource" } } // this component must be created after component.valid // this component must be destroyed before component.valid component "self" { source = "./" providers = { testing = provider.testing.default } inputs = { id = "dependent" requirements = [ "valid" ] } depends_on = [ component.valid ] }