terraspace 1.0.4 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/lib/templates/base/project/.gitignore +1 -0
  4. data/lib/templates/base/project/config/app.rb +1 -1
  5. data/lib/terraspace/all/grapher.rb +11 -3
  6. data/lib/terraspace/all/runner.rb +17 -10
  7. data/lib/terraspace/app/callable_option/concern.rb +12 -0
  8. data/lib/terraspace/app/callable_option.rb +58 -0
  9. data/lib/terraspace/app.rb +16 -3
  10. data/lib/terraspace/autodetect.rb +3 -7
  11. data/lib/terraspace/builder/allow/base.rb +59 -0
  12. data/lib/terraspace/builder/allow/env.rb +17 -0
  13. data/lib/terraspace/builder/allow/region.rb +31 -0
  14. data/lib/terraspace/builder/allow/stack.rb +17 -0
  15. data/lib/terraspace/builder/allow.rb +3 -33
  16. data/lib/terraspace/builder/children.rb +42 -0
  17. data/lib/terraspace/builder.rb +34 -32
  18. data/lib/terraspace/cli/all.rb +2 -0
  19. data/lib/terraspace/cli/build/placeholder.rb +3 -1
  20. data/lib/terraspace/cli/help/all/plan.md +11 -1
  21. data/lib/terraspace/cli/help/all/up.md +10 -0
  22. data/lib/terraspace/cli/help/plan.md +9 -1
  23. data/lib/terraspace/cli/help/up.md +9 -1
  24. data/lib/terraspace/cli/init.rb +1 -1
  25. data/lib/terraspace/cli.rb +3 -2
  26. data/lib/terraspace/compiler/dirs_concern.rb +6 -1
  27. data/lib/terraspace/compiler/expander/backend.rb +1 -1
  28. data/lib/terraspace/compiler/expander.rb +38 -14
  29. data/lib/terraspace/compiler/{builder → perform}/skip.rb +1 -1
  30. data/lib/terraspace/compiler/{builder.rb → perform.rb} +21 -20
  31. data/lib/terraspace/compiler/select.rb +32 -42
  32. data/lib/terraspace/compiler/strategy/tfvar.rb +2 -1
  33. data/lib/terraspace/dependency/resolver.rb +20 -0
  34. data/lib/terraspace/mod.rb +1 -0
  35. data/lib/terraspace/plugin/summary/interface.rb +1 -1
  36. data/lib/terraspace/terraform/args/expand.rb +25 -0
  37. data/lib/terraspace/terraform/args/thor.rb +14 -11
  38. data/lib/terraspace/terraform/ihooks/after/plan.rb +2 -2
  39. data/lib/terraspace/terraform/ihooks/base.rb +5 -0
  40. data/lib/terraspace/terraform/ihooks/before/plan.rb +3 -5
  41. data/lib/terraspace/terraform/remote_state/fetcher.rb +12 -5
  42. data/lib/terraspace/terraform/remote_state/marker/output.rb +1 -1
  43. data/lib/terraspace/version.rb +1 -1
  44. data/spec/terraspace/all/runner_spec.rb +1 -0
  45. data/spec/terraspace/compiler/erb/render_spec.rb +5 -1
  46. data/terraspace.gemspec +1 -1
  47. metadata +14 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.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: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -478,12 +478,19 @@ files:
478
478
  - lib/terraspace/all/runner.rb
479
479
  - lib/terraspace/all/summary.rb
480
480
  - lib/terraspace/app.rb
481
+ - lib/terraspace/app/callable_option.rb
482
+ - lib/terraspace/app/callable_option/concern.rb
481
483
  - lib/terraspace/app/inits.rb
482
484
  - lib/terraspace/autodetect.rb
483
485
  - lib/terraspace/autoloader.rb
484
486
  - lib/terraspace/booter.rb
485
487
  - lib/terraspace/builder.rb
486
488
  - lib/terraspace/builder/allow.rb
489
+ - lib/terraspace/builder/allow/base.rb
490
+ - lib/terraspace/builder/allow/env.rb
491
+ - lib/terraspace/builder/allow/region.rb
492
+ - lib/terraspace/builder/allow/stack.rb
493
+ - lib/terraspace/builder/children.rb
487
494
  - lib/terraspace/bundle.rb
488
495
  - lib/terraspace/cli.rb
489
496
  - lib/terraspace/cli/all.rb
@@ -596,8 +603,6 @@ files:
596
603
  - lib/terraspace/cli/up.rb
597
604
  - lib/terraspace/command.rb
598
605
  - lib/terraspace/compiler/basename.rb
599
- - lib/terraspace/compiler/builder.rb
600
- - lib/terraspace/compiler/builder/skip.rb
601
606
  - lib/terraspace/compiler/cleaner.rb
602
607
  - lib/terraspace/compiler/cleaner/backend_change.rb
603
608
  - lib/terraspace/compiler/commands_concern.rb
@@ -627,6 +632,8 @@ files:
627
632
  - lib/terraspace/compiler/expander.rb
628
633
  - lib/terraspace/compiler/expander/backend.rb
629
634
  - lib/terraspace/compiler/helper_extender.rb
635
+ - lib/terraspace/compiler/perform.rb
636
+ - lib/terraspace/compiler/perform/skip.rb
630
637
  - lib/terraspace/compiler/select.rb
631
638
  - lib/terraspace/compiler/strategy/abstract_base.rb
632
639
  - lib/terraspace/compiler/strategy/mod.rb
@@ -649,6 +656,7 @@ files:
649
656
  - lib/terraspace/dependency/helper/output.rb
650
657
  - lib/terraspace/dependency/node.rb
651
658
  - lib/terraspace/dependency/registry.rb
659
+ - lib/terraspace/dependency/resolver.rb
652
660
  - lib/terraspace/dotenv.rb
653
661
  - lib/terraspace/ext.rb
654
662
  - lib/terraspace/ext/bundler.rb
@@ -697,6 +705,7 @@ files:
697
705
  - lib/terraspace/terraform/api/workspace.rb
698
706
  - lib/terraspace/terraform/args/custom.rb
699
707
  - lib/terraspace/terraform/args/dsl.rb
708
+ - lib/terraspace/terraform/args/expand.rb
700
709
  - lib/terraspace/terraform/args/pass.rb
701
710
  - lib/terraspace/terraform/args/shorthands.rb
702
711
  - lib/terraspace/terraform/args/thor.rb
@@ -858,7 +867,7 @@ files:
858
867
  - spec/terraspace/terraform/remote_state/marker/output_spec.rb
859
868
  - spec/terraspace/terraform/remote_state/output_proxy_spec.rb
860
869
  - terraspace.gemspec
861
- homepage: https://github.com/boltops-tools/terraspace
870
+ homepage: https://terraspace.cloud
862
871
  licenses:
863
872
  - Apache-2.0
864
873
  metadata: {}