feat: add local pypi/rpm repos, remote pypi, and virtual pypi
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed

Add terraform resources and configs for:
- artifactapi_local_pypi (pypi-internal)
- artifactapi_local_rpm (rpm-internal)
- artifactapi_local_terraform (terraform-unkin, was missing from module)
- artifactapi_remote_pypi (pypi.org upstream)
- artifactapi_virtual pypi merging pypi-internal + pypi remote

Wire up config.hcl, variables, and terragrunt inputs for all new types.
This commit is contained in:
2026-06-23 23:18:25 +10:00
parent 2b47de98c7
commit 828120eb13
9 changed files with 116 additions and 7 deletions
+38
View File
@@ -82,6 +82,44 @@ variable "remote_rpm" {
default = {}
}
variable "remote_pypi" {
description = "Map of PyPI remote repositories"
type = map(object({
base_url = string
description = optional(string, "")
immutable_ttl = optional(number, 0)
mutable_ttl = optional(number, 3600)
patterns = optional(list(string), [])
mutable_patterns = optional(list(string), [])
stale_on_error = optional(bool, true)
}))
default = {}
}
variable "local_terraform" {
description = "Map of local Terraform registry repositories"
type = map(object({
description = optional(string, "")
}))
default = {}
}
variable "local_pypi" {
description = "Map of local PyPI repositories"
type = map(object({
description = optional(string, "")
}))
default = {}
}
variable "local_rpm" {
description = "Map of local RPM repositories"
type = map(object({
description = optional(string, "")
}))
default = {}
}
variable "virtual" {
description = "Map of virtual repositories"
type = map(object({