Add remote_cargo config kind
This commit is contained in:
@@ -14,6 +14,21 @@ variable "remote_alpine" {
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "remote_cargo" {
|
||||
description = "Map of cargo (crates.io sparse index) remote repositories"
|
||||
type = map(object({
|
||||
base_url = string
|
||||
description = optional(string, "")
|
||||
immutable_ttl = optional(number, 0)
|
||||
mutable_ttl = optional(number, 3600)
|
||||
check_mutable = optional(bool, true)
|
||||
patterns = optional(list(string), [])
|
||||
mutable_patterns = optional(list(string), [])
|
||||
stale_on_error = optional(bool, true)
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "remote_docker" {
|
||||
description = "Map of Docker remote repositories"
|
||||
type = map(object({
|
||||
|
||||
Reference in New Issue
Block a user