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.json
terraform.tfvars.json
will be ignored in git
Edit the values.
Then initialise and apply the plan:
terraform init
terraform apply
Don't forget to terraform destroy
when you are done.