This terraform plan makes use of chef-backend and chef-server-core to create a Chef HA architecture. In order to support multiple providers and various feature sets based upon provider this repo has a tree structure to help you choose the right plan based on certain assumptions.
The following providers are currently supported:
- AWS
The following plans exist in this repo:
- AWS w/valid SSL and Route53 internal/external zones - providers/aws/route53_ssl/README.md
- providers
- aws
- route53_ssl
- ... future provider
- ... future feature set
- aws
Usage as a module has not been tested, however in Terraform 0.7.0+ many things are first-class which were not before. Choose to run this way at your own risk
- Clone this repo:
git clone https://github.com/mengesb/tf_hachef.git
- Navigate to the correct plan in the provider tree.
- Make a local terraform.tfvars file:
cp terraform.tfvars.example terraform.tfvars
- Edit
terraform.tfvars
with your editor of choice, ensuringvar.chef["accept_mlsa"]
is set totrue
- Test the plan:
terraform plan
- Apply the plan:
terraform apply
The defaults set forth in the variables.tf
file have been set for good reason.
Please note that a good amount of testing went into defining these defaults and
necessary inputs are defined, for your convenience in terraform.tfvars.example
per plan.
You can view a runtime output sample here: tf_hachef_runtime.txt
Please understand that this is a work in progress and is subject to change rapidly. Be sure to keep up to date with the repo should you fork, and feel free to contact me regarding development and suggested direction. Familiarize yoursef with the contributing before making/submitting changes.
Please refer to the CHANGELOG.md
This is licensed under the Apache 2.0 license.