33 lines
741 B
HCL
33 lines
741 B
HCL
variable "name" {
|
|
description = "Global alias of the bucket"
|
|
type = string
|
|
}
|
|
|
|
variable "website_access_enabled" {
|
|
description = "Is direct HTTP access enabled?"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "global_aliases" {
|
|
description = "Optional list of aliases for the bucket"
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "global_keys" {
|
|
description = "List of all keys of the Garage instance"
|
|
type = map(object({
|
|
access_key_id = string
|
|
}))
|
|
}
|
|
|
|
variable "allowed_keys" {
|
|
description = "Keys authorized for that specific bucket, with their authorization"
|
|
type = map(object({
|
|
read = optional(bool, false)
|
|
write = optional(bool, false)
|
|
owner = optional(bool, false)
|
|
}))
|
|
}
|