terraspace_plugin_aws 0.1.0 → 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: a5637326fc002e5732dc1f88390505ad9287ce54926e24646ae6fac4070d851f
|
|
4
|
+
data.tar.gz: 9bd59a232bed2d678dbb6d04c2043c91a0312f8f2385623d5eb7c27416e507cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5415e06cdac40d7b415474bcf4fcce6f063369e3e3a7354a9256ecb1adaba51dc23b8d1d8c56c53be90c21d5eb8fef4fddce951784eb193dc974829b2a825671
|
|
7
|
+
data.tar.gz: f6b29f9a92920e925a4a7c85817f8d03ad2e94899a51849a1e88cb523d81b77440fec922907f12da94955f30807817fb92bca20000bc0f4ec4efcdaa69f61a02
|
data/CHANGELOG.md
CHANGED
|
@@ -3,5 +3,8 @@
|
|
|
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 expansion method
|
|
8
|
+
|
|
6
9
|
## [0.1.0]
|
|
7
10
|
- Initial release
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
terraform {
|
|
2
2
|
backend "s3" {
|
|
3
|
-
bucket = "<%%=
|
|
4
|
-
key = "<%%=
|
|
5
|
-
region = "<%%=
|
|
3
|
+
bucket = "<%%= expansion('terraform-state-:ACCOUNT-:REGION-:ENV') %>" # expanded by terraspace IE: terraform-state-112233445566-us-west-2-dev
|
|
4
|
+
key = "<%%= expansion(':REGION/:ENV/:BUILD_DIR/terraform.tfstate') %>" # expanded by terraspace IE: us-west-2/dev/modules/vm/terraform.tfstate
|
|
5
|
+
region = "<%%= expansion(':REGION') %>"
|
|
6
6
|
encrypt = true
|
|
7
7
|
dynamodb_table = "terraform_locks"
|
|
8
8
|
}
|
|
@@ -2,6 +2,7 @@ require "aws_data"
|
|
|
2
2
|
|
|
3
3
|
module TerraspacePluginAws::Interfaces
|
|
4
4
|
class Layer
|
|
5
|
+
include Terraspace::Plugin::Layer::Interface
|
|
5
6
|
extend Memoist
|
|
6
7
|
|
|
7
8
|
# interface method
|
|
@@ -14,11 +15,6 @@ module TerraspacePluginAws::Interfaces
|
|
|
14
15
|
aws_data.region
|
|
15
16
|
end
|
|
16
17
|
|
|
17
|
-
# interface method
|
|
18
|
-
def provider
|
|
19
|
-
"aws"
|
|
20
|
-
end
|
|
21
|
-
|
|
22
18
|
def aws_data
|
|
23
19
|
AwsData.new
|
|
24
20
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: terraspace_plugin_aws
|
|
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: aws-sdk-dynamodb
|