Hey all, Does anyone have a working example of cre...
# azure
m
Hey all, Does anyone have a working example of creating an App Service with custom domain and free Azure cert? It’s not clear how to go about this, but I’ve assumed it is to create a
web.Certificate
and then apply it to the App Service using a
web.WebAppHostNameBinding
, however there are no enum values for the cert
DomainValidationMethod
arg, and I can’t find any worked examples. Unfortunately Azure doesn’t return a helpful error message to help track this one down:
autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="The parameter Properties.DomainValidationMethod has an invalid value."
👀 1
c
`"http-token"``
But yeah, I’m also struggling how to setup a managed cert with Pulumi in an Azure App Service. Tried to look at ARM or bicep samples, but no luck so far.
m
Thanks, turns out that leaving out the
DomainValidationMethod
param works just fine to generate a free cert, but I’ve also run into the circular dependency in your post below… 😞