mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-22 03:07:51 -05:00
Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Signed-off-by: James Humphries <james@james-humphries.co.uk> Co-authored-by: James Humphries <james@james-humphries.co.uk>
18 lines
183 B
HCL
18 lines
183 B
HCL
variable "state_path" {}
|
|
|
|
variable "src" {}
|
|
|
|
terraform {
|
|
backend "local" {
|
|
path = var.state_path
|
|
}
|
|
}
|
|
|
|
module "mod" {
|
|
source = var.src
|
|
}
|
|
|
|
output "out" {
|
|
value = module.mod.out
|
|
}
|