Class: Terraframe::AWS::AWSResource

Inherits:
Resource show all
Defined in:
lib/terraframe/aws/aws_resources.rb

Direct Known Subclasses

AWSSecurityGroupResource

Instance Attribute Summary

Attributes inherited from Resource

#resource_name

Attributes inherited from ScriptItem

#context, #fields, #vars

Instance Method Summary collapse

Methods inherited from Resource

#cleanup_provisioner_type, #connection, #initialize, #provisioner

Methods inherited from ScriptItem

#id_of, #initialize, #output_of, #to_json

Constructor Details

This class inherits a constructor from Terraframe::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *args, &block) ⇒ Object

DSL FUNCTIONS BELOW



9
10
11
12
13
14
# File 'lib/terraframe/aws/aws_resources.rb', line 9

def method_missing(method_name, *args, &block)
  if method_name == "tags"
    raise "This resource does not support tags."
  end  
  super(method_name, *args, &block)
end