artifactapi module: support mirrorlist on rpm/apk(alpine) remotes
Expose the provider v0.5.0 mirrorlist field through the config module so rpm and alpine(apk) remotes can declare extra upstream mirror base URLs (load-balanced with failover across base_url + mirrorlist). - remote_rpm / remote_alpine object vars gain mirrorlist = optional(list(string), []) - pass mirrorlist through to the corresponding remote resources - bump artifactapi provider constraint to ~> 0.5 Additive and optional; no real remote config changes (deferred follow-up).
This commit is contained in:
@@ -9,6 +9,7 @@ resource "artifactapi_remote_alpine" "this" {
|
||||
immutable_patterns = each.value.immutable_patterns
|
||||
mutable_patterns = each.value.mutable_patterns
|
||||
stale_on_error = each.value.stale_on_error
|
||||
mirrorlist = each.value.mirrorlist
|
||||
}
|
||||
|
||||
resource "artifactapi_remote_docker" "this" {
|
||||
@@ -74,6 +75,7 @@ resource "artifactapi_remote_rpm" "this" {
|
||||
immutable_patterns = each.value.immutable_patterns
|
||||
mutable_patterns = each.value.mutable_patterns
|
||||
stale_on_error = each.value.stale_on_error
|
||||
mirrorlist = each.value.mirrorlist
|
||||
}
|
||||
|
||||
resource "artifactapi_remote_pypi" "this" {
|
||||
|
||||
Reference in New Issue
Block a user