Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added fixed uksouth and ukwest locations for avm.res.network.trafficmanagerprofile #3354

Merged
merged 29 commits into from
Sep 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f81637b
Add service-fabric cluster worklfow
lsnoddy Mar 12, 2024
a916a14
Edit workflow name
lsnoddy Mar 12, 2024
5befa86
Fixed workflow paths
lsnoddy Mar 12, 2024
0c06b49
Merge branch 'anchor' of https://github.com/lsnoddy/bicep-registry-mo…
lsnoddy Mar 22, 2024
f8636f2
Merge branch 'main' of https://github.com/lsnoddy/bicep-registry-modules
lsnoddy May 15, 2024
a4beb52
Merge branch 'Azure:main' into main
lsnoddy Jun 13, 2024
f39a978
Merge branch 'Azure:main' into main
lsnoddy Jun 17, 2024
2ea25f9
Merge branch 'Azure:main' into main
lsnoddy Sep 13, 2024
14cd4d5
Use enforcedLocation due to quota limitation in westEurope
lsnoddy Sep 13, 2024
e024230
Change enforcedLocation
lsnoddy Sep 13, 2024
d4283f4
test eastus location
lsnoddy Sep 13, 2024
4f9364e
Update readme and json files
lsnoddy Sep 13, 2024
ada367d
test
lsnoddy Sep 13, 2024
59f9125
test
lsnoddy Sep 13, 2024
8044ed7
Enforce westus3 location due to capacity limitation
lsnoddy Sep 23, 2024
58eddea
test
lsnoddy Sep 23, 2024
ce4752e
test new location due to capacity limit
lsnoddy Sep 23, 2024
523cfc4
Update locations due to capacity limitation
lsnoddy Sep 23, 2024
431720d
Remove default location overwrite
lsnoddy Sep 23, 2024
b87c888
test
lsnoddy Sep 23, 2024
e3cf62d
test
lsnoddy Sep 23, 2024
1af6c53
test
lsnoddy Sep 23, 2024
257f388
Updated dependency locations due to capacity limitations
lsnoddy Sep 24, 2024
35e5b56
test
lsnoddy Sep 24, 2024
53bf8e1
Update readme
lsnoddy Sep 24, 2024
088d778
Add enforcedLocation uksouth and ukwest due to App Service plan capac…
lsnoddy Sep 24, 2024
4361e59
Rebuild main.json with latest bicep cli version
lsnoddy Sep 26, 2024
abb3582
Remove resourceLocation param and used primary enforcedLocation
lsnoddy Sep 26, 2024
8dc3764
Remove webappLocation outputs and use variable values instead
lsnoddy Sep 26, 2024
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
Prev Previous commit
Next Next commit
Update locations due to capacity limitation
  • Loading branch information
lsnoddy committed Sep 23, 2024
commit 523cfc4e099b70ba720bcde3a48669c6b72d349a
Original file line number Diff line number Diff line change
@@ -21,7 +21,10 @@ param serviceShort string = 'ntmpwaf'
param namePrefix string = '#_namePrefix_#'

#disable-next-line no-hardcoded-location // Due to quotas and capacity challenges, this region must be used in the AVM testing subscription
var enforcedLocation = 'ukwest'
var enforcedLocation01 = 'ukwest'

#disable-next-line no-hardcoded-location // Due to quotas and capacity challenges, this region must be used in the AVM testing subscription
var enforcedLocation02 = 'westus3'

// ============ //
// Dependencies //
@@ -31,21 +34,21 @@ var enforcedLocation = 'ukwest'
// =================
resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = {
name: resourceGroupName
location: enforcedLocation
location: enforcedLocation01
}

module nestedDependencies 'dependencies.bicep' = {
scope: resourceGroup
name: '${uniqueString(deployment().name, resourceLocation)}-nestedDependencies'
params: {
managedIdentityName: 'dep-${namePrefix}-msi-${serviceShort}'
location: enforcedLocation
location: enforcedLocation01
serverFarmName01: 'dep-${namePrefix}-sf-${serviceShort}01'
serverFarmName02: 'dep-${namePrefix}-sf-${serviceShort}02'
webApp01Name: 'dep-${namePrefix}-wa-${serviceShort}01'
webApp02Name: 'dep-${namePrefix}-wa-${serviceShort}02'
location01: 'eastus'
location02: 'westus'
location01: enforcedLocation01
location02: enforcedLocation02
}
}

@@ -59,7 +62,7 @@ module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/t
logAnalyticsWorkspaceName: 'dep-${namePrefix}-law-${serviceShort}'
eventHubNamespaceEventHubName: 'dep-${namePrefix}-evh-${serviceShort}'
eventHubNamespaceName: 'dep-${namePrefix}-evhns-${serviceShort}'
location: enforcedLocation
location: enforcedLocation01
}
}