mux_tf 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mux_tf/terraform_helpers.rb +6 -2
- data/lib/mux_tf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7674eca8a264df1e58d37be750bc5681a40c55ba1b47de8027ab77eda156c506
|
4
|
+
data.tar.gz: d0bd742e109563bd51420c19d66ab11a45947778f200dc24fb0e1a2869f4b556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eeab6c9a70ab1e7124722c93e7bd6cbc0af3148902d6a3d9ab58436a352b41e6c16064c4d2881648060a063ad1fae212198acf4da64f9052403612e9fc9a136
|
7
|
+
data.tar.gz: 7231f4def9919e26f091f5d2c5ac343923345addb9d4b55c7cb6687f324c526b301f255937f86653ec83b087b7244684ac9f122d04db020fb79d44469c9e1c3b
|
@@ -70,12 +70,16 @@ module MuxTf
|
|
70
70
|
|
71
71
|
private
|
72
72
|
|
73
|
+
def tf_base_command
|
74
|
+
ENV.fetch("MUX_TF_BASE_CMD", "terraform")
|
75
|
+
end
|
76
|
+
|
73
77
|
def tf_prepare_command(args, need_auth:)
|
74
78
|
if ENV["MUX_TF_AUTH_WRAPPER"] && need_auth
|
75
79
|
words = Shellwords.shellsplit(ENV["MUX_TF_AUTH_WRAPPER"])
|
76
|
-
[*words,
|
80
|
+
[*words, tf_base_command, *args]
|
77
81
|
else
|
78
|
-
[
|
82
|
+
[tf_base_command, *args]
|
79
83
|
end
|
80
84
|
end
|
81
85
|
|
data/lib/mux_tf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mux_tf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Banasik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|