New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_cdn_endpoint support for custom domains #398
Comments
Just checked - this is now in the SDK so we should be able to proceed with this soon 👍 |
The current documentation reads as if this is possible in the description. Maybe in the immediate, the documentation should be noted that this feature is not yet available.
|
custom domain support would be most beneficial. |
Hey folks! Just to let you know that we’re planning on taking a look at this this week :) |
Note I learned through recent experience with Microsoft's support team that only Verizon_Standard and Verizon_Premium support custom domains. The Akamai_Standard implementation currently doesn't support custom domains. |
I learned through experience that much of what I needed to configure for the Verizon_Premium CDN could only be done through the verizon configuration portal and that domain validation required tickets to be bridged from Microsoft to Verizon to execute with an 8hr SLA. I captured what I experienced here[1] and here[2] and I will follow this thread to hopefully revisit this someday? 1: https://azure.serverlessexample.ga/index.html |
How is this open for 3 years? It's supported by the Azure CLI/SDK for some time now. Why would I have a CDN and no custom domain? (sorry for the passive aggressiveness, manual steps always erk me) All Hail Terraform! |
For anyone looking for a workaround that requires everything to be in code/terraform. You can use FrontDoor as the Frontend with caching and a storage account backend. Although the terraform resources for FrontDoor are extremely unstable right now. At least they exist. |
Another workaround is to use call the following
|
This doesn't help if you want to maintain the list of custom domains in a state though. It only works on the first creation or I guess if something need changing. Probably wouldn't recommend this way |
ARM Templates seem to support creating custom domains (https://docs.microsoft.com/en-us/azure/templates/microsoft.cdn/profiles/endpoints/customdomains), which could be combined in terraform with Unfortunately the ARM templates don't support HTTPS. This could of course be further worked around by using ARM template deployment scripts (https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-script-template) also within |
Is there any update on the topic? It is an issue of high importance - I am probably not the only one willing to use it in a production environment in which many unstable workarounds may cause downtime. |
Hi, no, you are not. Please help us. Implementing custom domain would be very appreciate |
I too am looking for this. I recently moved one of my CDN's from Microsoft to Akamai and having the local exec running pwsh was clunky at best. |
Just submit a PR #11120 to support custom domain without HTTPS. There are still something needs to investigate for the HTTPS settings, and the test takes quite a long time to finish (>8hr to create + >8hr to delete). So bear with me 😅 |
I believe the 8 hour window applies to a recently purged custom domain. In which previously, https had been enabled, ownership confirmed, and an Azure managed cert was created. I've come across such an error when using the Azure Portal. |
I just came across this issue and am wondering if there is any word on the proposed solution? I see it is marked as a Draft PR. Is there work which needs attention that will help get this over the line? Or does the PR just need to be moved out of Draft status and reviewed? I need this functionality so can contribute a small amount of time if there is something needed. EDIT: alternately, can someone point me to a workaround which can resolve creation of an HTTPS endpoint on a custom domain name? |
An update on PR #11120: Althoug the #11231 is closed, while the CDN service team told that currently customers cannot opt out the breaking change behvavior as stated in #11231 on their own as its not an AutoApprove feature. The feature has to be enabled by the PG team. This means, this PR is still blocked. |
New resource: azurerm_cdn_endpoint_custom_domain (http only). There are still something needs figure out for https cases, but want to unblock some users don't need https feature first (as #398 has been opened long ago).
Is this issues resolved with the merge of #12496 or does this issue also contains HTTPS Support for custom domains? |
@StefanSchoof The https is still not yet supported as I'm currently occupied by other stuff, sorry for that.. |
@magodo Thanks you for adding the HTTP Part. No need to apologize. I just wanted to get clarification, if this issue is also for the HTTPS Part or if I should search for a other issue to keep up to date. Sorry, that my post was a little direct. I had no intention to be pushy. |
Don't mean to rush anybody, but any update on this? |
Hi folks, any update on HTTPS support? We're currently using Azure CLI as a workaround, but it's not ideal. |
Appreciate all the PRs that have gone into this, was wondering if there is any update in terms of the submitted PR in regards to this issue |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
This issue was originally opened by @iustinam as hashicorp/terraform#16261. It was migrated here as a result of the provider split. The original body of the issue is below.
Hi,
Is there any plan to add support for CDN custom domains? I could not find that in https://github.com/hashicorp/terraform/pull/4759/files
Azure templates have support for that as in:
https://docs.microsoft.com/en-us/azure/templates/microsoft.cdn/profiles/endpoints
https://docs.microsoft.com/en-us/azure/templates/microsoft.cdn/profiles/endpoints/customdomains
Thanks
The text was updated successfully, but these errors were encountered: