Sha256: 3da60f7ec1be7a9b4e1a5a813a189499301eb0281750d97529a86a243496b679
Contents?: true
Size: 558 Bytes
Versions: 21
Compression:
Stored size: 558 Bytes
Contents
module Awspec::Type class LaunchConfiguration < ResourceBase def resource_via_client @resource_via_client ||= find_launch_configuration(@display_name) end def id @id ||= resource_via_client.launch_configuration_arn if resource_via_client end def has_security_group?(sg_id) sgs = resource_via_client.security_groups ret = sgs.find do |sg| sg == sg_id end return true if ret sg2 = find_security_group(sg_id) sgs.find do |sg| sg == sg2.group_id end end end end
Version data entries
21 entries across 21 versions & 1 rubygems