You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/stacks/stackruntime/testdata/mainbundle/test/component-chain/component-chain.tfcomponent...

57 lines
716 B

required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
provider "testing" "default" {}
variable "value" {
type = string
}
component "one" {
source = "./"
providers = {
testing = provider.testing.default
}
inputs = {
id = "one"
value = var.value
}
}
component "two" {
source = "./"
providers = {
testing = provider.testing.default
}
inputs = {
id = "two"
value = component.one.value
}
}
component "three" {
source = "./"
providers = {
testing = provider.testing.default
}
inputs = {
id = "three"
value = component.two.value
}
}
output "value" {
value = component.three.value
type = string
}