Module: Terraspace::Layering

Included in:
Compiler::Strategy::Tfvar::Layer
Defined in:
lib/terraspace/layering.rb

Instance Method Summary collapse

Instance Method Details

#layersObject



5
6
7
# File 'lib/terraspace/layering.rb', line 5

def layers
  pre_layers + main_layers + post_layers
end

#main_layersObject



9
10
11
12
# File 'lib/terraspace/layering.rb', line 9

def main_layers
  # '' prefix for base layer
  [''] + plugins
end

#post_layersObject



18
19
20
# File 'lib/terraspace/layering.rb', line 18

def post_layers
  []
end

#pre_layersObject



14
15
16
# File 'lib/terraspace/layering.rb', line 14

def pre_layers
  []
end