imfreedom/bamboo-terraform
Clone
Summary
Browse
Changes
Graph
A bunch of updates
draft
2019-02-06, Gary Kramlich
d3cb1067774e
A bunch of updates
# Pidgin Bamboo Terraform
# Requirements
terraform and terraform-libvirt provider
# Terraform Host
mkisofs and libvirt are needed on the machine where terraform is running for
these plans to run properly.
# Usage
You need to have a
`node.tfvars`
in the
`nodes/`
directory which has contents
like the following.
```
libvirt_uri = "qemu:///system"
admin_ssh_pubkey = "ssh pubkey"
worker_count = 2
```
`libvirt_uri`
is the connect string for libvirt and
`admin_ssh_pubkey`
is the
SSH pubkey that should be accepted for the root user.
`worker_count`
is the number of Bamboo agents to provision.
Once that file is created you provision it via:
```
make plan NODE=node1
make apply NODE=node1
```