Skip to content

Commit

Permalink
Merge pull request #52 from unifio/kj-fix-terraform-sync
Browse files Browse the repository at this point in the history
Add Terraform get to the sync command
  • Loading branch information
kjonick1 authored Oct 12, 2017
2 parents 69d12dd + 8ad2918 commit e1e353a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
* Add support for Terraform environments
* Add ability to toggle primary state store

## 0.7.5 (October 12, 2017)
IMPROVEMENTS:
- Fix the sync command to call Terraform get prior to init command. This is required with new version of Terraform.

## 0.7.4 (September 26, 2017)
IMPROVEMENTS:
- Updated Covalence to work with Terraform 0.10.x. Updates were made in 0.10.x that requires all variables set for validate to run.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
covalence (0.7.4)
covalence (0.7.5)
activemodel (~> 4.2.6)
activesupport (~> 4.2.6)
aws-sdk (~> 2.9.5)
Expand Down
1 change: 1 addition & 0 deletions lib/covalence/core/services/terraform_stack_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def stack_sync
logger.info "In #{tmpdir}:"

stack.materialize_state_inputs
TerraformCli.terraform_get(@path)
TerraformCli.terraform_init

stack.state_stores.drop(1).each do |store|
Expand Down
2 changes: 1 addition & 1 deletion lib/covalence/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Covalence
VERSION = "0.7.4"
VERSION = "0.7.5"
end

0 comments on commit e1e353a

Please sign in to comment.