This Terraform script uses the module found here.
Ensure you have access to both an Equinix and Tailscale account.
Copy the example vars file:
cp terraform.tfvars-example.json terraform.tfvars.jsonterraform.tfvars.json will be ignored in git
Edit the values.
Then initialise and apply the plan:
terraform init
terraform applyDon't forget to terraform destroy when you are done.