iapi-idlc-sdk-pfm 1.0.20 → 1.0.22
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b73ca5e0c0c2441f4644277f2f4f76566328dd1cf5e8d53e6f07ebcadda9ba73
|
4
|
+
data.tar.gz: 74117abd4b3dff0c5831a49ae5450c8a431e2a0fcd2f875b44c123d4a5a61790
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8bf2e9e453e3b1f0da366f0a21ec1cad5f87338e7bcd154adfc7761b63e499c18307045b762abe0395a98b6f8b53cafb014ddf018cd8d161bf7b47c2e61f762
|
7
|
+
data.tar.gz: 3b6ccb0621c783de46de934be04a64fdeecf24858de1f8221c69a113164dfe4b15f1c8f63a0a69dd0f25eb669aab1b7bf06ec0f3a2f6efb87615309e3aa86ded
|
@@ -54,7 +54,7 @@ module Pfm
|
|
54
54
|
Idlc::Deploy::Config.add_deployment_var('app_release', 'null')
|
55
55
|
|
56
56
|
if upgraded_terraform?
|
57
|
-
Terraform::Binary::Command.run("-chdir
|
57
|
+
Terraform::Binary::Command.run("-chdir=#{dir} destroy")
|
58
58
|
else
|
59
59
|
Terraform::Binary.destroy("#{dir}")
|
60
60
|
end
|
@@ -37,7 +37,7 @@ module Pfm
|
|
37
37
|
|
38
38
|
begin
|
39
39
|
if upgraded_terraform?
|
40
|
-
Terraform::Binary::Command.run("-chdir
|
40
|
+
Terraform::Binary::Command.run("-chdir=#{inf_base_dir}/tf fmt")
|
41
41
|
else
|
42
42
|
tf_paths.each do |path|
|
43
43
|
# Format the file to a canonical syntax
|
@@ -71,8 +71,8 @@ module Pfm
|
|
71
71
|
def plan(dir)
|
72
72
|
begin
|
73
73
|
if upgraded_terraform?
|
74
|
-
Terraform::Binary::Command.run("-chdir
|
75
|
-
Terraform::Binary::Command.run("-chdir
|
74
|
+
Terraform::Binary::Command.run("-chdir=#{dir} plan") unless @config[:landscape]
|
75
|
+
Terraform::Binary::Command.run("-chdir=#{dir} plan | landscape") if @config[:landscape]
|
76
76
|
else
|
77
77
|
Terraform::Binary.plan(dir.to_s) unless @config[:landscape]
|
78
78
|
Terraform::Binary.plan("#{dir} | landscape") if @config[:landscape]
|