mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 18:33:08 -04:00
24 lines
333 B
HCL
24 lines
333 B
HCL
required_providers {
|
|
terraform = {
|
|
source = "terraform.io/builtin/terraform"
|
|
}
|
|
}
|
|
|
|
provider "terraform" "default" {
|
|
}
|
|
|
|
component "self" {
|
|
source = "./"
|
|
|
|
providers = {
|
|
terraform = provider.terraform.default
|
|
}
|
|
}
|
|
|
|
output "obj" {
|
|
type = object({
|
|
input = string
|
|
output = string
|
|
})
|
|
value = component.self
|
|
}
|