refactor: restructure into hermes/ and openclaw/ directories
- 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
This commit is contained in:
parent
8a94313bd3
commit
ea73745147
21 changed files with 277 additions and 216 deletions
3
main.tf
3
main.tf
|
|
@ -52,4 +52,7 @@ locals {
|
|||
managed = "terraform"
|
||||
component = var.agent_framework == "hermes" ? "hermes-agent" : "openclaw-gateway"
|
||||
}
|
||||
|
||||
# Select userdata based on framework
|
||||
userdata = var.agent_framework == "hermes" ? data.cloudinit_config.hermes[0].rendered : data.cloudinit_config.openclaw[0].rendered
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue