deploy to azure button with Bicep files. #7756
-
The "deploy to Azure" button doesn't accept Bicep files currently. I think the below way but got CORS error on Azure Portal.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Adding @bmoore-msft to note your expression of interest for this. The current recommendation with all quickstarts is to have your Bicep Templates with modules, however also include the main.json file which is the compiled ARM template version of your Bicep files. So in that case you just have to do the extra step to build your Bicep and then still use the json for the deploy to Azure. |
Beta Was this translation helpful? Give feedback.
-
I don't think we have an ETA for allowing the portal to accept the bicep file directly... (it's on the list, but no date yet). From the error is looks like the CORS settings on github release artifacts are too strict for the Portal (I'm not a CORS expert by any means). I couldn't find anyway to configure that in a repo but the github folks may know more... The Portal has the correct behavior. In the mean time you can use a raw github link e.g.
Another option would be to mirror the release artifacts somewhere that that has the proper settings or allows you to control them. |
Beta Was this translation helpful? Give feedback.
I don't think we have an ETA for allowing the portal to accept the bicep file directly... (it's on the list, but no date yet).
From the error is looks like the CORS settings on github release artifacts are too strict for the Portal (I'm not a CORS expert by any means). I couldn't find anyway to configure that in a repo but the github folks may know more... The Portal has the correct behavior.
In the mean time you can use a raw github link e.g.
Another option would be to mirror the release artifacts somewhere that that has the proper sett…