terraspace 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -3
- data/lib/terraspace/cli/summary.rb +1 -1
- data/lib/terraspace/plugin/summary/interface.rb +1 -0
- data/lib/terraspace/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: 1a1cb3e8dfc7d02eae24d3e81a7e0a10033c9aa5890c41e77b35c29d84cc65c6
|
4
|
+
data.tar.gz: 31d1dce8f2c88b8d5548ba1e93ae7038d60b672b9a7e950cea5422ff504a5203
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb5bad6aca8391331b16131d20289d847ecd7c19ad5d4e22e9bda785937367c02b94ecab70132b2e157a88a6761012a3049a01ed1defb4aaf91f7dfb0e7a9b25
|
7
|
+
data.tar.gz: 41dbfa2e0323cf7cfdc7cb3dd26278a109fbc4f1c8133ef7f3cf92aa9d146825ff777fbb0e5755284a12d6df77f94f13bbaff525849d1b642306dc452bda1cdb
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [0.2.1]
|
7
|
+
* #35 fix summary bug when ran multiple times with different envs
|
8
|
+
|
6
9
|
## [0.2.0]
|
7
10
|
* #34 Terraform Cloud and Terraform Enterprise support added.
|
8
11
|
* TFC Vars support: JSON and DSL. config.overwrite and config.overwrite_sensitive configs
|
@@ -25,10 +28,10 @@ This project *loosely tries* to adhere to [Semantic Versioning](http://semver.or
|
|
25
28
|
* terraspace up: --reconfigure option. This is useful if upgrading Terraform version.
|
26
29
|
|
27
30
|
## [0.1.2]
|
28
|
-
|
31
|
+
* #33 rspec-terraspace dependency added
|
29
32
|
|
30
33
|
## [0.1.1]
|
31
|
-
|
34
|
+
* #32 terraspace summary --short option
|
32
35
|
|
33
36
|
## [0.1.0]
|
34
|
-
|
37
|
+
* Initial release
|
@@ -16,7 +16,7 @@ class Terraspace::CLI
|
|
16
16
|
puts "Summary of resources based on backend storage statefiles"
|
17
17
|
backend_expr = '.terraspace-cache/**/backend.*'
|
18
18
|
# Currently summary assumes backend are within the same bucket and key prefix
|
19
|
-
backend = Dir.glob(backend_expr).
|
19
|
+
backend = Dir.glob(backend_expr).find { |p| p.include?("/#{Terraspace.env}/") }
|
20
20
|
process(backend) if backend
|
21
21
|
end
|
22
22
|
|
@@ -104,6 +104,7 @@ module Terraspace::Plugin::Summary
|
|
104
104
|
index = path.index(regexp)
|
105
105
|
unless index
|
106
106
|
logger.error "ERROR: Unable to find the #{Terraspace.env} position in the prefix"
|
107
|
+
logger.error "path used: #{path}"
|
107
108
|
exit 1
|
108
109
|
end
|
109
110
|
env_chars = Terraspace.env.size + 1
|
data/lib/terraspace/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|