Terraform config for Xenharmonic Wiki infrastructure.
Set in Terraform Cloud workspace (tokens expire, manual rotation required):
linode_token- Linode API tokengithub_ansible_token- GitHub PAT withrepoandadmin:repo_hookfor xen-wiki/ansibleterraform_ssh_key- SSH private key for provisioners
Create tokens: https://github.com/settings/tokens/new
terraform login && terraform init
terraform plan
terraform applyRun make export-ips first to confiure Makefile.env.
make export-ips # Get connection details from Terraform and configure Makefile.env
make ssh-application # SSH to the application host
make rsync-application SRC=<file> [DEST=<path>] # Copy files to/from the application host