terraform/internal/stacks/stackruntime/testdata/mainbundle/test/deferred-dependent/deferred-dependent.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

34 lines
No EOL
517 B
HCL

required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
provider "testing" "default" {}
component "valid" {
source = "../with-single-input"
providers = {
testing = provider.testing.default
}
inputs = {
id = "valid"
input = "valid"
}
}
component "deferred" {
source = "../deferrable-component"
providers = {
testing = provider.testing.default
}
inputs = {
id = "deferred"
defer = true
}
depends_on = [
component.valid
]
}