Class: AWSDSL::Stack
- Inherits:
-
Object
show all
- Includes:
- DSL
- Defined in:
- lib/awsdsl/dsl/stack.rb
Instance Attribute Summary
Attributes included from DSL
#name
Instance Method Summary
collapse
Methods included from DSL
included, #initialize, #to_h
Methods included from Fn
#stack
Instance Method Details
#mixin_profiles ⇒ Object
7
8
9
10
11
12
13
14
|
# File 'lib/awsdsl/dsl/stack.rb', line 7
def mixin_profiles
@roles.each do |role|
role.include_profiles.each do |profile|
role_profile = @role_profiles.find { |rp| rp.name == profile }
role_profile.block.bind(role).call
end
end
end
|