terraspace_plugin_google 0.3.5 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/templates/hcl/project/config/terraform/backend.tf.tt +1 -1
- data/lib/templates/ruby/project/config/terraform/backend.rb.tt +2 -2
- data/lib/terraspace_plugin_google/interfaces/ci.rb +12 -0
- data/lib/terraspace_plugin_google/version.rb +1 -1
- data/lib/terraspace_plugin_google.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ee01133cfd8c39db829850b3a3f4b7e7d666b19ee80a59110b812f4e1a28472
|
4
|
+
data.tar.gz: 79f451387710cafcd197dd0587d2cc13f2f18c8d4ce17df5fd8d78ef1662d8e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b66536dc2fd67abac5c4a6ce63fe163848b68fc29b7f3cee5ea016375895be5a3964056c86173907be8d1444bc33f3c7762275a0558e6a00846e52b995e988d6
|
7
|
+
data.tar.gz: c1b96f881f96bb5ecbc4754d33bee2cf6d69682625597371ee544efa269377493470c36647db54e5c3b2f00c7db8adf0a550c23cca2cd379fe3433d4f921bf0d
|
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/).
|
5
5
|
|
6
|
+
## [0.4.0] - 2022-06-10
|
7
|
+
- [#13](https://github.com/boltops-tools/terraspace_provider_google/pull/13) update generated backend key and ci interface
|
8
|
+
|
6
9
|
## [0.3.5] - 2022-01-11
|
7
10
|
- [#11](https://github.com/boltops-tools/terraspace_provider_google/pull/11) set GOOGLE_CLOUD_PROJECT while keeping backwards compatibility
|
8
11
|
|
@@ -1,4 +1,4 @@
|
|
1
1
|
backend("gcs",
|
2
|
-
bucket: "terraform-state-:PROJECT-:REGION-:ENV",
|
3
|
-
prefix: ":
|
2
|
+
bucket: "terraform-state-:PROJECT-:REGION-:ENV",
|
3
|
+
prefix: ":TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:REGION",
|
4
4
|
)
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module TerraspacePluginGoogle::Interfaces
|
2
|
+
class Ci
|
3
|
+
def vars
|
4
|
+
{
|
5
|
+
GOOGLE_APPLICATION_CREDENTIALS: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}',
|
6
|
+
GOOGLE_PROJECT: '${{ secrets.GOOGLE_PROJECT }}',
|
7
|
+
GOOGLE_REGION: '${{ secrets.GOOGLE_REGION }}',
|
8
|
+
GOOGLE_ZONE: '${{ secrets.GOOGLE_ZONE }}',
|
9
|
+
}
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -39,5 +39,6 @@ Terraspace::Plugin.register("google",
|
|
39
39
|
config_class: TerraspacePluginGoogle::Interfaces::Config,
|
40
40
|
helper_class: TerraspacePluginGoogle::Interfaces::Helper,
|
41
41
|
layer_class: TerraspacePluginGoogle::Interfaces::Layer,
|
42
|
+
ci_class: TerraspacePluginGoogle::Interfaces::Ci,
|
42
43
|
root: File.dirname(__dir__),
|
43
44
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: terraspace_plugin_google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
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-
|
11
|
+
date: 2022-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gcp_data
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- lib/terraspace_plugin_google/autoloader.rb
|
141
141
|
- lib/terraspace_plugin_google/clients.rb
|
142
142
|
- lib/terraspace_plugin_google/interfaces/backend.rb
|
143
|
+
- lib/terraspace_plugin_google/interfaces/ci.rb
|
143
144
|
- lib/terraspace_plugin_google/interfaces/config.rb
|
144
145
|
- lib/terraspace_plugin_google/interfaces/expander.rb
|
145
146
|
- lib/terraspace_plugin_google/interfaces/helper.rb
|
@@ -169,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
170
|
- !ruby/object:Gem::Version
|
170
171
|
version: '0'
|
171
172
|
requirements: []
|
172
|
-
rubygems_version: 3.
|
173
|
+
rubygems_version: 3.3.12
|
173
174
|
signing_key:
|
174
175
|
specification_version: 4
|
175
176
|
summary: Terraspace Google Cloud Plugin
|