Skip to content

Commit

Permalink
Include AzureML FQDN as a bundle output (#3450)
Browse files Browse the repository at this point in the history
* Fix aml outputs

* Update changelog and version
  • Loading branch information
LizaShak authored Apr 20, 2023
1 parent de5f662 commit 617d5bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ENHANCEMENTS:
* Update Guacamole to version 1.5.1 ([#3443](https://github.com/microsoft/AzureTRE/issues/3443))

BUG FIXES:
* AML workspace service fails to install and puts firewall into failed state ([#3448](https://github.com/microsoft/AzureTRE/issues/3448))

COMPONENTS:

Expand Down
9 changes: 8 additions & 1 deletion templates/workspace_services/azureml/porter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 1.0.0
name: tre-service-azureml
version: 0.8.1
version: 0.8.2
description: "An Azure TRE service for Azure Machine Learning"
registry: azuretre
dockerfile: Dockerfile.tmpl
Expand Down Expand Up @@ -115,6 +115,11 @@ outputs:
applyTo:
- install
- upgrade
- name: aml_fqdn
type: string
applyTo:
- install
- upgrade

mixins:
- terraform:
Expand Down Expand Up @@ -155,6 +160,7 @@ install:
- name: storage_tag
- name: batch_tag
- name: mcr_tag
- name: aml_fqdn

upgrade:
- terraform:
Expand Down Expand Up @@ -188,6 +194,7 @@ upgrade:
- name: storage_tag
- name: batch_tag
- name: mcr_tag
- name: aml_fqdn

uninstall:
- terraform:
Expand Down
2 changes: 1 addition & 1 deletion templates/workspace_services/azureml/terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ output "azureml_storage_account_id" {
}

output "aml_fqdn" {
value = module.terraform_azurerm_environment_configuration.aml_studio_endpoint
value = regex("(?:(?P<scheme>[^:/?#]+):)?(?://(?P<fqdn>[^/?#:]*))?", module.terraform_azurerm_environment_configuration.aml_studio_endpoint).fqdn
}

output "connection_uri" {
Expand Down

0 comments on commit 617d5bf

Please sign in to comment.