mirror of
https://github.com/Sea-Haven-Industries/file-share.git
synced 2026-09-30 12:23:17 +00:00
fix(infra): pin FileBrowser version to a release tag (PLAT-77)
The version is interpolated into the boot script. Reject anything that is not a vX.Y.Z tag.
This commit is contained in:
parent
7cb3f6510f
commit
dadcf1c5ce
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ variable "filebrowser_version" {
|
|||
description = "Pinned FileBrowser release. Do not track releases/latest."
|
||||
type = string
|
||||
default = "v2.63.23"
|
||||
|
||||
validation {
|
||||
condition = can(regex("^v[0-9]+\\.[0-9]+\\.[0-9]+$", var.filebrowser_version))
|
||||
error_message = "filebrowser_version must look like v2.63.23."
|
||||
}
|
||||
}
|
||||
|
||||
variable "smb_password_secret_arn" {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue