terraform/internal/stacks/stackruntime/testdata/mainbundle/test/ephemeral-module-output/ephemeral-module-output.tfcomponent.hcl
Liam Cervante 411f18e6ac
ephemerals: allow root ephemeral outputs in stacks and test (#37813)
* ephemerals: allow root ephemeral outputs in stacks and test

* remember to set new opt for apply stage
2025-10-28 09:29:44 +01:00

28 lines
425 B
HCL

required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
provider "testing" "main" {}
component "ephemeral_out" {
source = "./ephemeral-output"
providers = {
testing = provider.testing.main
}
}
component "ephemeral_in" {
source = "./ephemeral-input"
providers = {
testing = provider.testing.main
}
inputs = {
input = component.ephemeral_out.value
}
}