28 lines
605 B
HCL
28 lines
605 B
HCL
include "root" {
|
|
path = find_in_parent_folders("root.hcl")
|
|
expose = true
|
|
}
|
|
|
|
include "config" {
|
|
path = "${get_repo_root()}/config/config.hcl"
|
|
expose = true
|
|
}
|
|
|
|
locals {
|
|
config = include.config.locals.config
|
|
}
|
|
|
|
terraform {
|
|
source = "../../../modules/artifactapi"
|
|
}
|
|
|
|
inputs = {
|
|
remote_alpine = local.config.remote_alpine
|
|
remote_docker = local.config.remote_docker
|
|
remote_generic = local.config.remote_generic
|
|
remote_goproxy = local.config.remote_goproxy
|
|
remote_helm = local.config.remote_helm
|
|
remote_rpm = local.config.remote_rpm
|
|
virtual = local.config.virtual
|
|
}
|