mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
23 lines
247 B
HCL
23 lines
247 B
HCL
|
|
|
||
|
|
required_providers {
|
||
|
|
null = {
|
||
|
|
source = "hashicorp/null"
|
||
|
|
version = "3.2.1"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "name" {
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
component "a" {
|
||
|
|
source = "./a"
|
||
|
|
|
||
|
|
inputs = {
|
||
|
|
name = var.name
|
||
|
|
}
|
||
|
|
providers = {
|
||
|
|
null = var.provider
|
||
|
|
}
|
||
|
|
}
|