diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a9af26..c9606f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ tf_hachef CHANGELOG This file is used to list changes made in each version of the tf_hachef Terraform plan. +v0.2.5 (2016-08-10) +------------------- +- Adding `postgresql.md5_auth_cidr_addresses` to `chef-backend.rb` before joining cluster no longer breaks chef-backend +- attributes-json.tpl -> backend-attributes-json.tpl for consistency + v0.2.4 (2016-08-10) ------------------- - Fix for #14 diff --git a/files/attributes-json.tpl b/files/backend-attributes-json.tpl similarity index 100% rename from files/attributes-json.tpl rename to files/backend-attributes-json.tpl diff --git a/main.tf b/main.tf index 4fc624b..20e8a63 100644 --- a/main.tf +++ b/main.tf @@ -214,10 +214,10 @@ resource "null_resource" "chef-prep" { EOF } } -# Chef provisiong attributes_json and dna.json templating -resource "template_file" "be-attributes-json" { +# Chef provisiong backend attributes_json and dna.json templating +resource "template_file" "backend-attributes-json" { count = "${var.chef_backend["count"]}" - template = "${file("${path.module}/files/attributes-json.tpl")}" + template = "${file("${path.module}/files/backend-attributes-json.tpl")}" vars { domain = "${var.domain}" host = "${format("%s-%03d", var.instance_hostname["backend"], count.index + 1)}" @@ -262,7 +262,7 @@ resource "aws_instance" "chef-backends" { provisioner "remote-exec" { inline = [ "cat > /tmp/dna.json <