How can we improve the Azure Resource Manager?

Configure hostnames for Web App in ARM Template

310 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    David Prothero shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    4 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Gleb Boushev commented  ·   ·  Flag as inappropriate

        I'm not really sure what this piece of feedback is about, but you can fully automate the creation of a web app using arm template, including setting ssl, custom hostname binding and uploading of the ssl cert.

      • Ben Prejean commented  ·   ·  Flag as inappropriate

        It obviously is not optimal, but I created an arm template parameter, suppressVanityUrl, that when set to true suppresses the the custom domain name (hostname). My VSTS release definitions have one task with suppressVanityUrl set to 1, then the web app deploy, then a another task with suppressVanityUrl set to 0. That is one way to work around the issue. It only adds a minute or so to the release.

      • Mike Clark commented  ·   ·  Flag as inappropriate

        This really needs to be supported, this issue makes fully automating the deployment process impossible.

      • M)( commented  ·   ·  Flag as inappropriate

        This means we wont be able to create website in production through automated environment scripts.

      Feedback and Knowledge Base