Added default values in case not specified to allow resource to be defined. Guard condition will take care of not executing with default values.