Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 2.15 KB

README.md

File metadata and controls

50 lines (31 loc) · 2.15 KB

UPI Bare Metal

Pre-requisites

Matchbox

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.

AWS

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

Packet

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

Terraform

Install Terraform on the host that will run the example terraform scripts using the Getting Started Guide

Generating the terraform variable example

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