This issue might be identical.
Is there any update on this ?
Rendering Macro within Macro - Help - dbt Community Forum