Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 4 additions & 15 deletions modules/azure/meshstack_integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ locals {
# meshStack workspace that will manage the platform
meshstack_platform_workspace = "platform-azure"
meshstack_platform_name = "azure"
meshstack_location_name = "azure"
meshstack_location_name = "global"
}

# For workload identity federation config
Expand Down Expand Up @@ -121,19 +121,6 @@ module "azure_meshplatform" {
}
}

# Use a dedicated location for this platform
resource "meshstack_location" "azure" {
metadata = {
name = local.meshstack_location_name
owned_by_workspace = local.meshstack_platform_workspace
}

spec = {
display_name = "Azure"
description = "Microsoft Azure"
}
}

# Configure meshStack platform
resource "meshstack_platform" "azure" {
metadata = {
Expand All @@ -146,7 +133,9 @@ resource "meshstack_platform" "azure" {
display_name = "Azure Subscription"
endpoint = "https://portal.azure.com"

location_ref = meshstack_location.azure.ref
location_ref = {
name = local.meshstack_location_name
}

# To make this platform visible and accessible to all users, you must request publishing
# it through the meshStack panel.
Expand Down
Loading