Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 693 Bytes

File metadata and controls

22 lines (15 loc) · 693 Bytes

OpenClaw Lightsail Infrastructure

Terraform project deploying an OpenClaw instance on AWS Lightsail (eu-west-1).

Structure

  • Root module: wires variables into ./modules/openclaw
  • modules/openclaw/: Lightsail instance, static IP, port rules

Commands

  • terraform init — initialize providers
  • terraform plan -var-file=terraform.tfvars — preview changes
  • terraform apply -var-file=terraform.tfvars — apply
  • terraform fmt -recursive — format all .tf files

Conventions

  • AWS profile: apro-datalake-sandbox
  • State: local backend (terraform.tfstate)
  • Never commit terraform.tfstate or terraform.tfvars to git
  • Never directly edit .tfstate or .tfvars files