This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from davesee/davesee/sovereign_cloud_vars
Add sovereign cloud endpoints and suffix environment variables (part 2)
- Loading branch information
Showing
3 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
locals { | ||
cloud = merge( | ||
var.cloud, | ||
{ | ||
acrLoginServerEndpoint = var.acrLoginServerEndpoint | ||
attestationEndpoint = var.attestationEndpoint | ||
azureDatalakeAnalyticsCatalogAndJobEndpoint = var.azureDatalakeAnalyticsCatalogAndJobEndpoint | ||
azureDatalakeStoreFileSystemEndpoint = var.azureDatalakeStoreFileSystemEndpoint | ||
keyvaultDns = var.keyvaultDns | ||
mariadbServerEndpoint = var.mariadbServerEndpoint | ||
mhsmDns = var.mhsmDns | ||
mysqlServerEndpoint = var.mysqlServerEndpoint | ||
postgresqlServerEndpoint = var.postgresqlServerEndpoint | ||
sqlServerHostname = var.sqlServerHostname | ||
storageEndpoint = var.storageEndpoint | ||
storageSyncEndpoint = var.storageSyncEndpoint | ||
synapseAnalyticsEndpoint = var.synapseAnalyticsEndpoint | ||
activeDirectory = var.activeDirectory | ||
activeDirectoryDataLakeResourceId = var.activeDirectoryDataLakeResourceId | ||
activeDirectoryGraphResourceId = var.activeDirectoryGraphResourceId | ||
activeDirectoryResourceId = var.activeDirectoryResourceId | ||
appInsightsResourceId = var.appInsightsResourceId | ||
appInsightsTelemetryChannelResourceId = var.appInsightsTelemetryChannelResourceId | ||
attestationResourceId = var.attestationResourceId | ||
azmirrorStorageAccountResourceId = var.azmirrorStorageAccountResourceId | ||
batchResourceId = var.batchResourceId | ||
gallery = var.gallery | ||
logAnalyticsResourceId = var.logAnalyticsResourceId | ||
management = var.management | ||
mediaResourceId = var.mediaResourceId | ||
microsoftGraphResourceId = var.microsoftGraphResourceId | ||
ossrdbmsResourceId = var.ossrdbmsResourceId | ||
portal = var.portal | ||
resourceManager = var.resourceManager | ||
sqlManagement = var.sqlManagement | ||
synapseAnalyticsResourceId = var.synapseAnalyticsResourceId | ||
vmImageAliasDoc = var.vmImageAliasDoc | ||
} | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
variable "cloud" { | ||
description = "Cloud configuration objects" | ||
default = {} | ||
} | ||
|
||
# Azure Public Cloud defaults for non-Rover use | ||
# Rover updates values based on active cloud | ||
|
||
variable "acrLoginServerEndpoint" { | ||
default = ".azurecr.io" | ||
} | ||
variable "attestationEndpoint" { | ||
default = ".attest.azure.net" | ||
} | ||
variable "azureDatalakeAnalyticsCatalogAndJobEndpoint" { | ||
default = "azuredatalakeanalytics.net" | ||
} | ||
variable "azureDatalakeStoreFileSystemEndpoint" { | ||
default = "azuredatalakestore.net" | ||
} | ||
variable "keyvaultDns" { | ||
default = ".vault.azure.net" | ||
} | ||
variable "mariadbServerEndpoint" { | ||
default = ".mariadb.database.azure.com" | ||
} | ||
variable "mhsmDns" { | ||
default = ".managedhsm.azure.net" | ||
} | ||
variable "mysqlServerEndpoint" { | ||
default = ".mysql.database.azure.com" | ||
} | ||
variable "postgresqlServerEndpoint" { | ||
default = ".postgres.database.azure.com" | ||
} | ||
variable "sqlServerHostname" { | ||
default = ".database.windows.net" | ||
} | ||
variable "storageEndpoint" { | ||
default = "core.windows.net" | ||
} | ||
variable "storageSyncEndpoint" { | ||
default = "afs.azure.net" | ||
} | ||
variable "synapseAnalyticsEndpoint" { | ||
default = ".dev.azuresynapse.net" | ||
} | ||
variable "activeDirectory" { | ||
default = "https://login.microsoftonline.com" | ||
} | ||
variable "activeDirectoryDataLakeResourceId" { | ||
default = "https://datalake.azure.net/" | ||
} | ||
variable "activeDirectoryGraphResourceId" { | ||
default = "https://graph.windows.net/" | ||
} | ||
variable "activeDirectoryResourceId" { | ||
default = "https://management.core.windows.net/" | ||
} | ||
variable "appInsightsResourceId" { | ||
default = "https://api.applicationinsights.io" | ||
} | ||
variable "appInsightsTelemetryChannelResourceId" { | ||
default = "https://dc.applicationinsights.azure.com/v2/track" | ||
} | ||
variable "attestationResourceId" { | ||
default = "https://attest.azure.net" | ||
} | ||
variable "azmirrorStorageAccountResourceId" { | ||
default = "null" | ||
} | ||
variable "batchResourceId" { | ||
default = "https://batch.core.windows.net/" | ||
} | ||
variable "gallery" { | ||
default = "https://gallery.azure.com/" | ||
} | ||
variable "logAnalyticsResourceId" { | ||
default = "https://api.loganalytics.io" | ||
} | ||
variable "management" { | ||
default = "https://management.core.windows.net/" | ||
} | ||
variable "mediaResourceId" { | ||
default = "https://rest.media.azure.net" | ||
} | ||
variable "microsoftGraphResourceId" { | ||
default = "https://graph.microsoft.com/" | ||
} | ||
variable "ossrdbmsResourceId" { | ||
default = "https://ossrdbms-aad.database.windows.net" | ||
} | ||
variable "portal" { | ||
default = "https://portal.azure.com" | ||
} | ||
variable "resourceManager" { | ||
default = "https://management.azure.com/" | ||
} | ||
variable "sqlManagement" { | ||
default = "https://management.core.windows.net:8443/" | ||
} | ||
variable "synapseAnalyticsResourceId" { | ||
default = "https://dev.azuresynapse.net" | ||
} | ||
variable "vmImageAliasDoc" { | ||
default = "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json" | ||
} |