This message was deleted.
# azure
s
This message was deleted.
t
Do you want to do all this in an automated fashion?
r
Ideally, yes
It would be amazing if the
CustomHostnameBinding
had an argument/option/whatever that accepted a DNS provider resource, so we could do something like:
Copy code
new CustomHostnameBinding("example-binding", {
  hostname: "<http://www.mywebsite.com|www.mywebsite.com>",
  appServiceName: exampleAppService.name,
  resourceGroupName: exampleResourceGroup.name
}, {
  dnsVerificationRecord: new cloudflare.Record("azure-appservice-domain-verification", {
    name: "azure-appservice-domain-verification",
    zoneId: "whatever",
    type: "TXT",
    value: "value-from-the-error-message"
    ttl: 3600
  })
})
👍 1
@tall-librarian-49374 Is what I’m asking currently possible, or do we need to complete the DNS verification step by hand somehow? I’m struggling to understand how a
CustomHostnameBinding
can ever succeed at first…