25 lines
482 B
HCL
25 lines
482 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/gitea_instance"
|
|
}
|
|
|
|
inputs = {
|
|
organisation = local.config.organisation
|
|
repository = local.config.repository
|
|
branch_protection = local.config.branch_protection
|
|
team = local.config.team
|
|
}
|