mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
24 lines
333 B
HCL
24 lines
333 B
HCL
required_providers {
|
|
terraform = {
|
|
source = "terraform.io/builtin/terraform"
|
|
}
|
|
}
|
|
|
|
provider "terraform" "x" {}
|
|
|
|
component "a" {
|
|
source = "./component"
|
|
|
|
inputs = {
|
|
name = "test-name"
|
|
}
|
|
|
|
providers = {
|
|
terraform = provider.terraform.x
|
|
}
|
|
}
|
|
|
|
output "greeting" {
|
|
type = string
|
|
value = component.a.greeting
|
|
}
|