Class: TerraformSynthesizer

Inherits:
AbstractSynthesizer
  • Object
show all
Defined in:
lib/terraform-synthesizer.rb

Constant Summary collapse

RESOURCE_KEYS =
i[
  terraform
  provider
  resource
  variable
  locals
  output
  data
].freeze

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name) ⇒ Object



14
15
16
17
18
19
20
# File 'lib/terraform-synthesizer.rb', line 14

def method_missing(method_name, ...)
  abstract_method_missing(
    method_name.to_sym,
    RESOURCE_KEYS,
    ...
  )
end