@DevOps Guy ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
You can create the environment with all required resources and export the resource group as a template. For more information, you can refer to https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-portal
Thanks
----------
Please "Accept as Answer" and Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.