mirror of
https://github.com/hashicorp/terraform.git
synced 2026-04-15 22:10:37 -04:00
30 lines
397 B
HCL
30 lines
397 B
HCL
|
|
required_providers {
|
||
|
|
testing = {
|
||
|
|
source = "hashicorp/testing"
|
||
|
|
version = "0.1.0"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
provider "testing" "default" {}
|
||
|
|
|
||
|
|
|
||
|
|
component "parent" {
|
||
|
|
source = "./parent"
|
||
|
|
|
||
|
|
providers = {
|
||
|
|
testing = provider.testing.default
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
component "child" {
|
||
|
|
source = "./child"
|
||
|
|
|
||
|
|
providers = {
|
||
|
|
testing = provider.testing.default
|
||
|
|
}
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
key = component.parent.deleted_id
|
||
|
|
}
|
||
|
|
}
|