Skip to content

Commit

Permalink
Merge pull request #168 from Barts-Life-Science/azurerm-provider
Browse files Browse the repository at this point in the history
Fix azurerm terraform provider for base workspace, guacamole, and windows VM
  • Loading branch information
TonyWildish-BH authored Sep 26, 2024
2 parents 79c0806 + 4cc88ae commit d72bb8c
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 47 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "=3.57.0"
version = "=3.108.0"
}
local = {
source = "hashicorp/local"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "=3.57.0"
version = "=3.108.0"
}
random = {
source = "hashicorp/random"
Expand Down
29 changes: 14 additions & 15 deletions templates/workspaces/base/terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ resource "azurerm_monitor_private_link_scoped_service" "ampls_app_insights" {
scope_name = azapi_resource.ampls_workspace.name

# linked_resource_id = azurerm_application_insights.workspace.id
linked_resource_id = jsondecode(azapi_resource.appinsights.output).id
# linked_resource_id = jsondecode(azapi_resource.appinsights.output).id
linked_resource_id = replace(jsondecode(azapi_resource.appinsights.output).id, "microsoft.insights", "Microsoft.Insights")
}

resource "azurerm_private_endpoint" "azure_monitor_private_endpoint" {
Expand Down
2 changes: 1 addition & 1 deletion templates/workspaces/base/terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "=3.73.0"
version = "=3.108.0"
}
azuread = {
source = "hashicorp/azuread"
Expand Down

0 comments on commit d72bb8c

Please sign in to comment.