Terraform project deploying an OpenClaw instance on AWS Lightsail (eu-west-1).
- Root module: wires variables into
./modules/openclaw modules/openclaw/: Lightsail instance, static IP, port rules
terraform init— initialize providersterraform plan -var-file=terraform.tfvars— preview changesterraform apply -var-file=terraform.tfvars— applyterraform fmt -recursive— format all .tf files
- 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