param ‘resource_type’ was not being sent to function.
param ‘resource_type’ was not being sent to function.

Added check to see if option ‘resource’ was defined & to process that
resource, otherwise, process full policy

split policy check into if/else check for options.resource_type

update #3

* UnitTest passes
* —resource cli now filters when appropriate

Sutto/cloud-custodian,RyanWolfe/cloud-custodian,ewbankkit/cloud-custodian,thisisshi/cloud-custodian,taohungyang/cloud-custodian,ocampocj/cloud-custodian,siddartha1992/cloud-custodian,kapilt/cloud-custodian,kapilt/cloud-custodian,FireballDWF/cloud-custodian,capitalone/cloud-custodian,alfredgamulo/cloud-custodian,thisisshi/cloud-custodian,alfredgamulo/cloud-custodian,ocampocj/cloud-custodian,JohnTheodore/cloud-custodian,scotwk/cloud-custodian,kapilt/cloud-custodian,ewbankkit/cloud-custodian,JohnTheodore/cloud-custodian,capitalone/cloud-custodian,ocampocj/cloud-custodian,FireballDWF/cloud-custodian,taohungyang/cloud-custodian,ewbankkit/cloud-custodian,kapilt/cloud-custodian,andrewalexander/cloud-custodian,taohungyang/cloud-custodian,ewbankkit/cloud-custodian,ocampocj/cloud-custodian,thisisshi/cloud-custodian,alfredgamulo/cloud-custodian,FireballDWF/cloud-custodian,sixfeetup/cloud-custodian,taohungyang/cloud-custodian,FireballDWF/cloud-custodian,VeritasOS/cloud-custodian,capitalone/cloud-custodian,Sutto/cloud-custodian,jdubs/cloud-custodian,capitalone/cloud-custodian,Sutto/cloud-custodian,jimmyraywv/cloud-custodian,scotwk/cloud-custodian,Sutto/cloud-custodian