terraspace_plugin_google 0.4.2 → 0.5.0

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: e2c5d84453ebba83c7b1e9a57ca883ce6f8d3ff53853f2016daa41a0c1227562
4
- data.tar.gz: 0be0ed0242048ec5b01d707615eed97dc647b0450c27e5bf3babd866eacb6b1f
3
+ metadata.gz: dde1622709af67fb93625261112894437b2ee625ed5abf5ccb429933e2e73d58
4
+ data.tar.gz: 30ae24d8e6b0a405c41f921735ae59049ef96f9b69b18af1219c068195922814
5
5
  SHA512:
6
- metadata.gz: 3966aec2c68d5d824311dc73b58d733b3df5c9240095468cfe5c703426238b8fd65eb8dd38ee72bd2b3a5cd3777827d35d110eae2dac2c62a00af2c48afde5bf
7
- data.tar.gz: d840e45f91aee8ca5521e4b68b2cccef3c3587a193a6da2db6418a69b366fc74c54a379e6993a58202bc0adc423bbd5e121635d33ac3333f42d1dbc68326d842
6
+ metadata.gz: 36f872a530e7ee707b22514a6131d3c493ac454d20ad234c8fea20479d2c2d9259fe6335351e72ba6e18e914465949add0ac7e38a3d48dc5725602564f9ebce1
7
+ data.tar.gz: 43207b546d081682b50688d5181103f1a1736a958838f948759ee79b118e9949403ccd6b8e33db9a9df99344efe89784b7c376c71c2ebbca9a8b12504213472e
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
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.5.0] - 2022-07-20
7
+ - [#16](https://github.com/boltops-tools/terraspace_plugin_google/pull/16) update backend key generated default
8
+ - fix ruby dsl starter example
9
+
6
10
  ## [0.4.2] - 2022-07-13
7
11
  - [#15](https://github.com/boltops-tools/terraspace_plugin_google/pull/15) add backend config variables docs comment
8
12
 
@@ -1,8 +1,9 @@
1
+ # This file was initially generated by terraspace_plugin_google <%= TerraspacePluginGoogle::VERSION %>
1
2
  # Backend Config Variables Docs
2
3
  # https://terraspace.cloud/docs/config/backend/variables/
3
4
  terraform {
4
5
  backend "gcs" {
5
6
  bucket = "<%%= expansion('terraform-state-:PROJECT-:REGION-:ENV') %>"
6
- prefix = "<%%= expansion(':PROJECT/:TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:REGION') %>"
7
+ prefix = "<%%= expansion(':PROJECT/:REGION/:APP/:ROLE/:ENV/:EXTRA/:BUILD_DIR') %>"
7
8
  }
8
9
  }
@@ -1,4 +1,5 @@
1
1
  resource("google_storage_bucket", "this",
2
- name: var.name,
2
+ name: var.name,
3
3
  uniform_bucket_level_access: var.uniform_bucket_level_access,
4
+ location: var.location,
4
5
  )
@@ -8,3 +8,9 @@ variable("uniform_bucket_level_access",
8
8
  type: "bool",
9
9
  default: false,
10
10
  )
11
+
12
+ variable("location",
13
+ description: "location",
14
+ type: "string",
15
+ default: "US",
16
+ )
@@ -1,6 +1,7 @@
1
+ # This file was initially generated by terraspace_plugin_google <%= TerraspacePluginGoogle::VERSION %>
1
2
  # Backend Config Variables Docs
2
3
  # https://terraspace.cloud/docs/config/backend/variables/
3
4
  backend("gcs",
4
5
  bucket: "terraform-state-:PROJECT-:REGION-:ENV",
5
- prefix: ":PROJECT/:TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:REGION",
6
+ prefix: ":PROJECT/:REGION/:APP/:ROLE/:ENV/:EXTRA/:BUILD_DIR",
6
7
  )
@@ -5,4 +5,6 @@ resource("random_pet","bucket",
5
5
  module!("bucket",
6
6
  source: "../../modules/example",
7
7
  name: "bucket-${random_pet.bucket.id}",
8
+ uniform_bucket_level_access: var.uniform_bucket_level_access,
9
+ location: var.location,
8
10
  )
@@ -3,3 +3,9 @@ variable("uniform_bucket_level_access",
3
3
  type: "bool",
4
4
  default: false,
5
5
  )
6
+
7
+ variable("location",
8
+ description: "location",
9
+ type: "string",
10
+ default: "US",
11
+ )
@@ -1,3 +1,3 @@
1
1
  module TerraspacePluginGoogle
2
- VERSION = "0.4.2"
2
+ VERSION = "0.5.0"
3
3
  end
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.2
4
+ version: 0.5.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-07-13 00:00:00.000000000 Z
11
+ date: 2022-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gcp_data