terraspace_plugin_google 0.3.5 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d49aa4dec651de8b67872942c9f237b38e123263985f6d6d18151b46ffe14b5
4
- data.tar.gz: '04508bd3f5f2336e0d2bf3cb99943809961e0d5807eef3afbdbf311e769540ee'
3
+ metadata.gz: e2c5d84453ebba83c7b1e9a57ca883ce6f8d3ff53853f2016daa41a0c1227562
4
+ data.tar.gz: 0be0ed0242048ec5b01d707615eed97dc647b0450c27e5bf3babd866eacb6b1f
5
5
  SHA512:
6
- metadata.gz: 5fb9e68077f452fdbb96d00ebdcaac6b67bed251752c4c388be97cfb9e48568f48d73b4a02ee7d1293e3872bbbbc7d4e400bbfa2135c88a5b54f3b9a90eb6c99
7
- data.tar.gz: da5a5b2f44d20182d9ea0916f144f8b0703b2f4d774bbc9658af8078ccf802cd0251eaf4f7515b46c4f3974af1eb4b297135ff5b671171769996e36e1d52ca3b
6
+ metadata.gz: 3966aec2c68d5d824311dc73b58d733b3df5c9240095468cfe5c703426238b8fd65eb8dd38ee72bd2b3a5cd3777827d35d110eae2dac2c62a00af2c48afde5bf
7
+ data.tar.gz: d840e45f91aee8ca5521e4b68b2cccef3c3587a193a6da2db6418a69b366fc74c54a379e6993a58202bc0adc423bbd5e121635d33ac3333f42d1dbc68326d842
data/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
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.2] - 2022-07-13
7
+ - [#15](https://github.com/boltops-tools/terraspace_plugin_google/pull/15) add backend config variables docs comment
8
+
9
+ ## [0.4.1] - 2022-06-14
10
+ - [#14](https://github.com/boltops-tools/terraspace_provider_google/pull/14) backend.tf template project variable
11
+
12
+ ## [0.4.0] - 2022-06-10
13
+ - [#13](https://github.com/boltops-tools/terraspace_provider_google/pull/13) update generated backend key and ci interface
14
+
6
15
  ## [0.3.5] - 2022-01-11
7
16
  - [#11](https://github.com/boltops-tools/terraspace_provider_google/pull/11) set GOOGLE_CLOUD_PROJECT while keeping backwards compatibility
8
17
 
@@ -1,6 +1,8 @@
1
+ # Backend Config Variables Docs
2
+ # https://terraspace.cloud/docs/config/backend/variables/
1
3
  terraform {
2
4
  backend "gcs" {
3
5
  bucket = "<%%= expansion('terraform-state-:PROJECT-:REGION-:ENV') %>"
4
- prefix = "<%%= expansion(':REGION/:ENV/:BUILD_DIR') %>"
6
+ prefix = "<%%= expansion(':PROJECT/:TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:REGION') %>"
5
7
  }
6
8
  }
@@ -1,4 +1,6 @@
1
+ # Backend Config Variables Docs
2
+ # https://terraspace.cloud/docs/config/backend/variables/
1
3
  backend("gcs",
2
- bucket: "terraform-state-:PROJECT-:REGION-:ENV", # expanded by terraspace IE: terraform-state-project-us-central1-dev
3
- prefix: ":REGION/:ENV/:BUILD_DIR", # expanded by terraspace IE: us-central1/dev/modules/vm
4
+ bucket: "terraform-state-:PROJECT-:REGION-:ENV",
5
+ prefix: ":PROJECT/:TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:REGION",
4
6
  )
@@ -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
@@ -1,3 +1,3 @@
1
1
  module TerraspacePluginGoogle
2
- VERSION = "0.3.5"
2
+ VERSION = "0.4.2"
3
3
  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.3.5
4
+ version: 0.4.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-01-11 00:00:00.000000000 Z
11
+ date: 2022-07-13 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.2.32
173
+ rubygems_version: 3.3.12
173
174
  signing_key:
174
175
  specification_version: 4
175
176
  summary: Terraspace Google Cloud Plugin