rake_terraform 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5edc08d5632b794f711a8c0461d38354575c43f9
4
- data.tar.gz: 28f0cf2888f932797b51164b1088abfa8428af6a
3
+ metadata.gz: f54d2792411a0272b935cb2622c4ded0c4d875a1
4
+ data.tar.gz: f74564eb5f5c3bc0e603bec7c6f8e35f8d0b326d
5
5
  SHA512:
6
- metadata.gz: a2b6f2218275a495ec51780c536653c4df456cb5ca044d19ace35df66fd410c81fecc0986ed38fb51d3699c5fac962e10a5ed91fb187ce0355bd1fd41be3da20
7
- data.tar.gz: 57edf33e6d2b655657ca8cf33749631bda24a82f5f4b1ce0f55a842f196c629acc648d17386d232575b1d99cf347ca078602c2af387a0763c44e5aca3c0d7444
6
+ metadata.gz: a8fa4235b2504b5a0d3637147220ef9415d58d9f2c17f53977e722237b3168947e8b651c665be30f5e5431961b35841b59e791eaefd81beea43b930dda476a46
7
+ data.tar.gz: 78f15f694e30e9e1126c8feb265c4f4c60447de8822dd8fd7fa8bed970495cd9e924d633b134a1b561c99a1bd0fd87abf70d7bba213d99f1296dcf5b61454d1b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_terraform (0.2.0)
4
+ rake_terraform (0.3.0)
5
5
  rake_dependencies (~> 0.15)
6
6
  ruby-terraform (~> 0.4)
7
7
 
@@ -20,6 +20,8 @@ module RakeTerraform
20
20
 
21
21
  parameter :backup_file
22
22
 
23
+ parameter :ensure_task, :default => :'terraform:ensure'
24
+
23
25
  def process_arguments(args)
24
26
  self.name = args[0] if args[0]
25
27
  end
@@ -31,7 +33,7 @@ module RakeTerraform
31
33
  end
32
34
 
33
35
  desc "Provision #{configuration_name} using terraform"
34
- task name do
36
+ task name => [ensure_task] do
35
37
  apply_vars = vars.respond_to?(:call) ?
36
38
  vars.call(
37
39
  configuration_name: configuration_name,
@@ -1,3 +1,3 @@
1
1
  module RakeTerraform
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson