terraspace_plugin_google 0.4.0 → 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: 0ee01133cfd8c39db829850b3a3f4b7e7d666b19ee80a59110b812f4e1a28472
4
- data.tar.gz: 79f451387710cafcd197dd0587d2cc13f2f18c8d4ce17df5fd8d78ef1662d8e4
3
+ metadata.gz: dde1622709af67fb93625261112894437b2ee625ed5abf5ccb429933e2e73d58
4
+ data.tar.gz: 30ae24d8e6b0a405c41f921735ae59049ef96f9b69b18af1219c068195922814
5
5
  SHA512:
6
- metadata.gz: b66536dc2fd67abac5c4a6ce63fe163848b68fc29b7f3cee5ea016375895be5a3964056c86173907be8d1444bc33f3c7762275a0558e6a00846e52b995e988d6
7
- data.tar.gz: c1b96f881f96bb5ecbc4754d33bee2cf6d69682625597371ee544efa269377493470c36647db54e5c3b2f00c7db8adf0a550c23cca2cd379fe3433d4f921bf0d
6
+ metadata.gz: 36f872a530e7ee707b22514a6131d3c493ac454d20ad234c8fea20479d2c2d9259fe6335351e72ba6e18e914465949add0ac7e38a3d48dc5725602564f9ebce1
7
+ data.tar.gz: 43207b546d081682b50688d5181103f1a1736a958838f948759ee79b118e9949403ccd6b8e33db9a9df99344efe89784b7c376c71c2ebbca9a8b12504213472e
data/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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
+
10
+ ## [0.4.2] - 2022-07-13
11
+ - [#15](https://github.com/boltops-tools/terraspace_plugin_google/pull/15) add backend config variables docs comment
12
+
13
+ ## [0.4.1] - 2022-06-14
14
+ - [#14](https://github.com/boltops-tools/terraspace_provider_google/pull/14) backend.tf template project variable
15
+
6
16
  ## [0.4.0] - 2022-06-10
7
17
  - [#13](https://github.com/boltops-tools/terraspace_provider_google/pull/13) update generated backend key and ci interface
8
18
 
@@ -1,6 +1,9 @@
1
+ # This file was initially generated by terraspace_plugin_google <%= TerraspacePluginGoogle::VERSION %>
2
+ # Backend Config Variables Docs
3
+ # https://terraspace.cloud/docs/config/backend/variables/
1
4
  terraform {
2
5
  backend "gcs" {
3
6
  bucket = "<%%= expansion('terraform-state-:PROJECT-:REGION-:ENV') %>"
4
- prefix = "<%%= expansion(':TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:REGION') %>"
7
+ prefix = "<%%= expansion(':PROJECT/:REGION/:APP/:ROLE/:ENV/:EXTRA/:BUILD_DIR') %>"
5
8
  }
6
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,4 +1,7 @@
1
+ # This file was initially generated by terraspace_plugin_google <%= TerraspacePluginGoogle::VERSION %>
2
+ # Backend Config Variables Docs
3
+ # https://terraspace.cloud/docs/config/backend/variables/
1
4
  backend("gcs",
2
5
  bucket: "terraform-state-:PROJECT-:REGION-:ENV",
3
- prefix: ":TYPE_DIR/:APP/:ROLE/:MOD_NAME/:ENV/:EXTRA/:REGION",
6
+ prefix: ":PROJECT/:REGION/:APP/:ROLE/:ENV/:EXTRA/:BUILD_DIR",
4
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.0"
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.0
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-06-10 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