[FEATURE] aspnetcore aspire support
Your suggestion
Considering I can use aspire as Iac to build azure resources (It uses Azure Provisioning SDK internally) How can I apply PSRule with ease against my aspire project?
P.S. I using both aspire nuget packages like Redis and Custom bicep files
Alternatives
I might be able to generate bicep files, copy them somewhere and run PSRule against them.
Additional context
No response
Thanks for raising your first issue, the team appreciates the time you have taken 😉
Hi @ysmoradi, thanks for the question. Are you asking about testing Bicep files that have been generated by Aspire?
If you have not generated Bicep files but have deployed Azure resources to Azure then you can use the "in-flight" method to test resources deployed to Azure, see: https://azure.github.io/PSRule.Rules.Azure/export-rule-data/
If you mean testing Bicep files generated by Aspire, I am less familiar with this option then try: https://azure.github.io/PSRule.Rules.Azure/creating-your-pipeline/
If you mean you have tried to test Bicep files but have errors or it doesn't work, please share some additional details.