def get_resource_ids(stack_resources, resource_type)
        resource_ids = {}
        stack_resources.each do |resource|
          if resource["ResourceType"] == resource_type
            key = resource["LogicalResourceId"]
            value = resource["PhysicalResourceId"]
            resource_ids[key] = value
          end
        end
        return resource_ids
      end
def get_resource_ids(stack_resources, resource_type)
        resource_ids = {}
        stack_resources.each do |resource|
          if resource["ResourceType"] == resource_type
            key = resource["LogicalResourceId"]
            value = resource["PhysicalResourceId"]
            resource_ids[key] = value
          end
        end
        return resource_ids
      end
Returns a hash {<logical_resource_id> => <physical_resource_id>}