terraform/internal/stacks/stackruntime/testdata/mainbundle/test/with-single-resource/with-single-resource.tfcomponent.hcl
Liam Cervante a80220dcc9
stacks: rename .tfstack files to .tfcomponent (#37013)
* stacks: rename .tfstack files to .tfcomponent

* fix consistency issues
2025-05-15 08:33:13 +02:00

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
}