-
Notifications
You must be signed in to change notification settings - Fork 160
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
Custom domain configuration? #3955
Comments
You can find some insights here: #3908 (comment) Relevant: #1540 |
Hi @jonnyry Using a custom DNS and custom certA certificate named 'letsencrypt' has been generated in the primary TRE KeyVault. This must be substituted with a certificate for your DNS name. Terraform has been configured to ignore modifications to this resource, eliminating the possibility of any overwrites or conflicts when rerunning the pipelines. |
Thanks @tim-allen-ck I've requested a new subdomain so I'll let you know how it goes. |
Is it possible to add the custom domain as part of the TRE deployment build?...(rather than a manual fix up afterwards). I noticed the following in config.yaml, though I'm not clear on what the comments mean:
|
Hey @jonnyry, I've not tried adding the custom domain to the TRE deployment build. |
I'm also thinking that was the intention, though this line overwrites the value of TRE_URL with the native .cloudapp.azure.com domain:
So guessing tre_url in the config.yaml is now redundant. |
Yes, I saw this looking through the code to find where that |
I believe I've used |
Got it working with the instructions above thanks :-) Managed to piggyback the existing
|
@tim-allen-ck @marrobi In terms of supporting a custom domain within the codebase (and not requiring a post deployment manual fix up)... how about the following?
AzureTRE/devops/scripts/aad/create_api_application.sh Lines 241 to 246 in 1ffb09b
|
What configuration is required in order to apply a custom domain name to a TRE instance?
I'm assuming you will need to create a DNS record to your TRE instance along the lines of:
treinstance.mydomainname.co.uk CNAME treinstance.region.cloudapp.azure.com
What is then required in terms of Azure TRE configuration? Is this just setting the TRE_URL in config.yaml / env vars and redeploying? Will the letsencrypt make action still work for custom domains?
Thanks
The text was updated successfully, but these errors were encountered: