feat: first version

This commit is contained in:
VC
2025-10-22 15:58:46 +02:00
parent 2a74b6cf6c
commit 5ed688ff16
14 changed files with 214 additions and 2 deletions

View 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)
}))
}