kitchen-terraform 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/kitchen/driver/terraform.rb +4 -2
- data/lib/kitchen/terraform/command/output.rb +1 -1
- data/lib/kitchen/terraform/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79ce2705435a58ee12d82ba7b32f8a65e4af772d5d9acbb5097778876ed827e8
|
|
4
|
+
data.tar.gz: 9230772270bc048ca54b3b2ae6f99e34d6b9cd0095f2233f74163bc687bb94aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5d4447b9a4a6acb2f0ac8350480d7c738196d43fa97a3f41ac2d9997e2489ea41fca77fde8bdc525bbd4f720d34b7cd9cf446627d84a3827813b23a195e58e5
|
|
7
|
+
data.tar.gz: 05adc213a57fd1c82bbc505dbd1ad8d5b32337058ba8a6b368ac2b213d491f6392839d42b213a858d5aecb9e943c658c9372af4e20407b7f0b8f0751174963f1
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
|
@@ -257,12 +257,14 @@ class ::Kitchen::Driver::Terraform < ::Kitchen::Driver::Base
|
|
|
257
257
|
)
|
|
258
258
|
end
|
|
259
259
|
|
|
260
|
-
# Retrieves the Terraform state outputs
|
|
260
|
+
# Retrieves the Terraform state outputs for a Kitchen instance by selecting the test workspace and fetching the
|
|
261
|
+
# outputs.
|
|
261
262
|
#
|
|
262
263
|
# @raise [::Kitchen::Terraform::Error] if the retrieval fails.
|
|
263
264
|
# @return [void]
|
|
264
|
-
# @yieldparam output [::
|
|
265
|
+
# @yieldparam output [::Hash] the state output.
|
|
265
266
|
def retrieve_outputs(&block)
|
|
267
|
+
run_workspace_select_instance
|
|
266
268
|
::Kitchen::Terraform::Command::Output.run(
|
|
267
269
|
options: {
|
|
268
270
|
cwd: config_root_module_directory, live_stream: logger, timeout: config_command_timeout,
|
|
@@ -30,7 +30,7 @@ module ::Kitchen::Terraform::Command::Output
|
|
|
30
30
|
# command.
|
|
31
31
|
# @option options [::Integer] :timeout the maximum duration in seconds to run the command.
|
|
32
32
|
# @param options [::Hash] options which adjust the execution of the command.
|
|
33
|
-
# @yieldparam output [::
|
|
33
|
+
# @yieldparam output [::Hash] the standard output of the command parsed as JSON.
|
|
34
34
|
def run(options:, &block)
|
|
35
35
|
run_shell_out(
|
|
36
36
|
options: options,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-terraform
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.1.
|
|
4
|
+
version: 4.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aaron Lane
|
|
@@ -57,7 +57,7 @@ cert_chain:
|
|
|
57
57
|
BVaY4PA1920fVWRcwrNEzxNhWvlAlNCU9d63OhVIo1rD46E5/+fuWunp4ZyEJHIX
|
|
58
58
|
lema55cN
|
|
59
59
|
-----END CERTIFICATE-----
|
|
60
|
-
date: 2018-12-
|
|
60
|
+
date: 2018-12-13 00:00:00.000000000 Z
|
|
61
61
|
dependencies:
|
|
62
62
|
- !ruby/object:Gem::Dependency
|
|
63
63
|
name: guard
|
metadata.gz.sig
CHANGED
|
Binary file
|