terraspace_plugin_google 0.1.1 → 0.2.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: d059c48bc9d92aa773c479e16808f1e83d8111a8a8378c2137da8badae3a3395
4
- data.tar.gz: 4aa5654b1e2ebb696228186107daab1558e1bb0d3efa38423540b25ef38b9199
3
+ metadata.gz: 60aa63a18ee7e8e607a58f0e00534bf68158a117070c1cbddd7c13eb9ed2d148
4
+ data.tar.gz: 969b365d1168cc6a5b3d4ed5a03d88699d701ec54e2490162f00f89d5b511ee5
5
5
  SHA512:
6
- metadata.gz: f52f8ce5b835edd7534e79dcdc04db8cd86807b100735f4b5b6ae87b0a5d21f97c57fb294ac6972d25e6377292ec279eeee27b8ffec3cd83c64d68b3c33783ee
7
- data.tar.gz: c605f6727d79da8a1d6008801b84edd7597f0c001a959e43071257a2b8897269611377fc181e68176ea7d26fbb836cc61385110e6147d92ea358d016ae83d70c
6
+ metadata.gz: 06ce418b5be6190d68246b9f7066045cd40781c4d75db40c4f04792b1004aeeb7306644dafd843fe732fe3e39d175d63bec42fb4aafae433332f1c1fa4a28b81
7
+ data.tar.gz: 78398add7a43d881056f85910873ebf283c287fd0f139ba864e0ad45dcb22059800fc9cfb4756bcf395ac8294091cc1e4ed952bd7c996cd9d0a8a9d1f69f771d
@@ -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.2.0]
7
+ - #2 include layer interface, update template to use expansion method
8
+
6
9
  ## [0.1.1]
7
10
  - summary command: fix edge case when files are deleted mid-loop
8
11
 
@@ -1,6 +1,6 @@
1
1
  terraform {
2
2
  backend "gcs" {
3
- bucket = "<%%= backend_expand('gcs', 'terraform-state-:PROJECT-:REGION-:ENV') %>" # expanded by terraspace IE: terraform-state-project-us-central1-dev
4
- prefix = "<%%= backend_expand('gcs', ':REGION/:ENV/:BUILD_DIR') %>" # expanded by terraspace IE: us-central1/dev/modules/vm
3
+ bucket = "<%%= expansion('terraform-state-:PROJECT-:REGION-:ENV') %>" # expanded by terraspace IE: terraform-state-project-us-central1-dev
4
+ prefix = "<%%= expansion(':REGION/:ENV/:BUILD_DIR') %>" # expanded by terraspace IE: us-central1/dev/modules/vm
5
5
  }
6
6
  }
@@ -2,6 +2,7 @@ require "gcp_data"
2
2
 
3
3
  module TerraspacePluginGoogle::Interfaces
4
4
  class Layer
5
+ include Terraspace::Plugin::Layer::Interface
5
6
  extend Memoist
6
7
 
7
8
  # interface method
@@ -13,10 +14,5 @@ module TerraspacePluginGoogle::Interfaces
13
14
  def region
14
15
  GcpData.region
15
16
  end
16
-
17
- # interface method
18
- def provider
19
- "google"
20
- end
21
17
  end
22
18
  end
@@ -1,3 +1,3 @@
1
1
  module TerraspacePluginGoogle
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.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.1.1
4
+ version: 0.2.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: 2020-07-25 00:00:00.000000000 Z
11
+ date: 2020-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gcp_data