terraspace 2.1.1 → 2.1.2
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
- data/CHANGELOG.md +3 -0
- data/README.md +1 -0
- data/lib/terraspace/app.rb +3 -3
- 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: '03096c453bba884de848aa0eaa9fe82204f6a5e66efd1fda10a512dfe6509747'
|
|
4
|
+
data.tar.gz: c9d9df2c2188457f06247b603ca0e39b7197c8f7286fcf3dfe8ef659e356254b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7cece8de2acae3e9c3d4fcb88e7a89c3bbad55a135f246426c54d5ab5176f467b3c4dcdc1a0b288b03f15266088b7dec27c71373b7ce70e1f9313110ec236ca0
|
|
7
|
+
data.tar.gz: bd251ca2dd8baea3739c2cb69cfb2d144916f2a80ccd1eaad22d30401c4bf6de32938263438ebb4d334dfb262ca49801aad46cd0293ea56e102082686f50d1f7
|
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
|
+
## [2.1.2] - 2022-07-13
|
|
7
|
+
- [#249](https://github.com/boltops-tools/terraspace/pull/249) fix cost.enabled setting when nil
|
|
8
|
+
|
|
6
9
|
## [2.1.1] - 2022-07-12
|
|
7
10
|
- [#248](https://github.com/boltops-tools/terraspace/pull/248) fix destroy success return
|
|
8
11
|
|
data/README.md
CHANGED
|
@@ -118,6 +118,7 @@ To install modules:
|
|
|
118
118
|
* [Configurable CLI](https://terraspace.cloud/docs/config/args/): Configurable [CLI Hooks](https://terraspace.cloud/docs/config/hooks/) and [CLI Args](https://terraspace.cloud/docs/config/args/) allow you to adjust the underlying terraform command.
|
|
119
119
|
* [Testing](https://terraspace.cloud/docs/testing/): A testing framework that allows you to create test harnesses, deploy real-resources, and have higher confidence that your code works.
|
|
120
120
|
* [Terraform Cloud and Terraform Enterprise Support](https://terraspace.cloud/docs/cloud/): TFC and TFE are both supported. Terraspace adds additional conveniences to make working with Terraform Cloud Workspaces easier.
|
|
121
|
+
* [Terraspace Cloud Support](https://terraspace.cloud/docs/cloud/): Terraspace Cloud adds additional features and conveniences like a Dashboard, History, Team Management, Permissions, Real-time Logging, and Cost Estimates. It's specifically designed for Terraspace. You might also be interested in this blog post: [Terraspace Cloud Intro](https://blog.boltops.com/2022/06/10/terraspace-cloud/)
|
|
121
122
|
|
|
122
123
|
## Comparison
|
|
123
124
|
|
data/lib/terraspace/app.rb
CHANGED
|
@@ -52,7 +52,7 @@ module Terraspace
|
|
|
52
52
|
config.cloud.record = "changes" # IE: changes or all
|
|
53
53
|
config.cloud.stack = ":APP-:ROLE-:MOD_NAME-:ENV-:EXTRA-:REGION"
|
|
54
54
|
config.cloud.cost = ActiveSupport::OrderedOptions.new
|
|
55
|
-
config.cloud.cost.enabled =
|
|
55
|
+
config.cloud.cost.enabled = cast_boolean(ENV['TS_COST'])
|
|
56
56
|
config.cloud.vcs = ActiveSupport::OrderedOptions.new
|
|
57
57
|
config.cloud.vcs.name = nil # github, gitlab, bitbucket. Else default to registered terraspace_vcs_* plugin
|
|
58
58
|
|
|
@@ -102,8 +102,8 @@ module Terraspace
|
|
|
102
102
|
# https://stackoverflow.com/questions/36228873/ruby-how-to-convert-a-string-to-boolean
|
|
103
103
|
# https://github.com/rails/rails/blob/5-1-stable/activemodel/lib/active_model/type/boolean.rb
|
|
104
104
|
# so dont have to add activemodel as a dependency just for this method
|
|
105
|
-
FALSE_VALUES = [false, 0, "0", "f", "F", "false", "FALSE", "off", "OFF"].to_set
|
|
106
|
-
def
|
|
105
|
+
FALSE_VALUES = [nil, false, 0, "0", "f", "F", "false", "FALSE", "off", "OFF"].to_set
|
|
106
|
+
def cast_boolean(value)
|
|
107
107
|
if value == ""
|
|
108
108
|
nil
|
|
109
109
|
else
|
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: 2.1.
|
|
4
|
+
version: 2.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|