29 lines
717 B
HCL
29 lines
717 B
HCL
variable "url" {
|
|
description = "The URL for Garage Admin API"
|
|
type = string
|
|
}
|
|
|
|
variable "scheme" {
|
|
description = "HTTP or HTTPS scheme (default to HTTPS)"
|
|
type = string
|
|
default = "https"
|
|
}
|
|
|
|
variable "keys" {
|
|
description = "Complete declarative description of a S3 Garage Key"
|
|
type = list(string)
|
|
}
|
|
|
|
variable "buckets" {
|
|
description = "Complete declarative description of a S3 Garage Bucket"
|
|
type = map(object({
|
|
website_access_enabled = optional(bool, false)
|
|
aliases = optional(list(string), [])
|
|
allowed_keys = map(object({
|
|
read = optional(bool, false)
|
|
write = optional(bool, false)
|
|
owner = optional(bool, false)
|
|
}))
|
|
}))
|
|
}
|