Skip to content

xen-wiki/terraform

Repository files navigation

terraform-infrastructure

Terraform config for Xenharmonic Wiki infrastructure.

Terraform Cloud Workspace

Xenwiki/infrastructure

Variables

Set in Terraform Cloud workspace (tokens expire, manual rotation required):

  • linode_token - Linode API token
  • github_ansible_token - GitHub PAT with repo and admin:repo_hook for xen-wiki/ansible
  • terraform_ssh_key - SSH private key for provisioners

Create tokens: https://github.com/settings/tokens/new

Using Terraform

terraform login && terraform init
terraform plan
terraform apply

Using the Makefile

Run 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published