Setup an instance of matchbox using this guide. The matchbox instance must be reachable from public internet.
Store the tls assets that will be used for client authentication and the CA certificate that allows client to trust the matchbox server on the host that will run the example terraform scripts.
Create a public route53 zone using this guide.
Setup default
AWS cli profile on the host that will run the example terraform scripts using this guide
Setup a Project in Packet.net that will be used to deploy servers, for example using this guide
Setup API keys for your Project in Packet.net using this guide
Store the API keys in PACKET_AUTH_TOKEN
so that terraform-provide-packet
can use it to deploy servers in the project. For more info see this
Install Terraform on the host that will run the example terraform scripts using the Getting Started Guide
Install terraform-examples on your host.
go get -u github.com/s-urbaniak/terraform-examples
Generate the terraform.tfvars.example
using
terraform-examples config.tf > terraform.tfvars.example