terraspace 0.0.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/.cody/README.md +25 -0
  3. data/.cody/aws/bin/build.sh +13 -0
  4. data/.cody/aws/buildspec.yml +10 -0
  5. data/.cody/aws/project.rb +2 -0
  6. data/.cody/aws/role.rb +6 -0
  7. data/.cody/azurerm/bin/az/configure.sh +23 -0
  8. data/.cody/azurerm/bin/az/install.sh +17 -0
  9. data/.cody/azurerm/bin/build.sh +20 -0
  10. data/.cody/azurerm/bin/install.sh +6 -0
  11. data/.cody/azurerm/buildspec.yml +11 -0
  12. data/.cody/azurerm/project.rb +2 -0
  13. data/.cody/azurerm/role.rb +5 -0
  14. data/.cody/google/bin/build.sh +17 -0
  15. data/.cody/google/bin/gcloud/configure.sh +15 -0
  16. data/.cody/google/bin/gcloud/install.sh +18 -0
  17. data/.cody/google/bin/install.sh +6 -0
  18. data/.cody/google/buildspec.yml +11 -0
  19. data/.cody/google/project.rb +2 -0
  20. data/.cody/google/role.rb +5 -0
  21. data/.cody/shared/script/install.sh +6 -0
  22. data/.cody/shared/script/install/terraform.sh +11 -0
  23. data/.cody/shared/script/install/terraspace.sh +72 -0
  24. data/.cody/unit/bin/build.sh +4 -0
  25. data/.cody/unit/buildspec.yml +9 -0
  26. data/.cody/unit/project.rb +2 -0
  27. data/.github/ISSUE_TEMPLATE.md +7 -0
  28. data/.github/ISSUE_TEMPLATE/bug_report.md +84 -0
  29. data/.github/ISSUE_TEMPLATE/documentation.md +12 -0
  30. data/.github/ISSUE_TEMPLATE/feature_request.md +64 -0
  31. data/.github/ISSUE_TEMPLATE/question.md +14 -0
  32. data/.github/PULL_REQUEST_TEMPLATE.md +50 -0
  33. data/.gitignore +18 -9
  34. data/.pipedream/README.md +25 -0
  35. data/.pipedream/pipeline.rb +17 -0
  36. data/.pipedream/schedule.rb +3 -0
  37. data/.rspec +2 -2
  38. data/CHANGELOG.md +37 -0
  39. data/CONDUCT.md +1 -0
  40. data/CONTRIBUTING.md +1 -0
  41. data/Gemfile +1 -4
  42. data/Guardfile +19 -0
  43. data/LICENSE.txt +201 -21
  44. data/README.md +62 -27
  45. data/Rakefile +10 -2
  46. data/exe/terraspace +14 -0
  47. data/lib/templates/base/git_hook/hook.sh +5 -0
  48. data/lib/templates/base/project/.gitignore +33 -0
  49. data/lib/templates/base/project/Gemfile.tt +9 -0
  50. data/lib/templates/base/project/Terrafile +14 -0
  51. data/lib/templates/base/project/config/app.rb +4 -0
  52. data/lib/templates/base/shim/terraspace +7 -0
  53. data/lib/templates/hcl/module/main.tf +1 -0
  54. data/lib/templates/hcl/module/outputs.tf +1 -0
  55. data/lib/templates/hcl/module/variables.tf +1 -0
  56. data/lib/templates/hcl/project/config/terraform/backend.tf.tt +18 -0
  57. data/lib/templates/hcl/project/config/terraform/provider.tf +16 -0
  58. data/lib/templates/hcl/stack/main.tf +1 -0
  59. data/lib/templates/hcl/stack/outputs.tf +1 -0
  60. data/lib/templates/hcl/stack/variables.tf +1 -0
  61. data/lib/templates/plugin/.gitignore +12 -0
  62. data/lib/templates/plugin/.rspec +3 -0
  63. data/lib/templates/plugin/CHANGELOG.md +7 -0
  64. data/lib/templates/plugin/Gemfile +7 -0
  65. data/lib/templates/plugin/LICENSE.txt +201 -0
  66. data/lib/templates/plugin/README.md.tt +34 -0
  67. data/lib/templates/plugin/Rakefile +6 -0
  68. data/{bin/console → lib/templates/plugin/bin/console.tt} +1 -1
  69. data/{bin → lib/templates/plugin/bin}/setup +0 -0
  70. data/lib/templates/plugin/lib/templates/hcl/module/main.tf +1 -0
  71. data/lib/templates/plugin/lib/templates/hcl/module/outputs.tf +1 -0
  72. data/lib/templates/plugin/lib/templates/hcl/module/variables.tf +1 -0
  73. data/lib/templates/plugin/lib/templates/hcl/project/config/terraform/backend.tf.tt +6 -0
  74. data/lib/templates/plugin/lib/templates/hcl/project/config/terraform/provider.tf +3 -0
  75. data/lib/templates/plugin/lib/templates/hcl/stack/main.tf +1 -0
  76. data/lib/templates/plugin/lib/templates/hcl/stack/outputs.tf +1 -0
  77. data/lib/templates/plugin/lib/templates/hcl/stack/variables.tf +1 -0
  78. data/lib/templates/plugin/lib/templates/ruby/module/main.rb +1 -0
  79. data/lib/templates/plugin/lib/templates/ruby/module/outputs.rb +1 -0
  80. data/lib/templates/plugin/lib/templates/ruby/module/variables.rb +1 -0
  81. data/lib/templates/plugin/lib/templates/ruby/project/config/terraform/backend.rb.tt +4 -0
  82. data/lib/templates/plugin/lib/templates/ruby/project/config/terraform/provider.rb +3 -0
  83. data/lib/templates/plugin/lib/templates/ruby/stack/main.rb +1 -0
  84. data/lib/templates/plugin/lib/templates/ruby/stack/outputs.rb +1 -0
  85. data/lib/templates/plugin/lib/templates/ruby/stack/variables.rb +1 -0
  86. data/lib/templates/plugin/lib/templates/test/rspec/module/test/.rspec +3 -0
  87. data/lib/templates/plugin/lib/templates/test/rspec/module/test/Gemfile +9 -0
  88. data/lib/templates/plugin/lib/templates/test/rspec/module/test/spec/fixtures/stack/main.tf +1 -0
  89. data/lib/templates/plugin/lib/templates/test/rspec/module/test/spec/fixtures/stack/outputs.tf +1 -0
  90. data/lib/templates/plugin/lib/templates/test/rspec/module/test/spec/fixtures/stack/variables.tf +1 -0
  91. data/lib/templates/plugin/lib/templates/test/rspec/module/test/spec/main_spec.rb +29 -0
  92. data/lib/templates/plugin/lib/templates/test/rspec/module/test/spec/spec_helper.rb +13 -0
  93. data/lib/templates/plugin/lib/terraspace_plugin_%name%.rb.tt +36 -0
  94. data/lib/templates/plugin/lib/terraspace_plugin_%name%/autoloader.rb.tt +23 -0
  95. data/lib/templates/plugin/lib/terraspace_plugin_%name%/clients.rb.tt +14 -0
  96. data/lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/backend.rb.tt +12 -0
  97. data/lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/config.rb.tt +18 -0
  98. data/lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/expander.rb.tt +15 -0
  99. data/lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/layer.rb.tt +20 -0
  100. data/lib/templates/plugin/lib/terraspace_plugin_%name%/version.rb.tt +3 -0
  101. data/lib/templates/plugin/spec/spec_helper.rb.tt +14 -0
  102. data/lib/templates/plugin/spec/terraspace_provider_%name%_spec.rb.tt +5 -0
  103. data/lib/templates/plugin/terraspace_plugin_%name%.gemspec.tt +27 -0
  104. data/lib/templates/ruby/module/main.rb +1 -0
  105. data/lib/templates/ruby/module/outputs.rb +1 -0
  106. data/lib/templates/ruby/module/variables.rb +1 -0
  107. data/lib/templates/ruby/project/config/terraform/backend.rb.tt +9 -0
  108. data/lib/templates/ruby/project/config/terraform/provider.rb +7 -0
  109. data/lib/templates/ruby/stack/main.rb +1 -0
  110. data/lib/templates/ruby/stack/outputs.rb +1 -0
  111. data/lib/templates/ruby/stack/variables.rb +1 -0
  112. data/lib/terraspace.rb +22 -1
  113. data/lib/terraspace/app.rb +36 -0
  114. data/lib/terraspace/app/hooks.rb +18 -0
  115. data/lib/terraspace/autoloader.rb +25 -0
  116. data/lib/terraspace/booter.rb +19 -0
  117. data/lib/terraspace/builder.rb +43 -0
  118. data/lib/terraspace/bundle.rb +54 -0
  119. data/lib/terraspace/cli.rb +202 -0
  120. data/lib/terraspace/cli/base.rb +11 -0
  121. data/lib/terraspace/cli/build/placeholder.rb +40 -0
  122. data/lib/terraspace/cli/bundle.rb +28 -0
  123. data/lib/terraspace/cli/check_setup.rb +73 -0
  124. data/lib/terraspace/cli/clean.rb +12 -0
  125. data/lib/terraspace/cli/cloud.rb +24 -0
  126. data/lib/terraspace/cli/commander.rb +21 -0
  127. data/lib/terraspace/cli/help.rb +11 -0
  128. data/lib/terraspace/cli/help/bundle.md +14 -0
  129. data/lib/terraspace/cli/help/completion.md +20 -0
  130. data/lib/terraspace/cli/help/completion_script.md +3 -0
  131. data/lib/terraspace/cli/help/update.md +5 -0
  132. data/lib/terraspace/cli/info.rb +30 -0
  133. data/lib/terraspace/cli/init.rb +67 -0
  134. data/lib/terraspace/cli/list.rb +13 -0
  135. data/lib/terraspace/cli/new.rb +40 -0
  136. data/lib/terraspace/cli/new/git_hook.rb +33 -0
  137. data/lib/terraspace/cli/new/helper.rb +15 -0
  138. data/lib/terraspace/cli/new/helper/plugin_gem.rb +12 -0
  139. data/lib/terraspace/cli/new/module.rb +26 -0
  140. data/lib/terraspace/cli/new/plugin.rb +20 -0
  141. data/lib/terraspace/cli/new/plugin/helper.rb +15 -0
  142. data/lib/terraspace/cli/new/project.rb +110 -0
  143. data/lib/terraspace/cli/new/sequence.rb +59 -0
  144. data/lib/terraspace/cli/new/shim.rb +58 -0
  145. data/lib/terraspace/cli/new/source/core.rb +63 -0
  146. data/lib/terraspace/cli/new/source/plugin.rb +20 -0
  147. data/lib/terraspace/cli/new/source/test.rb +26 -0
  148. data/lib/terraspace/cli/new/stack.rb +26 -0
  149. data/lib/terraspace/cli/new/test/base.rb +17 -0
  150. data/lib/terraspace/cli/new/test/bootstrap.rb +18 -0
  151. data/lib/terraspace/cli/new/test/module.rb +15 -0
  152. data/lib/terraspace/cli/new/test/project.rb +15 -0
  153. data/lib/terraspace/cli/seed.rb +9 -0
  154. data/lib/terraspace/cli/summary.rb +58 -0
  155. data/lib/terraspace/cli/test.rb +35 -0
  156. data/lib/terraspace/command.rb +100 -0
  157. data/lib/terraspace/compiler/backend.rb +38 -0
  158. data/lib/terraspace/compiler/backend/parser.rb +42 -0
  159. data/lib/terraspace/compiler/basename.rb +10 -0
  160. data/lib/terraspace/compiler/builder.rb +78 -0
  161. data/lib/terraspace/compiler/cleaner.rb +63 -0
  162. data/lib/terraspace/compiler/cleaner/backend_change.rb +45 -0
  163. data/lib/terraspace/compiler/dsl/base.rb +12 -0
  164. data/lib/terraspace/compiler/dsl/meta/local.rb +7 -0
  165. data/lib/terraspace/compiler/dsl/meta/var.rb +7 -0
  166. data/lib/terraspace/compiler/dsl/mod.rb +19 -0
  167. data/lib/terraspace/compiler/dsl/syntax/helpers/common.rb +28 -0
  168. data/lib/terraspace/compiler/dsl/syntax/mod.rb +7 -0
  169. data/lib/terraspace/compiler/dsl/syntax/mod/backend.rb +31 -0
  170. data/lib/terraspace/compiler/dsl/syntax/mod/data.rb +9 -0
  171. data/lib/terraspace/compiler/dsl/syntax/mod/locals.rb +7 -0
  172. data/lib/terraspace/compiler/dsl/syntax/mod/module.rb +10 -0
  173. data/lib/terraspace/compiler/dsl/syntax/mod/output.rb +8 -0
  174. data/lib/terraspace/compiler/dsl/syntax/mod/provider.rb +8 -0
  175. data/lib/terraspace/compiler/dsl/syntax/mod/resource.rb +24 -0
  176. data/lib/terraspace/compiler/dsl/syntax/mod/terraform.rb +8 -0
  177. data/lib/terraspace/compiler/dsl/syntax/mod/variable.rb +12 -0
  178. data/lib/terraspace/compiler/dsl/syntax/tfvar.rb +5 -0
  179. data/lib/terraspace/compiler/dsl/syntax/tfvar/common.rb +7 -0
  180. data/lib/terraspace/compiler/dsl/tfvars.rb +29 -0
  181. data/lib/terraspace/compiler/erb/context.rb +11 -0
  182. data/lib/terraspace/compiler/erb/render.rb +12 -0
  183. data/lib/terraspace/compiler/expander.rb +46 -0
  184. data/lib/terraspace/compiler/strategy/abstract_base.rb +7 -0
  185. data/lib/terraspace/compiler/strategy/mod.rb +15 -0
  186. data/lib/terraspace/compiler/strategy/mod/base.rb +4 -0
  187. data/lib/terraspace/compiler/strategy/mod/pass.rb +7 -0
  188. data/lib/terraspace/compiler/strategy/mod/rb.rb +7 -0
  189. data/lib/terraspace/compiler/strategy/mod/tf.rb +7 -0
  190. data/lib/terraspace/compiler/strategy/tfvar.rb +42 -0
  191. data/lib/terraspace/compiler/strategy/tfvar/base.rb +4 -0
  192. data/lib/terraspace/compiler/strategy/tfvar/layer.rb +110 -0
  193. data/lib/terraspace/compiler/strategy/tfvar/rb.rb +7 -0
  194. data/lib/terraspace/compiler/strategy/tfvar/tfvars.rb +7 -0
  195. data/lib/terraspace/compiler/writer.rb +36 -0
  196. data/lib/terraspace/completer.rb +159 -0
  197. data/lib/terraspace/completer/script.rb +6 -0
  198. data/lib/terraspace/completer/script.sh +10 -0
  199. data/lib/terraspace/core.rb +52 -0
  200. data/lib/terraspace/ext.rb +2 -0
  201. data/lib/terraspace/ext/bundler.rb +7 -0
  202. data/lib/terraspace/ext/core/module.rb +19 -0
  203. data/lib/terraspace/logger.rb +26 -0
  204. data/lib/terraspace/mod.rb +125 -0
  205. data/lib/terraspace/mod/remote.rb +18 -0
  206. data/lib/terraspace/plugin.rb +73 -0
  207. data/lib/terraspace/plugin/backend/interface.rb +8 -0
  208. data/lib/terraspace/plugin/config/interface.rb +27 -0
  209. data/lib/terraspace/plugin/decorator/interface.rb +8 -0
  210. data/lib/terraspace/plugin/expander/generic.rb +5 -0
  211. data/lib/terraspace/plugin/expander/interface.rb +95 -0
  212. data/lib/terraspace/plugin/finder.rb +45 -0
  213. data/lib/terraspace/plugin/infer_provider.rb +15 -0
  214. data/lib/terraspace/plugin/layer/interface.rb +5 -0
  215. data/lib/terraspace/plugin/meta.rb +29 -0
  216. data/lib/terraspace/plugin/summary/interface.rb +130 -0
  217. data/lib/terraspace/seeder.rb +66 -0
  218. data/lib/terraspace/seeder/actions.rb +24 -0
  219. data/lib/terraspace/seeder/content.rb +84 -0
  220. data/lib/terraspace/seeder/where.rb +30 -0
  221. data/lib/terraspace/terraform/api.rb +53 -0
  222. data/lib/terraspace/terraform/api/client.rb +10 -0
  223. data/lib/terraspace/terraform/api/http.rb +106 -0
  224. data/lib/terraspace/terraform/api/var.rb +72 -0
  225. data/lib/terraspace/terraform/api/vars.rb +38 -0
  226. data/lib/terraspace/terraform/api/vars/base.rb +7 -0
  227. data/lib/terraspace/terraform/api/vars/json.rb +14 -0
  228. data/lib/terraspace/terraform/api/vars/rb.rb +21 -0
  229. data/lib/terraspace/terraform/args/custom.rb +47 -0
  230. data/lib/terraspace/terraform/args/default.rb +110 -0
  231. data/lib/terraspace/terraform/args/dsl.rb +30 -0
  232. data/lib/terraspace/terraform/args/shorthands.rb +47 -0
  233. data/lib/terraspace/terraform/cloud.rb +25 -0
  234. data/lib/terraspace/terraform/cloud/workspace.rb +95 -0
  235. data/lib/terraspace/terraform/hooks/builder.rb +40 -0
  236. data/lib/terraspace/terraform/hooks/dsl.rb +19 -0
  237. data/lib/terraspace/terraform/runner.rb +77 -0
  238. data/lib/terraspace/tester.rb +29 -0
  239. data/lib/terraspace/tester/finder.rb +25 -0
  240. data/lib/terraspace/tester/meta.rb +25 -0
  241. data/lib/terraspace/util.rb +13 -0
  242. data/lib/terraspace/util/logging.rb +7 -0
  243. data/lib/terraspace/util/sh.rb +19 -0
  244. data/lib/terraspace/util/sure.rb +22 -0
  245. data/lib/terraspace/version.rb +1 -1
  246. data/spec/cli_spec.rb +13 -0
  247. data/spec/fixtures/cache_dir/variables.tf +9 -0
  248. data/spec/fixtures/initialized/modules.json +29 -0
  249. data/spec/fixtures/orphans/config/backend.rb +8 -0
  250. data/spec/fixtures/orphans/config/provider.rb +3 -0
  251. data/spec/fixtures/orphans/config/providers_different.rb +6 -0
  252. data/spec/fixtures/orphans/config/providers_same.rb +16 -0
  253. data/spec/fixtures/orphans/data/aws_ami.rb +8 -0
  254. data/spec/fixtures/orphans/data/aws_instance.rb +16 -0
  255. data/spec/fixtures/orphans/locals/forum.rb +4 -0
  256. data/spec/fixtures/orphans/locals/qux.rb +7 -0
  257. data/spec/fixtures/orphans/module/core/main.rb +5 -0
  258. data/spec/fixtures/orphans/resource/security_group/hash_example.rb +18 -0
  259. data/spec/fixtures/orphans/resource/vpc/count_example.rb +7 -0
  260. data/spec/fixtures/orphans/terraform/terraform.rb +3 -0
  261. data/spec/fixtures/projects/hcl/aws/app/modules/instance/main.tf +30 -0
  262. data/spec/fixtures/projects/hcl/aws/app/modules/instance/variables.tf +7 -0
  263. data/spec/fixtures/projects/hcl/aws/app/modules/vpc/file.txt +1 -0
  264. data/spec/fixtures/projects/hcl/aws/app/modules/vpc/main.tf +7 -0
  265. data/spec/fixtures/projects/hcl/aws/app/modules/vpc/variables.tf +11 -0
  266. data/spec/fixtures/projects/hcl/aws/app/stacks/core/main.tf +3 -0
  267. data/spec/fixtures/projects/hcl/aws/app/stacks/monolith/main.tf +3 -0
  268. data/spec/fixtures/projects/hcl/aws/config/backend.tf +9 -0
  269. data/spec/fixtures/projects/hcl/aws/config/provider.tf +3 -0
  270. data/spec/fixtures/projects/hcl/google/app/modules/vpc/main.tf +4 -0
  271. data/spec/fixtures/projects/hcl/google/app/modules/vpc/outputs.tf +4 -0
  272. data/spec/fixtures/projects/hcl/google/app/modules/vpc/variables.tf +5 -0
  273. data/spec/fixtures/projects/hcl/google/config/backend.tf +6 -0
  274. data/spec/fixtures/projects/hcl/google/config/provider.tf +0 -0
  275. data/spec/fixtures/projects/ruby/aws/app/modules/existing_backend/backend.rb +7 -0
  276. data/spec/fixtures/projects/ruby/aws/app/modules/existing_backend/main.rb +7 -0
  277. data/spec/fixtures/projects/ruby/aws/app/modules/existing_backend/outputs.rb +4 -0
  278. data/spec/fixtures/projects/ruby/aws/app/modules/existing_backend/variables.rb +9 -0
  279. data/spec/fixtures/projects/ruby/aws/app/modules/instance/main.rb +28 -0
  280. data/spec/fixtures/projects/ruby/aws/app/modules/instance/outputs.rb +3 -0
  281. data/spec/fixtures/projects/ruby/aws/app/modules/instance/variables.rb +7 -0
  282. data/spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb +16 -0
  283. data/spec/fixtures/projects/ruby/aws/app/modules/security_group/variables.rb +5 -0
  284. data/spec/fixtures/projects/ruby/aws/app/modules/sg_child/main.rb +7 -0
  285. data/spec/fixtures/projects/ruby/aws/app/modules/sg_child/variables.rb +5 -0
  286. data/spec/fixtures/projects/ruby/aws/app/modules/sg_parent/main.rb +14 -0
  287. data/spec/fixtures/projects/ruby/aws/app/modules/sg_parent/variables.rb +3 -0
  288. data/spec/fixtures/projects/ruby/aws/app/modules/vpc/main.rb +7 -0
  289. data/spec/fixtures/projects/ruby/aws/app/modules/vpc/outputs.rb +4 -0
  290. data/spec/fixtures/projects/ruby/aws/app/modules/vpc/variables.rb +9 -0
  291. data/spec/fixtures/projects/ruby/aws/app/modules/wordpress/main.rb +0 -0
  292. data/spec/fixtures/projects/ruby/aws/app/stacks/core/a.tfvars +0 -0
  293. data/spec/fixtures/projects/ruby/aws/app/stacks/core/b.tfvars +1 -0
  294. data/spec/fixtures/projects/ruby/aws/app/stacks/core/main.rb +6 -0
  295. data/spec/fixtures/projects/ruby/aws/app/stacks/core/outputs.rb +4 -0
  296. data/spec/fixtures/projects/ruby/aws/app/stacks/core/variables.rb +2 -0
  297. data/spec/fixtures/projects/ruby/aws/app/stacks/gke/main.rb +0 -0
  298. data/spec/fixtures/projects/ruby/aws/app/stacks/monolith/main.rb +3 -0
  299. data/spec/fixtures/projects/ruby/aws/app/stacks/nested/main.rb +5 -0
  300. data/spec/fixtures/projects/ruby/aws/config/backend.rb +7 -0
  301. data/spec/fixtures/projects/ruby/aws/config/cli/args.rb +11 -0
  302. data/spec/fixtures/projects/ruby/aws/config/cli/hooks.rb +8 -0
  303. data/spec/fixtures/projects/ruby/aws/config/provider.rb +3 -0
  304. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/base.rb +1 -0
  305. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/dev.rb +1 -0
  306. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/prod.rb +0 -0
  307. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/security_group/base.rb +1 -0
  308. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/security_group/dev.rb +1 -0
  309. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/base.tfvars +2 -0
  310. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/dev.tfvars +1 -0
  311. data/spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/prod.tfvars +1 -0
  312. data/spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/base.rb +4 -0
  313. data/spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/dev.rb +1 -0
  314. data/spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/prod.rb +1 -0
  315. data/spec/fixtures/projects/ruby/aws/vendor/modules/vpc/main.rb +7 -0
  316. data/spec/fixtures/projects/ruby/aws/vendor/modules/vpc/outputs.rb +4 -0
  317. data/spec/fixtures/projects/ruby/aws/vendor/modules/vpc/variables.rb +9 -0
  318. data/spec/fixtures/projects/ruby/google/app/modules/firewall/main.rb +17 -0
  319. data/spec/fixtures/projects/ruby/google/app/modules/network/main.rb +4 -0
  320. data/spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb +28 -0
  321. data/spec/fixtures/projects/ruby/google/app/modules/vm/main.rb +32 -0
  322. data/spec/fixtures/projects/ruby/google/app/modules/vm/outputs.rb +3 -0
  323. data/spec/fixtures/projects/ruby/google/app/modules/vm/variables.rb +19 -0
  324. data/spec/fixtures/projects/ruby/google/app/stacks/core/main.rb +5 -0
  325. data/spec/fixtures/projects/ruby/google/config/backend.rb +4 -0
  326. data/spec/fixtures/projects/ruby/google/config/provider.rb +14 -0
  327. data/spec/fixtures/terraform/args/multiple.rb +4 -0
  328. data/spec/fixtures/terraform/args/single.rb +10 -0
  329. data/spec/fixtures/terraform/hooks/multiple.rb +3 -0
  330. data/spec/fixtures/terraform/hooks/single.rb +7 -0
  331. data/spec/spec_helper.rb +32 -0
  332. data/spec/terraspace/compiler/dsl/backend_spec.rb +33 -0
  333. data/spec/terraspace/compiler/dsl/data_spec.rb +30 -0
  334. data/spec/terraspace/compiler/dsl/locals_spec.rb +44 -0
  335. data/spec/terraspace/compiler/dsl/meta/local_spec.rb +10 -0
  336. data/spec/terraspace/compiler/dsl/meta/var_spec.rb +10 -0
  337. data/spec/terraspace/compiler/dsl/module_spec.rb +14 -0
  338. data/spec/terraspace/compiler/dsl/monolith_spec.rb +23 -0
  339. data/spec/terraspace/compiler/dsl/output_spec.rb +22 -0
  340. data/spec/terraspace/compiler/dsl/provider_spec.rb +72 -0
  341. data/spec/terraspace/compiler/dsl/resource/security_group_spec.rb +43 -0
  342. data/spec/terraspace/compiler/dsl/resource_spec.rb +64 -0
  343. data/spec/terraspace/compiler/dsl/terraform_spec.rb +21 -0
  344. data/spec/terraspace/compiler/dsl/variable_spec.rb +28 -0
  345. data/spec/terraspace/provider/expander/generic_spec.rb +30 -0
  346. data/spec/terraspace/seeder/content_spec.rb +49 -0
  347. data/spec/terraspace/seeder_spec.rb +20 -0
  348. data/spec/terraspace/terraform/args/custom_spec.rb +48 -0
  349. data/spec/terraspace/terraform/hooks/builder_spec.rb +35 -0
  350. data/terraspace.gemspec +32 -15
  351. metadata +721 -14
  352. data/.travis.yml +0 -6
@@ -0,0 +1,35 @@
1
+ describe Terraspace::Terraform::Hooks::Builder do
2
+ let(:builder) do
3
+ builder = described_class.new(mod, name)
4
+ builder.instance_variable_set(:@file, file) # override @file for spec
5
+ builder
6
+ end
7
+ let(:mod) do
8
+ mod = double(:mod).as_null_object
9
+ allow(mod).to receive(:cache_dir).and_return("/tmp")
10
+ mod
11
+ end
12
+
13
+ context "single" do
14
+ let(:file) { fixture("terraform/hooks/single.rb") }
15
+ let(:name) { "apply" }
16
+ it "build creates the @hooks structure" do
17
+ hooks = builder.build
18
+ expect(hooks.keys).to include("before")
19
+ end
20
+
21
+ it "run_hooks" do
22
+ builder.build
23
+ builder.run_hooks
24
+ end
25
+ end
26
+
27
+ context "multiple" do
28
+ let(:file) { fixture("terraform/hooks/multiple.rb") }
29
+ let(:name) { "apply" }
30
+ it "build creates the @hooks structure" do
31
+ hooks = builder.build
32
+ expect(hooks.keys).to include("before")
33
+ end
34
+ end
35
+ end
@@ -1,26 +1,43 @@
1
- require_relative 'lib/terraspace/version'
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "terraspace/version"
2
5
 
3
6
  Gem::Specification.new do |spec|
4
7
  spec.name = "terraspace"
5
8
  spec.version = Terraspace::VERSION
6
9
  spec.authors = ["Tung Nguyen"]
7
- spec.email = ["tongueroo@gmail.com"]
8
-
9
- spec.summary = "Terraform Tool"
10
+ spec.email = ["tung@boltops.com"]
11
+ spec.summary = "Terraspace: The Terraspace Framework"
10
12
  spec.homepage = "https://github.com/boltops-tools/terraspace"
11
- spec.license = "MIT"
12
- spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
13
-
14
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
15
-
16
- spec.metadata["homepage_uri"] = spec.homepage
13
+ spec.license = "Apache-2.0"
17
14
 
18
- # Specify which files should be added to the gem when it is released.
19
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
21
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
- end
15
+ spec.files = File.directory?('.git') ? `git ls-files`.split($/) : Dir.glob("**/*")
23
16
  spec.bindir = "exe"
24
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
25
19
  spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "activesupport"
22
+ spec.add_dependency "cli-format"
23
+ spec.add_dependency "dsl_evaluator"
24
+ spec.add_dependency "hcl_parser"
25
+ spec.add_dependency "memoist"
26
+ spec.add_dependency "rainbow"
27
+ spec.add_dependency "render_me_pretty"
28
+ spec.add_dependency "terraspace-bundler"
29
+ spec.add_dependency "thor"
30
+ spec.add_dependency "zeitwerk"
31
+
32
+ # core baseline plugins
33
+ spec.add_dependency "terraspace_plugin_aws", "~> 0.2.0"
34
+ spec.add_dependency "terraspace_plugin_azurerm", "~> 0.2.0"
35
+ spec.add_dependency "terraspace_plugin_google", "~> 0.2.0"
36
+ spec.add_dependency "rspec-terraspace"
37
+
38
+ spec.add_development_dependency "bundler"
39
+ spec.add_development_dependency "byebug"
40
+ spec.add_development_dependency "cli_markdown"
41
+ spec.add_development_dependency "rake"
42
+ spec.add_development_dependency "rspec"
26
43
  end
metadata CHANGED
@@ -1,39 +1,642 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.2.1
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-05-07 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2020-08-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: cli-format
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dsl_evaluator
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: hcl_parser
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: memoist
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rainbow
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: render_me_pretty
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: terraspace-bundler
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: thor
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: zeitwerk
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: terraspace_plugin_aws
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.2.0
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.2.0
167
+ - !ruby/object:Gem::Dependency
168
+ name: terraspace_plugin_azurerm
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 0.2.0
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 0.2.0
181
+ - !ruby/object:Gem::Dependency
182
+ name: terraspace_plugin_google
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 0.2.0
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 0.2.0
195
+ - !ruby/object:Gem::Dependency
196
+ name: rspec-terraspace
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: bundler
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: byebug
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: cli_markdown
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: rake
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: rspec
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
13
279
  description:
14
280
  email:
15
- - tongueroo@gmail.com
16
- executables: []
281
+ - tung@boltops.com
282
+ executables:
283
+ - terraspace
17
284
  extensions: []
18
285
  extra_rdoc_files: []
19
286
  files:
287
+ - ".cody/README.md"
288
+ - ".cody/aws/bin/build.sh"
289
+ - ".cody/aws/buildspec.yml"
290
+ - ".cody/aws/project.rb"
291
+ - ".cody/aws/role.rb"
292
+ - ".cody/azurerm/bin/az/configure.sh"
293
+ - ".cody/azurerm/bin/az/install.sh"
294
+ - ".cody/azurerm/bin/build.sh"
295
+ - ".cody/azurerm/bin/install.sh"
296
+ - ".cody/azurerm/buildspec.yml"
297
+ - ".cody/azurerm/project.rb"
298
+ - ".cody/azurerm/role.rb"
299
+ - ".cody/google/bin/build.sh"
300
+ - ".cody/google/bin/gcloud/configure.sh"
301
+ - ".cody/google/bin/gcloud/install.sh"
302
+ - ".cody/google/bin/install.sh"
303
+ - ".cody/google/buildspec.yml"
304
+ - ".cody/google/project.rb"
305
+ - ".cody/google/role.rb"
306
+ - ".cody/shared/script/install.sh"
307
+ - ".cody/shared/script/install/terraform.sh"
308
+ - ".cody/shared/script/install/terraspace.sh"
309
+ - ".cody/unit/bin/build.sh"
310
+ - ".cody/unit/buildspec.yml"
311
+ - ".cody/unit/project.rb"
312
+ - ".github/ISSUE_TEMPLATE.md"
313
+ - ".github/ISSUE_TEMPLATE/bug_report.md"
314
+ - ".github/ISSUE_TEMPLATE/documentation.md"
315
+ - ".github/ISSUE_TEMPLATE/feature_request.md"
316
+ - ".github/ISSUE_TEMPLATE/question.md"
317
+ - ".github/PULL_REQUEST_TEMPLATE.md"
20
318
  - ".gitignore"
319
+ - ".pipedream/README.md"
320
+ - ".pipedream/pipeline.rb"
321
+ - ".pipedream/schedule.rb"
21
322
  - ".rspec"
22
- - ".travis.yml"
323
+ - CHANGELOG.md
324
+ - CONDUCT.md
325
+ - CONTRIBUTING.md
23
326
  - Gemfile
327
+ - Guardfile
24
328
  - LICENSE.txt
25
329
  - README.md
26
330
  - Rakefile
27
- - bin/console
28
- - bin/setup
331
+ - exe/terraspace
332
+ - lib/templates/base/git_hook/hook.sh
333
+ - lib/templates/base/project/.gitignore
334
+ - lib/templates/base/project/Gemfile.tt
335
+ - lib/templates/base/project/Terrafile
336
+ - lib/templates/base/project/config/app.rb
337
+ - lib/templates/base/shim/terraspace
338
+ - lib/templates/hcl/module/main.tf
339
+ - lib/templates/hcl/module/outputs.tf
340
+ - lib/templates/hcl/module/variables.tf
341
+ - lib/templates/hcl/project/config/terraform/backend.tf.tt
342
+ - lib/templates/hcl/project/config/terraform/provider.tf
343
+ - lib/templates/hcl/stack/main.tf
344
+ - lib/templates/hcl/stack/outputs.tf
345
+ - lib/templates/hcl/stack/variables.tf
346
+ - lib/templates/plugin/.gitignore
347
+ - lib/templates/plugin/.rspec
348
+ - lib/templates/plugin/CHANGELOG.md
349
+ - lib/templates/plugin/Gemfile
350
+ - lib/templates/plugin/LICENSE.txt
351
+ - lib/templates/plugin/README.md.tt
352
+ - lib/templates/plugin/Rakefile
353
+ - lib/templates/plugin/bin/console.tt
354
+ - lib/templates/plugin/bin/setup
355
+ - lib/templates/plugin/lib/templates/hcl/module/main.tf
356
+ - lib/templates/plugin/lib/templates/hcl/module/outputs.tf
357
+ - lib/templates/plugin/lib/templates/hcl/module/variables.tf
358
+ - lib/templates/plugin/lib/templates/hcl/project/config/terraform/backend.tf.tt
359
+ - lib/templates/plugin/lib/templates/hcl/project/config/terraform/provider.tf
360
+ - lib/templates/plugin/lib/templates/hcl/stack/main.tf
361
+ - lib/templates/plugin/lib/templates/hcl/stack/outputs.tf
362
+ - lib/templates/plugin/lib/templates/hcl/stack/variables.tf
363
+ - lib/templates/plugin/lib/templates/ruby/module/main.rb
364
+ - lib/templates/plugin/lib/templates/ruby/module/outputs.rb
365
+ - lib/templates/plugin/lib/templates/ruby/module/variables.rb
366
+ - lib/templates/plugin/lib/templates/ruby/project/config/terraform/backend.rb.tt
367
+ - lib/templates/plugin/lib/templates/ruby/project/config/terraform/provider.rb
368
+ - lib/templates/plugin/lib/templates/ruby/stack/main.rb
369
+ - lib/templates/plugin/lib/templates/ruby/stack/outputs.rb
370
+ - lib/templates/plugin/lib/templates/ruby/stack/variables.rb
371
+ - lib/templates/plugin/lib/templates/test/rspec/module/test/.rspec
372
+ - lib/templates/plugin/lib/templates/test/rspec/module/test/Gemfile
373
+ - lib/templates/plugin/lib/templates/test/rspec/module/test/spec/fixtures/stack/main.tf
374
+ - lib/templates/plugin/lib/templates/test/rspec/module/test/spec/fixtures/stack/outputs.tf
375
+ - lib/templates/plugin/lib/templates/test/rspec/module/test/spec/fixtures/stack/variables.tf
376
+ - lib/templates/plugin/lib/templates/test/rspec/module/test/spec/main_spec.rb
377
+ - lib/templates/plugin/lib/templates/test/rspec/module/test/spec/spec_helper.rb
378
+ - lib/templates/plugin/lib/terraspace_plugin_%name%.rb.tt
379
+ - lib/templates/plugin/lib/terraspace_plugin_%name%/autoloader.rb.tt
380
+ - lib/templates/plugin/lib/terraspace_plugin_%name%/clients.rb.tt
381
+ - lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/backend.rb.tt
382
+ - lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/config.rb.tt
383
+ - lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/expander.rb.tt
384
+ - lib/templates/plugin/lib/terraspace_plugin_%name%/interfaces/layer.rb.tt
385
+ - lib/templates/plugin/lib/terraspace_plugin_%name%/version.rb.tt
386
+ - lib/templates/plugin/spec/spec_helper.rb.tt
387
+ - lib/templates/plugin/spec/terraspace_provider_%name%_spec.rb.tt
388
+ - lib/templates/plugin/terraspace_plugin_%name%.gemspec.tt
389
+ - lib/templates/ruby/module/main.rb
390
+ - lib/templates/ruby/module/outputs.rb
391
+ - lib/templates/ruby/module/variables.rb
392
+ - lib/templates/ruby/project/config/terraform/backend.rb.tt
393
+ - lib/templates/ruby/project/config/terraform/provider.rb
394
+ - lib/templates/ruby/stack/main.rb
395
+ - lib/templates/ruby/stack/outputs.rb
396
+ - lib/templates/ruby/stack/variables.rb
29
397
  - lib/terraspace.rb
398
+ - lib/terraspace/app.rb
399
+ - lib/terraspace/app/hooks.rb
400
+ - lib/terraspace/autoloader.rb
401
+ - lib/terraspace/booter.rb
402
+ - lib/terraspace/builder.rb
403
+ - lib/terraspace/bundle.rb
404
+ - lib/terraspace/cli.rb
405
+ - lib/terraspace/cli/base.rb
406
+ - lib/terraspace/cli/build/placeholder.rb
407
+ - lib/terraspace/cli/bundle.rb
408
+ - lib/terraspace/cli/check_setup.rb
409
+ - lib/terraspace/cli/clean.rb
410
+ - lib/terraspace/cli/cloud.rb
411
+ - lib/terraspace/cli/commander.rb
412
+ - lib/terraspace/cli/help.rb
413
+ - lib/terraspace/cli/help/bundle.md
414
+ - lib/terraspace/cli/help/completion.md
415
+ - lib/terraspace/cli/help/completion_script.md
416
+ - lib/terraspace/cli/help/update.md
417
+ - lib/terraspace/cli/info.rb
418
+ - lib/terraspace/cli/init.rb
419
+ - lib/terraspace/cli/list.rb
420
+ - lib/terraspace/cli/new.rb
421
+ - lib/terraspace/cli/new/git_hook.rb
422
+ - lib/terraspace/cli/new/helper.rb
423
+ - lib/terraspace/cli/new/helper/plugin_gem.rb
424
+ - lib/terraspace/cli/new/module.rb
425
+ - lib/terraspace/cli/new/plugin.rb
426
+ - lib/terraspace/cli/new/plugin/helper.rb
427
+ - lib/terraspace/cli/new/project.rb
428
+ - lib/terraspace/cli/new/sequence.rb
429
+ - lib/terraspace/cli/new/shim.rb
430
+ - lib/terraspace/cli/new/source/core.rb
431
+ - lib/terraspace/cli/new/source/plugin.rb
432
+ - lib/terraspace/cli/new/source/test.rb
433
+ - lib/terraspace/cli/new/stack.rb
434
+ - lib/terraspace/cli/new/test/base.rb
435
+ - lib/terraspace/cli/new/test/bootstrap.rb
436
+ - lib/terraspace/cli/new/test/module.rb
437
+ - lib/terraspace/cli/new/test/project.rb
438
+ - lib/terraspace/cli/seed.rb
439
+ - lib/terraspace/cli/summary.rb
440
+ - lib/terraspace/cli/test.rb
441
+ - lib/terraspace/command.rb
442
+ - lib/terraspace/compiler/backend.rb
443
+ - lib/terraspace/compiler/backend/parser.rb
444
+ - lib/terraspace/compiler/basename.rb
445
+ - lib/terraspace/compiler/builder.rb
446
+ - lib/terraspace/compiler/cleaner.rb
447
+ - lib/terraspace/compiler/cleaner/backend_change.rb
448
+ - lib/terraspace/compiler/dsl/base.rb
449
+ - lib/terraspace/compiler/dsl/meta/local.rb
450
+ - lib/terraspace/compiler/dsl/meta/var.rb
451
+ - lib/terraspace/compiler/dsl/mod.rb
452
+ - lib/terraspace/compiler/dsl/syntax/helpers/common.rb
453
+ - lib/terraspace/compiler/dsl/syntax/mod.rb
454
+ - lib/terraspace/compiler/dsl/syntax/mod/backend.rb
455
+ - lib/terraspace/compiler/dsl/syntax/mod/data.rb
456
+ - lib/terraspace/compiler/dsl/syntax/mod/locals.rb
457
+ - lib/terraspace/compiler/dsl/syntax/mod/module.rb
458
+ - lib/terraspace/compiler/dsl/syntax/mod/output.rb
459
+ - lib/terraspace/compiler/dsl/syntax/mod/provider.rb
460
+ - lib/terraspace/compiler/dsl/syntax/mod/resource.rb
461
+ - lib/terraspace/compiler/dsl/syntax/mod/terraform.rb
462
+ - lib/terraspace/compiler/dsl/syntax/mod/variable.rb
463
+ - lib/terraspace/compiler/dsl/syntax/tfvar.rb
464
+ - lib/terraspace/compiler/dsl/syntax/tfvar/common.rb
465
+ - lib/terraspace/compiler/dsl/tfvars.rb
466
+ - lib/terraspace/compiler/erb/context.rb
467
+ - lib/terraspace/compiler/erb/render.rb
468
+ - lib/terraspace/compiler/expander.rb
469
+ - lib/terraspace/compiler/strategy/abstract_base.rb
470
+ - lib/terraspace/compiler/strategy/mod.rb
471
+ - lib/terraspace/compiler/strategy/mod/base.rb
472
+ - lib/terraspace/compiler/strategy/mod/pass.rb
473
+ - lib/terraspace/compiler/strategy/mod/rb.rb
474
+ - lib/terraspace/compiler/strategy/mod/tf.rb
475
+ - lib/terraspace/compiler/strategy/tfvar.rb
476
+ - lib/terraspace/compiler/strategy/tfvar/base.rb
477
+ - lib/terraspace/compiler/strategy/tfvar/layer.rb
478
+ - lib/terraspace/compiler/strategy/tfvar/rb.rb
479
+ - lib/terraspace/compiler/strategy/tfvar/tfvars.rb
480
+ - lib/terraspace/compiler/writer.rb
481
+ - lib/terraspace/completer.rb
482
+ - lib/terraspace/completer/script.rb
483
+ - lib/terraspace/completer/script.sh
484
+ - lib/terraspace/core.rb
485
+ - lib/terraspace/ext.rb
486
+ - lib/terraspace/ext/bundler.rb
487
+ - lib/terraspace/ext/core/module.rb
488
+ - lib/terraspace/logger.rb
489
+ - lib/terraspace/mod.rb
490
+ - lib/terraspace/mod/remote.rb
491
+ - lib/terraspace/plugin.rb
492
+ - lib/terraspace/plugin/backend/interface.rb
493
+ - lib/terraspace/plugin/config/interface.rb
494
+ - lib/terraspace/plugin/decorator/interface.rb
495
+ - lib/terraspace/plugin/expander/generic.rb
496
+ - lib/terraspace/plugin/expander/interface.rb
497
+ - lib/terraspace/plugin/finder.rb
498
+ - lib/terraspace/plugin/infer_provider.rb
499
+ - lib/terraspace/plugin/layer/interface.rb
500
+ - lib/terraspace/plugin/meta.rb
501
+ - lib/terraspace/plugin/summary/interface.rb
502
+ - lib/terraspace/seeder.rb
503
+ - lib/terraspace/seeder/actions.rb
504
+ - lib/terraspace/seeder/content.rb
505
+ - lib/terraspace/seeder/where.rb
506
+ - lib/terraspace/terraform/api.rb
507
+ - lib/terraspace/terraform/api/client.rb
508
+ - lib/terraspace/terraform/api/http.rb
509
+ - lib/terraspace/terraform/api/var.rb
510
+ - lib/terraspace/terraform/api/vars.rb
511
+ - lib/terraspace/terraform/api/vars/base.rb
512
+ - lib/terraspace/terraform/api/vars/json.rb
513
+ - lib/terraspace/terraform/api/vars/rb.rb
514
+ - lib/terraspace/terraform/args/custom.rb
515
+ - lib/terraspace/terraform/args/default.rb
516
+ - lib/terraspace/terraform/args/dsl.rb
517
+ - lib/terraspace/terraform/args/shorthands.rb
518
+ - lib/terraspace/terraform/cloud.rb
519
+ - lib/terraspace/terraform/cloud/workspace.rb
520
+ - lib/terraspace/terraform/hooks/builder.rb
521
+ - lib/terraspace/terraform/hooks/dsl.rb
522
+ - lib/terraspace/terraform/runner.rb
523
+ - lib/terraspace/tester.rb
524
+ - lib/terraspace/tester/finder.rb
525
+ - lib/terraspace/tester/meta.rb
526
+ - lib/terraspace/util.rb
527
+ - lib/terraspace/util/logging.rb
528
+ - lib/terraspace/util/sh.rb
529
+ - lib/terraspace/util/sure.rb
30
530
  - lib/terraspace/version.rb
531
+ - spec/cli_spec.rb
532
+ - spec/fixtures/cache_dir/variables.tf
533
+ - spec/fixtures/initialized/modules.json
534
+ - spec/fixtures/orphans/config/backend.rb
535
+ - spec/fixtures/orphans/config/provider.rb
536
+ - spec/fixtures/orphans/config/providers_different.rb
537
+ - spec/fixtures/orphans/config/providers_same.rb
538
+ - spec/fixtures/orphans/data/aws_ami.rb
539
+ - spec/fixtures/orphans/data/aws_instance.rb
540
+ - spec/fixtures/orphans/locals/forum.rb
541
+ - spec/fixtures/orphans/locals/qux.rb
542
+ - spec/fixtures/orphans/module/core/main.rb
543
+ - spec/fixtures/orphans/resource/security_group/hash_example.rb
544
+ - spec/fixtures/orphans/resource/vpc/count_example.rb
545
+ - spec/fixtures/orphans/terraform/terraform.rb
546
+ - spec/fixtures/projects/hcl/aws/app/modules/instance/main.tf
547
+ - spec/fixtures/projects/hcl/aws/app/modules/instance/variables.tf
548
+ - spec/fixtures/projects/hcl/aws/app/modules/vpc/file.txt
549
+ - spec/fixtures/projects/hcl/aws/app/modules/vpc/main.tf
550
+ - spec/fixtures/projects/hcl/aws/app/modules/vpc/variables.tf
551
+ - spec/fixtures/projects/hcl/aws/app/stacks/core/main.tf
552
+ - spec/fixtures/projects/hcl/aws/app/stacks/monolith/main.tf
553
+ - spec/fixtures/projects/hcl/aws/config/backend.tf
554
+ - spec/fixtures/projects/hcl/aws/config/provider.tf
555
+ - spec/fixtures/projects/hcl/google/app/modules/vpc/main.tf
556
+ - spec/fixtures/projects/hcl/google/app/modules/vpc/outputs.tf
557
+ - spec/fixtures/projects/hcl/google/app/modules/vpc/variables.tf
558
+ - spec/fixtures/projects/hcl/google/config/backend.tf
559
+ - spec/fixtures/projects/hcl/google/config/provider.tf
560
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/backend.rb
561
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/main.rb
562
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/outputs.rb
563
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/variables.rb
564
+ - spec/fixtures/projects/ruby/aws/app/modules/instance/main.rb
565
+ - spec/fixtures/projects/ruby/aws/app/modules/instance/outputs.rb
566
+ - spec/fixtures/projects/ruby/aws/app/modules/instance/variables.rb
567
+ - spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
568
+ - spec/fixtures/projects/ruby/aws/app/modules/security_group/variables.rb
569
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_child/main.rb
570
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_child/variables.rb
571
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_parent/main.rb
572
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_parent/variables.rb
573
+ - spec/fixtures/projects/ruby/aws/app/modules/vpc/main.rb
574
+ - spec/fixtures/projects/ruby/aws/app/modules/vpc/outputs.rb
575
+ - spec/fixtures/projects/ruby/aws/app/modules/vpc/variables.rb
576
+ - spec/fixtures/projects/ruby/aws/app/modules/wordpress/main.rb
577
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/a.tfvars
578
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/b.tfvars
579
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/main.rb
580
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/outputs.rb
581
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/variables.rb
582
+ - spec/fixtures/projects/ruby/aws/app/stacks/gke/main.rb
583
+ - spec/fixtures/projects/ruby/aws/app/stacks/monolith/main.rb
584
+ - spec/fixtures/projects/ruby/aws/app/stacks/nested/main.rb
585
+ - spec/fixtures/projects/ruby/aws/config/backend.rb
586
+ - spec/fixtures/projects/ruby/aws/config/cli/args.rb
587
+ - spec/fixtures/projects/ruby/aws/config/cli/hooks.rb
588
+ - spec/fixtures/projects/ruby/aws/config/provider.rb
589
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/base.rb
590
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/dev.rb
591
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/prod.rb
592
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/security_group/base.rb
593
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/security_group/dev.rb
594
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/base.tfvars
595
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/dev.tfvars
596
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/prod.tfvars
597
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/base.rb
598
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/dev.rb
599
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/prod.rb
600
+ - spec/fixtures/projects/ruby/aws/vendor/modules/vpc/main.rb
601
+ - spec/fixtures/projects/ruby/aws/vendor/modules/vpc/outputs.rb
602
+ - spec/fixtures/projects/ruby/aws/vendor/modules/vpc/variables.rb
603
+ - spec/fixtures/projects/ruby/google/app/modules/firewall/main.rb
604
+ - spec/fixtures/projects/ruby/google/app/modules/network/main.rb
605
+ - spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
606
+ - spec/fixtures/projects/ruby/google/app/modules/vm/main.rb
607
+ - spec/fixtures/projects/ruby/google/app/modules/vm/outputs.rb
608
+ - spec/fixtures/projects/ruby/google/app/modules/vm/variables.rb
609
+ - spec/fixtures/projects/ruby/google/app/stacks/core/main.rb
610
+ - spec/fixtures/projects/ruby/google/config/backend.rb
611
+ - spec/fixtures/projects/ruby/google/config/provider.rb
612
+ - spec/fixtures/terraform/args/multiple.rb
613
+ - spec/fixtures/terraform/args/single.rb
614
+ - spec/fixtures/terraform/hooks/multiple.rb
615
+ - spec/fixtures/terraform/hooks/single.rb
616
+ - spec/spec_helper.rb
617
+ - spec/terraspace/compiler/dsl/backend_spec.rb
618
+ - spec/terraspace/compiler/dsl/data_spec.rb
619
+ - spec/terraspace/compiler/dsl/locals_spec.rb
620
+ - spec/terraspace/compiler/dsl/meta/local_spec.rb
621
+ - spec/terraspace/compiler/dsl/meta/var_spec.rb
622
+ - spec/terraspace/compiler/dsl/module_spec.rb
623
+ - spec/terraspace/compiler/dsl/monolith_spec.rb
624
+ - spec/terraspace/compiler/dsl/output_spec.rb
625
+ - spec/terraspace/compiler/dsl/provider_spec.rb
626
+ - spec/terraspace/compiler/dsl/resource/security_group_spec.rb
627
+ - spec/terraspace/compiler/dsl/resource_spec.rb
628
+ - spec/terraspace/compiler/dsl/terraform_spec.rb
629
+ - spec/terraspace/compiler/dsl/variable_spec.rb
630
+ - spec/terraspace/provider/expander/generic_spec.rb
631
+ - spec/terraspace/seeder/content_spec.rb
632
+ - spec/terraspace/seeder_spec.rb
633
+ - spec/terraspace/terraform/args/custom_spec.rb
634
+ - spec/terraspace/terraform/hooks/builder_spec.rb
31
635
  - terraspace.gemspec
32
636
  homepage: https://github.com/boltops-tools/terraspace
33
637
  licenses:
34
- - MIT
35
- metadata:
36
- homepage_uri: https://github.com/boltops-tools/terraspace
638
+ - Apache-2.0
639
+ metadata: {}
37
640
  post_install_message:
38
641
  rdoc_options: []
39
642
  require_paths:
@@ -42,7 +645,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
42
645
  requirements:
43
646
  - - ">="
44
647
  - !ruby/object:Gem::Version
45
- version: 2.3.0
648
+ version: '0'
46
649
  required_rubygems_version: !ruby/object:Gem::Requirement
47
650
  requirements:
48
651
  - - ">="
@@ -52,5 +655,109 @@ requirements: []
52
655
  rubygems_version: 3.1.2
53
656
  signing_key:
54
657
  specification_version: 4
55
- summary: Terraform Tool
56
- test_files: []
658
+ summary: 'Terraspace: The Terraspace Framework'
659
+ test_files:
660
+ - spec/cli_spec.rb
661
+ - spec/fixtures/cache_dir/variables.tf
662
+ - spec/fixtures/initialized/modules.json
663
+ - spec/fixtures/orphans/config/backend.rb
664
+ - spec/fixtures/orphans/config/provider.rb
665
+ - spec/fixtures/orphans/config/providers_different.rb
666
+ - spec/fixtures/orphans/config/providers_same.rb
667
+ - spec/fixtures/orphans/data/aws_ami.rb
668
+ - spec/fixtures/orphans/data/aws_instance.rb
669
+ - spec/fixtures/orphans/locals/forum.rb
670
+ - spec/fixtures/orphans/locals/qux.rb
671
+ - spec/fixtures/orphans/module/core/main.rb
672
+ - spec/fixtures/orphans/resource/security_group/hash_example.rb
673
+ - spec/fixtures/orphans/resource/vpc/count_example.rb
674
+ - spec/fixtures/orphans/terraform/terraform.rb
675
+ - spec/fixtures/projects/hcl/aws/app/modules/instance/main.tf
676
+ - spec/fixtures/projects/hcl/aws/app/modules/instance/variables.tf
677
+ - spec/fixtures/projects/hcl/aws/app/modules/vpc/file.txt
678
+ - spec/fixtures/projects/hcl/aws/app/modules/vpc/main.tf
679
+ - spec/fixtures/projects/hcl/aws/app/modules/vpc/variables.tf
680
+ - spec/fixtures/projects/hcl/aws/app/stacks/core/main.tf
681
+ - spec/fixtures/projects/hcl/aws/app/stacks/monolith/main.tf
682
+ - spec/fixtures/projects/hcl/aws/config/backend.tf
683
+ - spec/fixtures/projects/hcl/aws/config/provider.tf
684
+ - spec/fixtures/projects/hcl/google/app/modules/vpc/main.tf
685
+ - spec/fixtures/projects/hcl/google/app/modules/vpc/outputs.tf
686
+ - spec/fixtures/projects/hcl/google/app/modules/vpc/variables.tf
687
+ - spec/fixtures/projects/hcl/google/config/backend.tf
688
+ - spec/fixtures/projects/hcl/google/config/provider.tf
689
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/backend.rb
690
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/main.rb
691
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/outputs.rb
692
+ - spec/fixtures/projects/ruby/aws/app/modules/existing_backend/variables.rb
693
+ - spec/fixtures/projects/ruby/aws/app/modules/instance/main.rb
694
+ - spec/fixtures/projects/ruby/aws/app/modules/instance/outputs.rb
695
+ - spec/fixtures/projects/ruby/aws/app/modules/instance/variables.rb
696
+ - spec/fixtures/projects/ruby/aws/app/modules/security_group/main.rb
697
+ - spec/fixtures/projects/ruby/aws/app/modules/security_group/variables.rb
698
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_child/main.rb
699
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_child/variables.rb
700
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_parent/main.rb
701
+ - spec/fixtures/projects/ruby/aws/app/modules/sg_parent/variables.rb
702
+ - spec/fixtures/projects/ruby/aws/app/modules/vpc/main.rb
703
+ - spec/fixtures/projects/ruby/aws/app/modules/vpc/outputs.rb
704
+ - spec/fixtures/projects/ruby/aws/app/modules/vpc/variables.rb
705
+ - spec/fixtures/projects/ruby/aws/app/modules/wordpress/main.rb
706
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/a.tfvars
707
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/b.tfvars
708
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/main.rb
709
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/outputs.rb
710
+ - spec/fixtures/projects/ruby/aws/app/stacks/core/variables.rb
711
+ - spec/fixtures/projects/ruby/aws/app/stacks/gke/main.rb
712
+ - spec/fixtures/projects/ruby/aws/app/stacks/monolith/main.rb
713
+ - spec/fixtures/projects/ruby/aws/app/stacks/nested/main.rb
714
+ - spec/fixtures/projects/ruby/aws/config/backend.rb
715
+ - spec/fixtures/projects/ruby/aws/config/cli/args.rb
716
+ - spec/fixtures/projects/ruby/aws/config/cli/hooks.rb
717
+ - spec/fixtures/projects/ruby/aws/config/provider.rb
718
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/base.rb
719
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/dev.rb
720
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/instance/prod.rb
721
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/security_group/base.rb
722
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/security_group/dev.rb
723
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/base.tfvars
724
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/dev.tfvars
725
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/modules/vpc/prod.tfvars
726
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/base.rb
727
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/dev.rb
728
+ - spec/fixtures/projects/ruby/aws/seed/tfvars/stacks/core/prod.rb
729
+ - spec/fixtures/projects/ruby/aws/vendor/modules/vpc/main.rb
730
+ - spec/fixtures/projects/ruby/aws/vendor/modules/vpc/outputs.rb
731
+ - spec/fixtures/projects/ruby/aws/vendor/modules/vpc/variables.rb
732
+ - spec/fixtures/projects/ruby/google/app/modules/firewall/main.rb
733
+ - spec/fixtures/projects/ruby/google/app/modules/network/main.rb
734
+ - spec/fixtures/projects/ruby/google/app/modules/vm-simple/main.rb
735
+ - spec/fixtures/projects/ruby/google/app/modules/vm/main.rb
736
+ - spec/fixtures/projects/ruby/google/app/modules/vm/outputs.rb
737
+ - spec/fixtures/projects/ruby/google/app/modules/vm/variables.rb
738
+ - spec/fixtures/projects/ruby/google/app/stacks/core/main.rb
739
+ - spec/fixtures/projects/ruby/google/config/backend.rb
740
+ - spec/fixtures/projects/ruby/google/config/provider.rb
741
+ - spec/fixtures/terraform/args/multiple.rb
742
+ - spec/fixtures/terraform/args/single.rb
743
+ - spec/fixtures/terraform/hooks/multiple.rb
744
+ - spec/fixtures/terraform/hooks/single.rb
745
+ - spec/spec_helper.rb
746
+ - spec/terraspace/compiler/dsl/backend_spec.rb
747
+ - spec/terraspace/compiler/dsl/data_spec.rb
748
+ - spec/terraspace/compiler/dsl/locals_spec.rb
749
+ - spec/terraspace/compiler/dsl/meta/local_spec.rb
750
+ - spec/terraspace/compiler/dsl/meta/var_spec.rb
751
+ - spec/terraspace/compiler/dsl/module_spec.rb
752
+ - spec/terraspace/compiler/dsl/monolith_spec.rb
753
+ - spec/terraspace/compiler/dsl/output_spec.rb
754
+ - spec/terraspace/compiler/dsl/provider_spec.rb
755
+ - spec/terraspace/compiler/dsl/resource/security_group_spec.rb
756
+ - spec/terraspace/compiler/dsl/resource_spec.rb
757
+ - spec/terraspace/compiler/dsl/terraform_spec.rb
758
+ - spec/terraspace/compiler/dsl/variable_spec.rb
759
+ - spec/terraspace/provider/expander/generic_spec.rb
760
+ - spec/terraspace/seeder/content_spec.rb
761
+ - spec/terraspace/seeder_spec.rb
762
+ - spec/terraspace/terraform/args/custom_spec.rb
763
+ - spec/terraspace/terraform/hooks/builder_spec.rb