- Split cloudinit.tf into cloudinit-hermes.tf and cloudinit-openclaw.tf - Split variables.tf into variables-common.tf, variables-hermes.tf, variables-openclaw.tf - Move templates into hermes/templates/ and openclaw/templates/ - Move models/ into openclaw/models/ - Move hermes-openclaw.json to openclaw/openclaw-reference.json - Move hermes docs to hermes/docs/ - OpenClaw cloudinit now uses variables instead of hardcoded values - All 48 variable references verified against definitions
46 lines
1.3 KiB
HCL
46 lines
1.3 KiB
HCL
# OpenBoatmobile Configuration Variables — OpenClaw-specific
|
|
# Only used when agent_framework = "openclaw"
|
|
|
|
# =============================================================================
|
|
# OPENCLAW INSTALLATION
|
|
# =============================================================================
|
|
|
|
variable "openclaw_version" {
|
|
description = "OpenClaw version to install: 'latest', 'lts', or a specific version string"
|
|
type = string
|
|
default = "lts"
|
|
}
|
|
|
|
variable "node_version" {
|
|
description = "Node.js major version for OpenClaw runtime (LTS recommended: 22)"
|
|
type = string
|
|
default = "22"
|
|
}
|
|
|
|
# =============================================================================
|
|
# SYSTEM CONFIGURATION — OpenClaw defaults
|
|
# =============================================================================
|
|
|
|
variable "enable_swap" {
|
|
description = "Create a swap file on the server"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "swap_size" {
|
|
description = "Swap file size in GB"
|
|
type = number
|
|
default = 2
|
|
}
|
|
|
|
variable "enable_fail2ban" {
|
|
description = "Install and configure fail2ban for SSH protection"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "enable_unattended_upgrades" {
|
|
description = "Enable automatic security updates"
|
|
type = bool
|
|
default = true
|
|
}
|