Divided createdResource into pre/postProcess