tflat 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +2 -2
- data/lib/tflat/version.rb +1 -1
- data/tflat.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8857b58d1633ffb77eda5e12f302113a5741ee5057fb17c32dd1190ba510ee58
|
4
|
+
data.tar.gz: 5cc3cbdccd719aee57517c79369cce8938f845af117a2d778ab8c6628dd498d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e559851c0c04dfa89ca8836feee4a2d7a213eb7aa16cc742cf651b0bc974c333277a879a0a94320bf1cbfd99f43587c31d2d4c197273c173b6c78ec8d227490
|
7
|
+
data.tar.gz: 62d8944b2f6955eee6defead0095d790a6942f0c9694d750d4ccfff0c1705b95d7d5b3ccb289c47d7db5e03b9e82b1cc919c2a7aaafb1bb7378f387852609512
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ How many times you wish you could just write a simple IF or CASE statement insid
|
|
9
9
|
Also, you can't use subfolders with Terraform, so you often end up at one of the three scenarios below:
|
10
10
|
- You have a few `.tf` files with a lot of code in it. Ugly and not organized.
|
11
11
|
- You create lots of different `.tf` files in a single directory, which makes it really hard to stay organized.
|
12
|
-
- You separate everything in modules, so you have to keep passing variables downstream. And if you try to be
|
12
|
+
- You separate everything in modules, so you have to keep passing variables downstream. And if you try to be **DRY**, good luck passing 1 million variables downstream to submodules!
|
13
13
|
|
14
14
|
TFlat does 2 things to solve this problem:
|
15
15
|
* Separate your Terraform code in subdirectories.
|
@@ -49,7 +49,7 @@ variables.tf
|
|
49
49
|
|
50
50
|
Then it will `cd` into `.tflat` and run `terraform` with the arguments you passed to `tflat`.
|
51
51
|
|
52
|
-
|
52
|
+
**IMPORTANT:** The `.terraform` folder will live at `.tflat/.terraform`, so make sure you don't delete that folder if you are storing the terraform state locally!
|
53
53
|
|
54
54
|
There's only one more thing you have to pay attention to: handling file references.
|
55
55
|
|
data/lib/tflat/version.rb
CHANGED
data/tflat.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["parrudaj@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Terraform + Ruby + ERB = DRY infrastructure code!}
|
13
|
-
spec.description = %q{tflat is a Terraform wrapper that allows you to write Ruby code in .tf files. It also allows you to use subdirectories!
|
13
|
+
spec.description = %q{tflat is a Terraform wrapper that allows you to write Ruby code in .tf files. It also allows you to use subdirectories! Hurray!}
|
14
14
|
spec.homepage = "https://github.com/parruda/tflat"
|
15
15
|
spec.license = "MIT"
|
16
16
|
spec.add_runtime_dependency 'ptools', "~> 1.3"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tflat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paulo Arruda
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
69
|
description: tflat is a Terraform wrapper that allows you to write Ruby code in .tf
|
70
|
-
files. It also allows you to use subdirectories!
|
70
|
+
files. It also allows you to use subdirectories! Hurray!
|
71
71
|
email:
|
72
72
|
- parrudaj@gmail.com
|
73
73
|
executables:
|