terraspace_plugin_google 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 60aa63a18ee7e8e607a58f0e00534bf68158a117070c1cbddd7c13eb9ed2d148
|
|
4
|
+
data.tar.gz: 969b365d1168cc6a5b3d4ed5a03d88699d701ec54e2490162f00f89d5b511ee5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06ce418b5be6190d68246b9f7066045cd40781c4d75db40c4f04792b1004aeeb7306644dafd843fe732fe3e39d175d63bec42fb4aafae433332f1c1fa4a28b81
|
|
7
|
+
data.tar.gz: 78398add7a43d881056f85910873ebf283c287fd0f139ba864e0ad45dcb22059800fc9cfb4756bcf395ac8294091cc1e4ed952bd7c996cd9d0a8a9d1f69f771d
|
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.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 = "<%%=
|
|
4
|
-
prefix = "<%%=
|
|
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
|
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.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-
|
|
11
|
+
date: 2020-08-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gcp_data
|