c42826c6de
ArtifactAPI now serves local docker repos as real container registries and the provider exposes an artifactapi_local_docker resource, but this config had no way to declare one. - Add a local_docker variable, module resource, config loader wiring, and terragrunt input, mirroring the other local_* kinds. - Declare a docker-internal registry. - Expand the README to cover the local_* and virtual kinds. Depends on a terraform-provider-artifactapi release exposing artifactapi_local_docker (and a matching .terraform.lock.hcl bump) before apply.
33 lines
836 B
HCL
33 lines
836 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_pypi = local.config.remote_pypi
|
|
remote_rpm = local.config.remote_rpm
|
|
local_terraform = local.config.local_terraform
|
|
local_pypi = local.config.local_pypi
|
|
local_rpm = local.config.local_rpm
|
|
local_docker = local.config.local_docker
|
|
virtual = local.config.virtual
|
|
}
|