Module: Terraspace::Compiler::Dsl::Syntax::Mod::Terraform

Defined in:
lib/terraspace/compiler/dsl/syntax/mod/terraform.rb

Instance Method Summary collapse

Instance Method Details

#terraform(name, props = {}) ⇒ Object



3
4
5
6
# File 'lib/terraspace/compiler/dsl/syntax/mod/terraform.rb', line 3

def terraform(name, props={})
  terraform = @structure[:terraform] ||= {}
  terraform[name] = props
end