Skip to content

Commit

Permalink
fix: updating location for capacity constraints (#724)
Browse files Browse the repository at this point in the history
## Description

Following PR #700. Capacity in WestEurope is running low for compute.
Qouta limits have been imposed on non priority subscriptions ultimately
causing the deployment test to fail. Deployment Test has now been
changed to North Europe. And the subscription Quota should be checked
before merging.

| Pipeline | 
| -------- | 
|
[![avm.res.web.serverfarm](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.web.serverfarm.yml/badge.svg?branch=cs/avm/serverfarms)](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.web.serverfarm.yml)
|
  • Loading branch information
ChrisSidebotham authored Dec 13, 2023
1 parent b07b850 commit 7efd10a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions avm/res/web/serverfarm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module serverfarm 'br/public:avm/res/web/serverfarm:<version>' = {
tier: 'Premium'
}
// Non-required parameters
location: '<location>'
location: 'eastus'
}
}
```
Expand Down Expand Up @@ -86,7 +86,7 @@ module serverfarm 'br/public:avm/res/web/serverfarm:<version>' = {
},
// Non-required parameters
"location": {
"value": "<location>"
"value": "eastus"
}
}
}
Expand Down Expand Up @@ -133,7 +133,7 @@ module serverfarm 'br/public:avm/res/web/serverfarm:<version>' = {
}
]
kind: 'App'
location: '<location>'
location: 'eastus'
lock: {
kind: 'CanNotDelete'
name: 'lock'
Expand Down Expand Up @@ -212,7 +212,7 @@ module serverfarm 'br/public:avm/res/web/serverfarm:<version>' = {
"value": "App"
},
"location": {
"value": "<location>"
"value": "eastus"
},
"lock": {
"value": {
Expand Down Expand Up @@ -297,7 +297,7 @@ module serverfarm 'br/public:avm/res/web/serverfarm:<version>' = {
}
]
kind: 'App'
location: '<location>'
location: 'eastus'
lock: {
kind: 'CanNotDelete'
name: 'lock'
Expand Down Expand Up @@ -358,7 +358,7 @@ module serverfarm 'br/public:avm/res/web/serverfarm:<version>' = {
"value": "App"
},
"location": {
"value": "<location>"
"value": "eastus"
},
"lock": {
"value": {
Expand Down
4 changes: 2 additions & 2 deletions avm/res/web/serverfarm/tests/e2e/defaults/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ param namePrefix string = '#_namePrefix_#'
// =================
resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = {
name: resourceGroupName
location: location
location: 'eastus'
}

// ============== //
Expand All @@ -41,7 +41,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
name: '${uniqueString(deployment().name, location)}-test-${serviceShort}-${iteration}'
params: {
name: '${namePrefix}${serviceShort}001'
location: location
location: 'eastus'
sku: {
name: 'P1v3'
tier: 'Premium'
Expand Down
8 changes: 4 additions & 4 deletions avm/res/web/serverfarm/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ param namePrefix string = '#_namePrefix_#'
// =================
resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = {
name: resourceGroupName
location: location
location: 'eastus'
}

module nestedDependencies 'dependencies.bicep' = {
scope: resourceGroup
name: '${uniqueString(deployment().name, location)}-nestedDependencies'
params: {
managedIdentityName: 'dep-${namePrefix}-msi-${serviceShort}'
location: location
location: 'eastus'
}
}

Expand All @@ -48,7 +48,7 @@ module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/t
logAnalyticsWorkspaceName: 'dep-${namePrefix}-law-${serviceShort}'
eventHubNamespaceEventHubName: 'dep-${namePrefix}-evh-${serviceShort}'
eventHubNamespaceName: 'dep-${namePrefix}-evhns-${serviceShort}'
location: location
location: 'eastus'
}
}

Expand All @@ -62,7 +62,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
name: '${uniqueString(deployment().name, location)}-test-${serviceShort}-${iteration}'
params: {
name: '${namePrefix}${serviceShort}001'
location: location
location: 'eastus'
sku: {
name: 'P1v3'
tier: 'Premium'
Expand Down
6 changes: 3 additions & 3 deletions avm/res/web/serverfarm/tests/e2e/waf-aligned/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ param namePrefix string = '#_namePrefix_#'
// =================
resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = {
name: resourceGroupName
location: location
location: 'eastus'
}

module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/templates/diagnostic.dependencies.bicep' = {
Expand All @@ -39,7 +39,7 @@ module diagnosticDependencies '../../../../../../utilities/e2e-template-assets/t
logAnalyticsWorkspaceName: 'dep-${namePrefix}-law-${serviceShort}'
eventHubNamespaceEventHubName: 'dep-${namePrefix}-evh-${serviceShort}'
eventHubNamespaceName: 'dep-${namePrefix}-evhns-${serviceShort}'
location: location
location: 'eastus'
}
}

Expand All @@ -53,7 +53,7 @@ module testDeployment '../../../main.bicep' = [for iteration in [ 'init', 'idem'
name: '${uniqueString(deployment().name, location)}-test-${serviceShort}-${iteration}'
params: {
name: '${namePrefix}${serviceShort}001'
location: location
location: 'eastus'
sku: {
name: 'P1v3'
tier: 'Premium'
Expand Down

0 comments on commit 7efd10a

Please sign in to comment.