mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 18:33:08 -04:00
34 lines
No EOL
517 B
HCL
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
|
|
]
|
|
} |