Skip to content

Commit d72bb8c

Browse files
Merge pull request #168 from Barts-Life-Science/azurerm-provider
Fix azurerm terraform provider for base workspace, guacamole, and windows VM
2 parents 79c0806 + 4cc88ae commit d72bb8c

File tree

7 files changed

+47
-47
lines changed

7 files changed

+47
-47
lines changed

templates/workspace_services/guacamole/terraform/.terraform.lock.hcl

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/workspace_services/guacamole/terraform/providers.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
azurerm = {
44
source = "hashicorp/azurerm"
5-
version = "=3.57.0"
5+
version = "=3.108.0"
66
}
77
local = {
88
source = "hashicorp/local"

templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/terraform/.terraform.lock.hcl

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/terraform/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
required_providers {
44
azurerm = {
55
source = "hashicorp/azurerm"
6-
version = "=3.57.0"
6+
version = "=3.108.0"
77
}
88
random = {
99
source = "hashicorp/random"

templates/workspaces/base/terraform/.terraform.lock.hcl

+14-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/workspaces/base/terraform/azure-monitor/azure-monitor.tf

+2-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ resource "azurerm_monitor_private_link_scoped_service" "ampls_app_insights" {
136136
scope_name = azapi_resource.ampls_workspace.name
137137

138138
# linked_resource_id = azurerm_application_insights.workspace.id
139-
linked_resource_id = jsondecode(azapi_resource.appinsights.output).id
139+
# linked_resource_id = jsondecode(azapi_resource.appinsights.output).id
140+
linked_resource_id = replace(jsondecode(azapi_resource.appinsights.output).id, "microsoft.insights", "Microsoft.Insights")
140141
}
141142

142143
resource "azurerm_private_endpoint" "azure_monitor_private_endpoint" {

templates/workspaces/base/terraform/providers.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
azurerm = {
44
source = "hashicorp/azurerm"
5-
version = "=3.73.0"
5+
version = "=3.108.0"
66
}
77
azuread = {
88
source = "hashicorp/azuread"

0 commit comments

Comments
 (0)