Skip to content

Commit 25436a9

Browse files
committed
azurerm_iothub - add region which allow data residency for acctest
1 parent 45e9a8b commit 25436a9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.teamcity/components/settings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ var serviceTestConfigurationOverrides = mapOf(
111111
"iotcentral" to testConfiguration(locationOverride = LocationConfiguration("westeurope", "southeastasia", "eastus2", false)),
112112

113113
// IoT Hub Device Update is only available in certain locations
114-
"iothub" to testConfiguration(locationOverride = LocationConfiguration("eastus", "eastus2", "westus2", false)),
114+
"iothub" to testConfiguration(locationOverride = LocationConfiguration("eastus", "brazilSouth", "westus2", false)),
115115

116116
// load balancer global tire Public IP is only available in
117117
"loadbalancer" to testConfiguration(locationOverride = LocationConfiguration("westeurope", "eastus2", "westus", false)),

internal/services/iothub/iothub_resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2346,5 +2346,5 @@ resource "azurerm_iothub" "test" {
23462346
purpose = "testing"
23472347
}
23482348
}
2349-
`, data.RandomInteger, data.Locations.Primary, data.RandomInteger)
2349+
`, data.RandomInteger, data.Locations.Secondary, data.RandomInteger)
23502350
}

0 commit comments

Comments
 (0)