/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/command/testdata/test/mocking-error/main.tf
46 строк
640 B
Samsondeen
terraform test: allow computed/mocked values override during planning (#36227)
08 янв 2025, 14:39
Не верифицирован
08 янв 2025, 14:39
aec7c3c
Код
Авторство
О чём код?
terraform { required_providers { test = { source = "hashicorp/test" } } } provider "test" { alias = "primary" } provider "test" { alias = "secondary" } variable "instances" { type = number } variable "child_instances" { type = number } resource "test_resource" "primary" { provider = test.primary count = var.instances } resource "test_resource" "secondary" { provider = test.secondary count = var.instances } module "child" { count = var.instances source = "./child" providers = { test.primary = test.primary test.secondary = test.secondary } instances = var.child_instances }