Convert definitions to custom resources (LWRPs)

Open Balasankar C requested to merge 2078-convert-definitions-to-resources into master

Closes: #2654

Related to: #2078

Edited by Balasankar C