blob: c907ca1740a29088551b4bcb185a64a45b6cd8b9 [file] [log] [blame]
required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
provider "testing" "default" {}
variable "input" {
type = string
}
component "self" {
source = "./"
providers = {
testing = provider.testing.default
}
inputs = {
id = "2f9f3b84"
input = provider::testing::echo(var.input)
}
}
output "value" {
type = string
value = provider::testing::echo(component.self.value)
}