Generate resource using RG module