github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/lang/globalref/testdata/contributing-resources/contributing-resources-root.tf (about) 1 variable "environment" { 2 type = string 3 } 4 5 data "test_thing" "environment" { 6 string = var.environment 7 } 8 9 module "network" { 10 source = "./network" 11 12 base_cidr_block = data.test_thing.environment.any.base_cidr_block 13 subnet_count = data.test_thing.environment.any.subnet_count 14 } 15 16 module "compute" { 17 source = "./compute" 18 19 network = module.network 20 } 21 22 output "network" { 23 value = module.network 24 } 25 26 output "c10s_url" { 27 value = module.compute.compuneetees_api_url 28 }