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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rake_terraform/tasks/provision.rb +3 -1
- data/lib/rake_terraform/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f54d2792411a0272b935cb2622c4ded0c4d875a1
|
4
|
+
data.tar.gz: f74564eb5f5c3bc0e603bec7c6f8e35f8d0b326d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8fa4235b2504b5a0d3637147220ef9415d58d9f2c17f53977e722237b3168947e8b651c665be30f5e5431961b35841b59e791eaefd81beea43b930dda476a46
|
7
|
+
data.tar.gz: 78f15f694e30e9e1126c8feb265c4f4c60447de8822dd8fd7fa8bed970495cd9e924d633b134a1b561c99a1bd0fd87abf70d7bba213d99f1296dcf5b61454d1b
|
data/Gemfile.lock
CHANGED
@@ -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,
|