We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e20213 commit f90627eCopy full SHA for f90627e
m365/terraform/modules/app/app_create.tf
@@ -1,5 +1,5 @@
1
locals {
2
- is_us_gov = contains(split(" ", var.location), "USGov")
+ is_us_gov = startswith(lower(var.location), "usgov")
3
}
4
5
data "azuread_application_published_app_ids" "well_known" {}
m365/terraform/modules/container/main.tf
@@ -1,7 +1,7 @@
data "azurerm_client_config" "current" {}
- is_us_gov = contains(split(" ", var.resource_group.location), "USGov")
+ is_us_gov = startswith(lower(var.resource_group.location), "usgov")
aad_endpoint = local.is_us_gov ? "https://login.microsoftonline.us" : "https://login.microsoftonline.com"
6
7
0 commit comments