Skip to content

Commit

Permalink
Merge pull request #10 from unifio/upgrade-0.6.7
Browse files Browse the repository at this point in the history
Upgrade Terraform and file_template usage
  • Loading branch information
blakeneyops committed Dec 2, 2015
2 parents 79c5333 + 2146886 commit 1154d6d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Unreleased
## 0.1.1 (Dec 1, 2015)

#### IMPROVEMENTS:
* Updated template_file usage for 0.6.7 to remove deprecation warnings [GH-9]
* Added ASG name to module outputs [GH-8]
* Added default Name tag to auto scaling groups [GH-6]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Module stack supporting multiple deployment scenarios of an Auto Scaling Group t

## Requirements ##

- Terraform 0.6.4 or newer
- Terraform 0.6.7 or newer
- AWS provider

## Basic Group Module ##
Expand Down
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
machine:
environment:
TF_VERSION: 0.6.6
TF_URL: https://dl.bintray.com/mitchellh/terraform/terraform_${TF_VERSION}_linux_amd64.zip
TF_VERSION: 0.6.7
TF_URL: https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_linux_amd64.zip
dependencies:
pre:
- "[[ -f \"${HOME}/bin/terraform\" ]] || (wget -O \"/tmp/tf.zip\" \"${TF_URL}\" && unzip -o -d \"${HOME}/bin\" \"/tmp/tf.zip\")"
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ resource "aws_security_group_rule" "ssh" {

## Generates instance user data from a template
resource "template_file" "user_data" {
filename = "../templates/user_data.tpl"
template = "${file("../templates/user_data.tpl")}"

vars {
hostname = "${var.stack_item_label}-example"
Expand Down
2 changes: 1 addition & 1 deletion examples/standard/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ resource "aws_security_group_rule" "elb" {

## Generates instance user data from a template
resource "template_file" "user_data" {
filename = "../templates/user_data.tpl"
template = "${file("../templates/user_data.tpl")}"

vars {
hostname = "${var.stack_item_label}-example"
Expand Down

0 comments on commit 1154d6d

Please sign in to comment.