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/with-provider-functions/with-provider-functions.tfc...

31 lines
446 B

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)
}