feat: first version
This commit is contained in:
32
modules/buckets/variables.tf
Normal file
32
modules/buckets/variables.tf
Normal file
@@ -0,0 +1,32 @@
|
||||
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)
|
||||
}))
|
||||
}
|
||||
Reference in New Issue
Block a user