Have you tried the source_controlblock? It’s a top-level attribute but should point to the repo URL & branch for your SCM type. Let me know, we might have to update the documentation for clarity if it achieves what you’re looking to do.
Thanks for the reply. I tried to update my main configuration file with the source_control block, but received errors both at top level and nested inside the site config.
Top level placement Error: "source_control": this field cannot be set
Nested in site config: Error: Unsupported block type
I encourage you to talk to the community on GitHub.
This topic is about the subject:
For my part, I have not dug the problem, for lack of time, for now I think the only workaround is to go through azurerm_template_deployment pending full support.