class TerraformDSL::AWS::IAM::Role
Attributes
name[R]
path[R]
policy[R]
Public Class Methods
new(name, path, policy)
click to toggle source
# File lib/terraformdsl/aws.rb, line 563 def initialize(name, path, policy) @name = name @path = path @policy = policy end
Public Instance Methods
attr(attr)
click to toggle source
# File lib/terraformdsl/aws.rb, line 570 def attr(attr); "${aws_iam_role.#{@name}.#{attr}}"; end