Skip to content
Terraform scripts for packet.net
Branch: master
Clone or download
Aaron Welch
Aaron Welch Merge pull request #9 from ahaurw01/bugfix/private_key-format
use file() within private_key fields
Latest commit 14457a9 Dec 1, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add README Apr 18, 2016
README.md
dcos.tf use file() within private_key fields Dec 1, 2016
make-files.sh IP detection fix Sep 4, 2016
output.tf
sample.terraform.tfvars change ssh key var names to follow the convention a bit more Apr 18, 2016
vars.tf agent type typo Jun 13, 2016

README.md

packet-terraform

Terraform scripts for packet.net

This repo holds Terraform scripts to create a

1, 3, or 5 master DCOS cluster on the packet.net provider.

With this method, the network is open by default. Because of this, network

security is a concern and should be addressed as soon as possible by the administrator.

To use:

Clone or download repo.

Copy sample.terraform.tfvars to terraform.tfvars and insert your variables.

Run terraform apply

Theory of Operation:

This script will start the infrastructure machines (bootstrap and masters), then collect their IPs to build an installer package on the bootstrap machine with a static master list. All masters wait for an installation script to be generated on the localhost, then receive that script. This script, in turn, pings the bootstrap machine whilst waiting for the web server to come online and serve the install script itself.

When the install script is generated, the bootstrap completes and un-blocks the cadre of agent nodes, which are cut loose to provision metal and eventually install software.

You can’t perform that action at this time.